What problem does it solve?
This Skill detects when a user has multiple gh-authenticated GitHub accounts and automates installing account-locked aliases so CLI operations never run under the wrong identity.
Core Features & Use Cases
- Automatic detection and prompting: Runs gh auth status, lists discovered accounts, and asks the user to label personal versus work accounts.
- Environment configuration: Adds PowerShell profile functions, creates CMD wrapper scripts in a user bin directory, updates the user PATH, and loads aliases into the current session.
- Verification and guidance: Verifies the setup by querying the GitHub API for each alias and instructs users and agents to use ghp/ghw for personal and work repositories respectively.
- Use Case: A developer juggling personal and employer accounts can run the skill to install ghp and ghw aliases and avoid accidental pushes or repo operations under the wrong account.
Quick Start
Run the skill to detect your gh accounts, confirm which is personal versus work, and install ghp and ghw aliases into your PowerShell profile and PATH.