multi-gh
Installation
SKILL.md
GitHub Multi-Account SSH
Use this skill when the user works with multiple GitHub identities and any of these happen:
gh repo createtargets the wrong ownergit pushfails withPermission denied (publickey)- the repository remote uses
github.combut the machine is configured with SSH host aliases likedinghao.github.com ghis authenticated as one account whilegitor SSH is effectively using another
Goal
Make GitHub ownership, CLI auth, git author identity, and SSH transport line up cleanly.