github-multi-account

Configure personal and work GitHub aliases using gh auth status.

1|Updated Apr 17, 2026
One-click install
npx skills add https://github.com/sudhakrms/CalendarControl --skill github-multi-account-sudhakrms
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-multi-account
Source: https://github.com/sudhakrms/CalendarControl/tree/main/coffee/.copilot/skills/github-multi-account
Command: npx skills add https://github.com/sudhakrms/CalendarControl --skill github-multi-account-sudhakrms

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Detects and resolves multi-account GitHub access by automatically configuring personal and work aliases for seamless switching.

Core Features & Use Cases

  • Detects multiple GitHub accounts using gh auth status.
  • Generates and applies aliases and wrappers to switch between personal and work identities.
  • Keeps repository operations aligned with the correct account by default.

Quick Start

Run the setup to configure personal/work aliases and then use ghp for personal and ghw for work repositories.

Frequently Asked Questions about github-multi-account

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I switch between personal and work GitHub accounts on Windows?

To switch GitHub accounts on Windows, this Skill detects your active identities using gh auth status and configures PowerShell and CMD wrappers so commands target the correct account. It maps your personal and work identities to ensure repository operations align automatically.

What is the best way to manage multiple GitHub accounts in PowerShell?

Managing multiple GitHub accounts in PowerShell is handled by generating profile updates and wrapper aliases. The Skill creates distinct commands for personal and work contexts, allowing you to switch identities seamlessly without manually re-authenticating for each repository operation.

Does this Skill require the GitHub CLI to detect my accounts?

Yes, detecting multiple GitHub accounts requires the GitHub CLI. The Skill runs gh auth status to identify your currently authenticated personal and work identities before prompting you to map them to the generated PowerShell and CMD wrappers.

How do I configure GitHub aliases for personal and work repositories?

Configuring GitHub aliases for personal and work repositories involves running the Skill setup. It prompts you to map your identities, then creates PowerShell and CMD wrappers plus profile updates, enabling you to use specific commands like ghp and ghw for targeted repository operations.

Why does my gh command target the wrong GitHub identity?

Your gh command targets the wrong GitHub identity because multiple accounts are authenticated without context switching. This Skill resolves multi-account access by applying personal and work aliases, ensuring default repository operations align with the correct mapped account.