github-multi-account

Detect multiple GitHub accounts and configure per-account aliases.

3|5|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/ronniegeraghty/hyoka --skill github-multi-account-ronniegeraghty
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-multi-account
Source: https://github.com/ronniegeraghty/hyoka/tree/main/.agents/skills/github-multi-account
Command: npx skills add https://github.com/ronniegeraghty/hyoka --skill github-multi-account-ronniegeraghty

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates management of multiple GitHub accounts by detecting accounts and preparing per-account aliases to avoid manual switching.

Core Features & Use Cases

  • Detect multiple GitHub accounts via gh auth status
  • Prompt the user to label personal vs work accounts
  • Automatically configure PowerShell profile and CMD wrappers to switch identities
  • Verify changes in the current session and provide usage guidance

Quick Start

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

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 computer?

To manage multiple GitHub accounts, this skill detects your authenticated accounts via gh auth status and automatically configures per-account aliases to switch identities without manual re-authentication.

What is the best way to switch between personal and work GitHub profiles automatically?

The best way to switch GitHub profiles is using aliases. This skill prompts you to label personal and work accounts, then creates persistent aliases in your PowerShell profile and CMD wrappers for automatic switching.

How do I set up GitHub CLI aliases for different accounts in PowerShell?

You set up GitHub CLI aliases by running this skill after authenticating multiple accounts. It updates your PowerShell profile with cross-session aliases and validates their availability directly in your current terminal session.

Does this multi-account GitHub setup work with CMD or only PowerShell?

This multi-account GitHub setup works with both. It automatically configures PowerShell profiles and creates CMD wrappers to ensure persistent aliases function correctly across both command-line environments.

Why do I need to label my GitHub accounts for alias configuration?

You need to label GitHub accounts so the automation can map the correct aliases to each identity. The skill detects two or more accounts and requires you to designate which is personal and which is work before applying setup.

Can I validate that my new GitHub account aliases are working in the current session?

Yes, you can validate GitHub account aliases in your current session. After applying the automatic setup and updating your profiles, the skill verifies that the new aliases are available and active immediately.