github-multi-account

Detect GitHub accounts via gh auth status and configure PowerShell aliases.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Detect and set up account-locked gh aliases for multi-account GitHub. The AI reads this skill, detects accounts, asks the user which is personal/work, and runs the setup automatically.

Core Features & Use Cases

  • Detects multiple GitHub accounts with gh auth status.
  • Prompts the user to designate personal vs work accounts and configures aliases and wrappers.
  • Applies changes to the PowerShell profile and PATH to ensure seamless switching.

Quick Start

Run the skill to identify your GitHub accounts, confirm which is personal and which is work, and apply the alias setup automatically.

Frequently Asked Questions about github-multi-account

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

FAQPage Schema
How do I set up GitHub multi-account aliases for personal and work profiles?

Setting up GitHub multi-account aliases involves detecting your authenticated accounts via gh auth status and confirming which are personal or work. The process generates PowerShell profile updates and wrapper scripts to enable seamless profile switching.

Can I automatically switch between multiple GitHub accounts in PowerShell?

Yes, you can automatically switch between multiple GitHub accounts in PowerShell. The skill applies profile updates and PATH adjustments to create wrapper scripts, allowing you to switch between personal and work environments with simple commands.

Do I need gh auth status to configure multiple GitHub accounts?

Yes, you need gh auth status to configure multiple GitHub accounts. The skill requires detecting your authenticated accounts through the GitHub CLI before prompting you to assign personal or work labels and applying the alias configuration.

What is the best way to separate work and personal GitHub accounts on Windows?

The best way to separate work and personal GitHub accounts on Windows is to use account-locked aliases. This skill automates the configuration by updating your PowerShell profile and generating wrapper scripts for clear environment separation.

How does the GitHub multi-account alias setup handle PowerShell profile updates?

The GitHub multi-account alias setup handles PowerShell profile updates by automatically generating and applying the necessary modifications. It adjusts your PATH and creates wrapper scripts to ensure account switching commands function correctly across environments.

Why are my GitHub aliases not working after switching accounts?

If your GitHub aliases are not working after switching accounts, it may be due to incomplete PowerShell profile updates or PATH adjustments. The setup requires proper configuration of wrapper scripts to ensure account-locked environments function correctly.