Skip to content
Kitbay
Submit

gh-auth-isolation

MITUpdated on Nov 11, 20265,616GitHub stars

A Squad template stored in gh-aw's .squad folder for agents working on machines where a developer has both a GitHub Enterprise Managed User account and a personal GitHub account.

What the skill teaches

A Squad template stored in gh-aw's .squad folder for agents working on machines where a developer has both a GitHub Enterprise Managed User account and a personal GitHub account. It shows how to check which account the gh CLI is using, pull the token for a specific account, apply it to a single command rather than switching globally, and avoid mixing credentials between work and personal repositories. It points out that spawned agents inherit the shell's login. Its source line cites use across many sessions with both account types.

Capabilities

  • Check which GitHub account the gh CLI is using
  • Use a specific account's token for one command
  • Keep work and personal GitHub credentials apart