us-urvin

Claude Gh Accounts — Git skill for Claude Code

Git community

Use multiple GitHub accounts with Claude Code - the right account is picked automatically per folder.

How to install Claude Gh Accounts

This entry records only its repository, not the path inside it, so there is no exact command to give. Open us-urvin/claude-gh-accounts and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Gh Accounts does

Use multiple GitHub accounts with Claude Code - the right account is picked automatically per folder. One-line installer for macOS, Linux and Windows.

Alternatives in Git

  • Claude Relay Service — GitHub Repo stars Self-built Claude code mirror service supporting multi-account switching Relay service 9.9k ★
  • 40+ Claude Code Tips — Tips for getting the most out of Claude Code, including a custom status line script, cutting the system prompt 5.8k ★
  • Claude Code Statusline — by rz1989s - Enhanced 4-line statusline for Claude Code with themes, cost tracking, and MCP server monitoring 398 ★

README

claude-gh-accounts

Use several GitHub accounts with Claude Code. The right one is picked automatically for each folder.

Installs Latest release CI License: MIT macOS | Linux | Windows GitHub stars

Install  ·  How it works  ·  FAQ  ·  Uninstall


🤔 The problem

You have a **work** GitHub account and a **personal** one, and maybe a few for clients. Your computer only remembers one at a time, so sooner or later:

  • 😬 your personal project gets a commit with your work email,
  • 🙈 a push to a client repo fails because you're logged in as someone else,
  • 🤖 Claude Code opens a pull request from the wrong account.

✨ The fix

**claude-gh-accounts** gives every GitHub account **its own folder**. Work inside a folder