What problem does it solve?
The skill helps automate safe, multi-account GitHub operations by avoiding cross-account credential leakage and ensuring the correct identity is used for each action.
Core Features & Use Cases
- Detect Active Identity using gh auth status to ensure you know which account is active and where tokens come from.
- Extract a Specific Account's Token with gh auth token --user to perform actions under a different identity without changing the default.
- Push to Personal Repos from EMU Shell by using an inline token in the remote URL for one-off operations, then revert to EMU context.
- Create PRs on Personal Forks with gh pr create and environment tokens as needed, enabling cross-account collaboration.
- Config Directory Isolation (Advanced) with GH_CONFIG_DIR to fully isolate credentials per account.
- Shell Aliases for quick switching (PowerShell and Bash/Zsh) to switch contexts quickly in scripts.
Quick Start
Verify the active identity with gh auth status, switch to the target account using a dedicated GH_CONFIG_DIR, and perform a test operation such as pushing to a personal repository.