poisons77

Cc Account — Development skill for Claude Code

Development community

Switch Claude Code accounts in one command and keep working when one hits its usage limit.

How to install Cc Account

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

What Cc Account does

Switch Claude Code accounts in one command and keep working when one hits its usage limit. Zero dependencies.

Alternatives in Development

  • Claude Swap — Switch between multiple Claude Code accounts, with automatic rate-limit rotation, usage dashboard, and paralle 2k ★
  • Claude Account — Switch between isolated Claude Code accounts on Linux and macOS without logging in again 73 ★
  • Brow — Claude Code usage and rate limits in the MacBook notch 50 ★

README

cc-account

Switch the active Claude Code account in one command, and keep working when one hits its usage limit. No browser, no magic link, no re-authorization - until a login expires, and then one command signs that account in again. Zero dependencies; install from npm or as a Claude Code plugin.

![cc-account use work: the outgoing account is saved, then the terminal reports it is now on work, me@company.com, on a max plan](docs/images/switch.svg)

Running sessions pick up the new account on their next API call, so nothing needs restarting.

Each account keeps its own snapshot, and `list` says how long each login still refreshes for:

![cc-account list: personal, active, expires in 2 days; work expires in 18 days; a warning offers to renew personal now, numbered 1 renew, 2 not now, 0 leave the rest](docs/images/list.svg)

Why it takes a tool

Signing in mints an OAuth token. Every step of that flow - the web login, the emailed link, the authorization window - exists only to produce it. Save the token once per account and every later switch is a copy.

Claude Code splits one account across two places, and moving only the first leaves a stale identity behind:

Location
Tokens macOS Keychain service Claude Code-credentials, elsewhere ~/.claude/.credentials.json
Identity ~/.claude.json → oauthAccount

`CLAUDE_CONFIG_DIR` relocates both, and cc-account follows it.

Install

Requires Node 22+ and the `claude` CLI on `PATH`.

npm install -g cc-account

Or as a Claude Code plugin, which needs no `PATH` entry and adds a slash command:

/plugin marketplace add poisons77/cc-account
/plugin install cc-account@cc-account

Restart the session; the command registers at startup:

/cc-account              list snapshots
/cc-account rotate       switch to the best next account
/cc-account personal     switch to that account
/cc-account current      re-sync identity after a manual /login
/cc-account add work