github-multi-account

Detect GitHub accounts via gh auth status and generate shell wrappers for switching.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Detect and set up GitHub multi-account aliases to simplify switching between personal and work contexts across repositories, eliminating manual account juggling and credential leakage risks.

Core Features & Use Cases

  • Detects multiple GitHub accounts using gh auth status and prompts the user to map personal vs work identities.
  • Generates shell profiles and wrappers (PowerShell and CMD) to enable one-command account switching.
  • Works across common shells and environments, updating PATH and providing easy reuse for future sessions.

Quick Start

Run gh auth status to detect accounts, then follow the prompts to designate personal and work identities and finalize the alias setup.

Frequently Asked Questions about github-multi-account

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

FAQPage Schema
How do I manage multiple GitHub accounts on the same machine?

To manage multiple GitHub accounts, this Skill detects existing identities via gh auth status and generates shell profile wrappers, enabling one-command switching between personal and work contexts. It eliminates manual credential juggling by mapping and separating your accounts interactively.

Does GitHub CLI support switching between personal and work profiles?

GitHub CLI supports multiple profiles when configured with shell wrappers. This Skill uses gh auth status to detect accounts, prompts you to designate personal and work identities, and updates your PATH to enable quick profile switching across repositories.

How do I set up GitHub account aliases in PowerShell?

To set up GitHub account aliases in PowerShell, run gh auth status to detect your accounts, then follow the interactive prompts to map your identities. The Skill generates PowerShell profile edits and shell wrappers for seamless one-command account switching.

What is the best way to separate GitHub credentials for different repositories?

The best way to separate GitHub credentials is by using shell profile wrappers that switch accounts with a single command. This approach prevents credential leakage risks by interactively mapping your personal and work identities and applying them automatically across repositories.

Can I use this GitHub multi-account setup with both PowerShell and CMD?

You can use this GitHub multi-account setup with both PowerShell and CMD. The Skill generates shell wrappers and profile edits for both environments, updating your PATH to ensure one-command account switching works consistently across common shells.