What problem does it solve?
Many developers operate with an Enterprise Managed User (EMU) work account while also needing personal GitHub access for open-source contributions. AI agents 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.
Core Features & Use Cases
- Detect active GitHub identity in the shell and report mismatches to prevent accidental cross-account actions.
- Safely extract and switch to a personal account's credentials for operations on personal forks, repos, and PRs.
- Isolate configurations by using separate gh config directories and provide shell aliases for quick switching.
- Use cases include automated PRs from forks, pushing to personal repos from an EMU session, and maintaining isolation across parallel agents.
Quick Start
Login to your personal GitHub account and switch gh to a dedicated config directory before performing personal-repo operations.