本文へスキップ
Kitbay
掲載依頼
スキル公式

gh-auth-isolation

MIT2026年11月11日 更新5,616GitHubスター

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.

スキルの内容

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.

できること

  • 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