github-multi-account

Configure GitHub CLI authentication aliases for multiple user accounts.

1|Updated Dec 23, 2025
One-click install
npx skills add https://github.com/jonnymuir/Umbraco.Prism --skill github-multi-account-jonnymuir
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-multi-account
Source: https://github.com/jonnymuir/Umbraco.Prism/tree/main/.copilot/skills/github-multi-account
Command: npx skills add https://github.com/jonnymuir/Umbraco.Prism --skill github-multi-account-jonnymuir

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill resolves the friction of switching between personal and work GitHub accounts by automating the configuration of aliases and environment-specific authentication.

Core Features & Use Cases

  • Automated Alias Setup: Creates PowerShell functions and CMD wrappers to switch GitHub identities instantly.
  • Environment Binding: Ensures that specific repositories are automatically bound to the correct account, preventing accidental commits under the wrong identity.
  • Use Case: A developer working on open-source projects and corporate repositories can use ghp and ghw aliases to switch contexts without manually running authentication commands.

Quick Start

Ask the AI to detect your GitHub accounts and configure the multi-account aliases for your environment.

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 a single machine?

Manage multiple GitHub accounts by automating GitHub CLI authentication aliases to switch contexts. This skill configures PowerShell functions and CMD wrappers to instantly switch between personal and professional identities on a single machine.

Can I switch GitHub accounts from the command line without manual authentication?

Yes, you can switch GitHub accounts from the command line without manual authentication steps. Custom command-line wrappers like ghp and ghw enable instant account switching without running full authentication commands each time.

Does this multi-account GitHub tool work with Windows PowerShell?

Yes, this multi-account GitHub tool works with Windows PowerShell by updating your PowerShell profile. It implements PowerShell profile updates and CMD wrappers to establish the necessary environment bindings for account switching.

How do I prevent accidental commits under the wrong GitHub identity?

Prevent accidental commits under the wrong GitHub identity by using environment binding. This feature ensures specific repositories are automatically bound to the correct account, eliminating the risk of cross-context commits.

What is the best way to separate personal and work GitHub repositories?

The best way to separate personal and work GitHub repositories is through automated alias setup. By creating distinct aliases for each identity, the system enforces strict boundaries between open-source projects and corporate repositories.