Skip to content
Kitbay
Submit
Skill

github-multi-account

MITUpdated on Nov 11, 20265,616GitHub stars

A skill template from the Squad agent tooling bundled in the gh-aw repository, for people with more than one GitHub account, such as a personal one and an Enterprise Managed Users work account.

What the skill teaches

A skill template from the Squad agent tooling bundled in the gh-aw repository, for people with more than one GitHub account, such as a personal one and an Enterprise Managed Users work account. The agent checks gh auth status, asks which account is which, then writes PowerShell functions, aliases and CMD wrappers that switch the gh CLI to the right account before each command, and from then on uses those aliases instead of plain gh. This copy hard-codes one maintainer's account names for its own repository and is PowerShell-only. Its header names tamirdresher/squad-skills as the source.

Capabilities

  • Detect several GitHub CLI accounts
  • Set up per-account gh aliases in PowerShell