All shelves / Mods / Workflow
gh-account
By VedantAndhale
gh-account is a Claude Code workflow mod by VedantAndhale.
Runs each git or gh step as the logged-in GitHub account that owns that repository or is in its organization, and counts them on the status line.
Draws
Install
The marketplace name is claude-pro-kit.
/plugin marketplace add VedantAndhale/claude-pro-kit /plugin install gh-account@claude-pro-kit
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 0.1.0
- License
- MIT
- Repo stars
- 10
- Last change
- 2026-10-08
What it can reach
- Draws in the session
- Reaches the network or an outside service
- Sees tool calls
- Calls another program on this machine
Before a Bash or PowerShell command runs, each git push, pull, fetch, clone, ls-remote, and gh step is matched to the repository owner and to a logged-in account. When that account is not the active one, that step alone runs with its token, and git also asks gh for the credential. The token never appears in the command or its output, and the active account is not switched. The owner comes from a URL, an -R owner/repo flag, a gh api path, or the folder's remotes. The account is the login that matches the owner, or the one account that belongs to that organization. Accounts come from gh auth status. Organizations come from gh api user/orgs, which talks to GitHub. Nothing is guessed: no owner, more than one match, or anything unclear leaves the command as typed. gh auth, gh commands that reach no repository, a command that already sets GH_TOKEN, git over ssh, hosts other than github.com, and subshells are left alone. /gh-account shows which account each owner uses, and forget clears it. Answers are toasts. The status line counts the commands sent as each account.
One plugin from VedantAndhale/claude-pro-kit. The root README says prompt-polish is the only mod in that kit that makes a model call, and gh-account makes none. The plugin folder has no README. These lines are the repository README. ccswap draws your ccswap accounts and their 5-hour and 7-day usage, and switches from a button on the band. Nothing else on the shelf runs a git or gh step as the GitHub account that can see that repository.
Demo

What it hooks into
session.startWhen a session startstool.callAround a tool call, where it can hold onecommand.runWhen you run its slash command/gh-account
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Slash commands 1
/gh-accountgh-account: /gh-account shows which account each GitHub owner uses · forget clears it
Files
The author's source, 3 files. They load when you open them.
Facts
- Author
- VedantAndhale
- Category
- Workflow
- Marketplace
- claude-pro-kit
- Folder
- plugins/gh-account
- Version
- 0.1.0
- License
- MIT
- Repo stars
- 10
- Last change
- 2026-10-08
- Language
- TypeScript
- Files
- 5