gh-auth-isolation Skill
Safely manage multiple GitHub identities (EMU + personal) in agent workflows Published by microsoft in aitour26-BRK445-building-enterprise-ready-ai-agents-with-microsoft-foundry.
What is gh-auth-isolation Skill?
Safely manage multiple GitHub identities (EMU + personal) in agent workflows 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
- Developers using aitour26-BRK445-building-enterprise-ready-ai-agents-with-microsoft-foundry
Technical details
- Install or run with Copy skill directory
When to use gh-auth-isolation Skill
- Use it for developers using aitour26-brk445-building-enterprise-ready-ai-agents-with-microsoft-foundry.
Built with
Editorial notes
Source
- Creator: microsoft
- Repository: microsoft/aitour26-BRK445-building-enterprise-ready-ai-agents-with-microsoft-foundry
- Skill file: .copilot/skills/gh-auth-isolation/SKILL.md
What it does
Safely manage multiple GitHub identities (EMU + personal) in agent workflows
Skill instructions
Context Many developers use GitHub through an Enterprise Managed User (EMU) account at work while maintaining a personal GitHub account for open-source contributions. AI agents spawned by Squad inherit the shell's default gh authentication — which is usually the EMU account. This causes failures when agents try to push to personal repos, create PRs on forks, or interact with resources outside the enterprise org. This skill teaches agents how to detect the active identity, switch contexts safely, and avoid mixing credentials across operations. Patterns Detect Current Identity Before any GitHub operation, check which account is active: bash gh auth status Look for: - Logged in to github.com as USERNAME — the active account - Token scopes: ... — what permissions are available - Multiple accounts will show separate entries Extract a Specific Account's Token When you need to operate as a specific user (not the default): bash Get the personal account token (by username) gh auth token --user
Explore related resources
Frequently asked questions
What is gh-auth-isolation?
gh-auth-isolation is a open-source AI agent skill with Copy skill directory. Safely manage multiple GitHub identities (EMU + personal) in agent workflows
Who is gh-auth-isolation best for?
gh-auth-isolation is best for reusing agent instructions, scripts, and references.
How do I install gh-auth-isolation?
Install or run gh-auth-isolation using Copy skill directory. Check gh-auth-isolation for the latest setup command.
Is gh-auth-isolation actively maintained?
gh-auth-isolation may need a closer maintenance check before production use.
Auto-fetched from GitHub.