github-multi-account

Detect multiple GitHub accounts and configure per-account gh aliases.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Detects multiple GitHub accounts and configures per-account gh aliases for seamless switching between personal and work contexts.

Core Features & Use Cases

  • Detects multiple GitHub accounts with gh auth status and prompts for personal vs work binding.
  • Generates and installs per-account gh aliases (gh-personal, gh-work) and profile wrappers.
  • Ensures consistent workflows across repos by routing commands through the correct alias.

Quick Start

Invoke this skill to detect GitHub accounts and configure personal/work aliases after you confirm which is personal and which is work.

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 from the command line?

To switch GitHub accounts, you need aliases that route commands to the correct authenticated profile. The skill detects your authenticated accounts and generates specific aliases like gh-personal and gh-work for seamless context switching.

Can I use gh CLI with multiple GitHub accounts at the same time?

Yes, you can use the gh CLI with multiple GitHub accounts by routing commands through per-account aliases. The skill detects authenticated profiles and installs wrappers to ensure commands run under the correct identity.

How to configure gh aliases for personal and work GitHub profiles?

Configuring gh aliases involves running detection via gh auth status and binding each account to a specific context. The skill prompts you to designate personal and work profiles, then installs the corresponding aliases and profile updates.

Does this multi-account GitHub setup work with PowerShell?

Yes, this multi-account GitHub setup works with PowerShell. The skill installs profile wrappers and aliases compatible with your shell environment to route repository operations to the correct authenticated GitHub account.

What's the best way to automate GitHub account switching for devops workflows?

Automating GitHub account switching is best achieved by generating dedicated aliases for each context. This skill detects your accounts and configures wrappers so repository operations route automatically without manual authentication switching.

Why do my GitHub commits show the wrong account when I have multiple profiles?

GitHub commits show the wrong account when multiple authenticated profiles lack dedicated routing. This skill resolves the issue by detecting your accounts and configuring per-account aliases to isolate personal and work contexts.