github-multi-account Skill
Detect and set up account-locked gh aliases for multi-account GitHub. The AI reads this skill, detects accounts, asks the user which is personal/work, and runs the setup automatically. Published by microsoft in aitour26-BRK445-building-enterprise-ready-ai-agents-with-microsoft-foundry.
What is github-multi-account Skill?
Detect and set up account-locked gh aliases for multi-account GitHub. The AI reads this skill, detects accounts, asks the user which is personal/work, and runs the setup automatically. Published by microsoft in aitour26-BRK445-building-enterprise-ready-ai-agents-with-microsoft-foundry. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Testing
- Testing use cases
Technical details
- Install or run with Copy skill directory
When to use github-multi-account Skill
- Use it for testing.
Built with
Editorial notes
Source
- Creator: microsoft
- Repository: microsoft/aitour26-BRK445-building-enterprise-ready-ai-agents-with-microsoft-foundry
- Skill file: .squad/templates/skills/github-multi-account/SKILL.md
What it does
Detect and set up account-locked gh aliases for multi-account GitHub. The AI reads this skill, detects accounts, asks the user which is personal/work, and runs the setup automatically.
Skill instructions
GitHub Multi-Account — AI-Driven Setup When to Activate When the user has multiple GitHub accounts (check with gh auth status). If you see 2+ accounts listed, this skill applies. What to Do (as the AI agent) Step 1: Detect accounts Run: gh auth status Look for multiple accounts. Note which usernames are listed. Step 2: Ask the user Ask: "I see you have multiple GitHub accounts: {list them}. Which one is your personal account and which is your work/EMU account?" Step 3: Run the setup automatically Once the user confirms, do ALL of this for them: powershell 1. Define the functions $personal = "THEIRPERSONALUSERNAME" $work = "THEIRWORKUSERNAME" 2. Add to PowerShell profile $profilePath = $PROFILE.CurrentUserAllHosts if (!(Test-Path $profilePath)) { New-Item -Path $profilePath -Force | Out-Null } $existing = Get-Content $profilePath -Raw -ErrorAction SilentlyContinue if ($existing -notmatch "gh-personal") { $block = @" === GitHub Multi-Account Aliases === function gh-personal { gh auth swi
Explore related resources
Frequently asked questions
What is github-multi-account?
github-multi-account is a open-source AI agent skill with Copy skill directory. Detect and set up account-locked gh aliases for multi-account GitHub. The AI reads this skill, detects accounts, asks the user which is personal/work, and runs the setup automatically.
Who is github-multi-account best for?
github-multi-account is best for reusing agent instructions, scripts, and references, testing workflows.
How do I install github-multi-account?
Install or run github-multi-account using Copy skill directory. Check github-multi-account for the latest setup command.
Is github-multi-account actively maintained?
github-multi-account may need a closer maintenance check before production use.
Auto-fetched from GitHub.