What problem does it solve?
This Skill prevents GitHub identity mix-ups when an agent works with both enterprise managed and personal accounts, avoiding failed pushes, broken pull requests, and accidental credential leakage.
Core Features & Use Cases
- Identity Detection: Checks which GitHub account is currently active before any authenticated action.
- Safe Token Selection: Retrieves a per-user token at runtime so the agent can act as the intended identity without switching global auth.
- Scoped GitHub Operations: Supports pushing to personal repositories, creating pull requests from forks, and cloning or managing repos under the correct account.
- Isolation Strategies: Uses temporary environment variables or separate GH_CONFIG_DIR values to keep EMU and personal workflows independent.
- Use Case: A developer with a work EMU account needs an agent to push to a personal repository and open a PR from a fork without disrupting the default enterprise login.
Quick Start
Ask the skill to verify your active GitHub account and then perform the requested repository action using the correct identity without persisting credentials.