SkillAgentSearch skills...

accounts

Manage multiple Claude Code accounts: add, list, check, launch, and install shell aliases for 10+ isolated CLAUDE_CONFIG_DIR profiles.

Install / Use

npx skills add notque/vexjoy-agent --skill accounts

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

90/100

Supported Platforms

Claude Code

Tags

Our assessment of accounts

accounts scores 90/100 on our quality scale, 1172nd of 4,619 Development & Engineering skills we index (top 26%).

Its SKILL.md is 5.9 KB long, well organised into 15 sections with 9 code examples: a thorough specification that gives an agent plenty to work with.

It has 425 GitHub stars, a meaningful sign that others use it.

Substance
29/30
Structure
20/20
Description
15/15
Adoption
11/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated yesterday, so accounts is actively maintained.
  • It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

accounts compared with similar skills

All 4 of these similar skills score higher than accounts; compare them before choosing.

SkillScoreStarsUpdatedFormat
accounts (this skill)by notque904251d agoSKILL.md
ai-job-searchby MadsLorentzen10044.9k1d agoCLAUDE.md
claude-howtoby luongnv8910041.7k4d agoCLAUDE.md
algorithmic-artby anthropics100177.9k12d agoSKILL.md
pptxby anthropics100177.9k12d agoSKILL.md

Frequently asked questions

How do I install accounts?
Run npx skills add notque/vexjoy-agent --skill accounts. The install tabs above show the steps for each supported agent.
Which AI agents does accounts work with?
It is written for Claude Code, as a SKILL.md file. Other agents that read the same format can often use it too.
Is accounts safe to use?
It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is accounts still maintained?
The repository was last updated yesterday, so accounts is actively maintained.

name: accounts description: "Manage multiple Claude Code accounts: add, list, check, launch, and install shell aliases for 10+ isolated CLAUDE_CONFIG_DIR profiles." version: 1.0.0 user-invocable: true argument-hint: "[add <name>|list|check|launch <name>|link [<name>]|install-aliases|remove <name>]" allowed-tools:

  • Read
  • Bash
  • Edit routing: triggers:
    • "multiple accounts"
    • "multiple claude accounts"
    • "CLAUDE_CONFIG_DIR"
    • "claude account"
    • "switch accounts"
    • "account alias"
    • "claude login"
    • "c1 c2 aliases"
    • "claude max account"
    • "manage accounts"
    • "add claude account" pairs_with:
    • deploy category: meta not_for: "API key rotation (use secrets management), Anthropic billing (use the web console)"

Accounts Skill

Manages multiple Claude Code accounts using isolated CLAUDE_CONFIG_DIR directories. One directory per account keeps auth tokens, session history, and settings separate. Shell aliases let the user pick an account before Claude Code starts — no /logout//login needed.

Script: scripts/manage-accounts.py. Registry: ~/.claude-accounts/accounts.json.

Quick reference

| Task | Command | |------|---------| | Add an account | python3 scripts/manage-accounts.py add <name> | | Add with a named alias | python3 scripts/manage-accounts.py add work --alias cwork | | List all accounts | python3 scripts/manage-accounts.py list | | Validate all accounts | python3 scripts/manage-accounts.py check | | Launch an account | python3 scripts/manage-accounts.py launch <name> | | Share skills, agents, commands from ~/.claude | python3 scripts/manage-accounts.py link [<name>] | | Install/update aliases | python3 scripts/manage-accounts.py install-aliases | | Preview alias changes | python3 scripts/manage-accounts.py install-aliases --dry-run | | Remove an account | python3 scripts/manage-accounts.py remove <name> |

Setup flow for 10+ accounts

1. Add accounts

python3 scripts/manage-accounts.py add work --alias cwork
python3 scripts/manage-accounts.py add personal --alias cpersonal
python3 scripts/manage-accounts.py add max1 --alias cm1
# … repeat for as many accounts as needed

Use named aliases (cwork, cpersonal) rather than sequential ones (c1, c2) — named aliases are self-documenting and you won't need list to remember which is which.

Each add creates ~/.claude-accounts/<name>/, assigns the alias, installs aliases into your shell config, and links the account's skills/, agents/, and commands/ to ~/.claude.

How the toolkit reaches every account

./install.sh installs once into ~/.claude. Every account dir holds symlinks to ~/.claude/skills, ~/.claude/agents, and ~/.claude/commands, so each skill exists once and every account sees the same set. Run link (no name means all accounts) to repair an account made before this, or one where Claude Code created its own skills/ dir. link moves non-conflicting content, such as skills/synced/<account-id>/, into ~/.claude first. It stops and reports on a real conflict.

2. Log in to each account

After add, the script prints a login command. Run it once per account:

CLAUDE_CONFIG_DIR=~/.claude-accounts/work claude
# inside Claude Code: /login
# exit, then repeat for each account

3. Verify

python3 scripts/manage-accounts.py list
python3 scripts/manage-accounts.py check

list shows every account including the default ~/.claude one. check validates that each registered account has credentials and shares the toolkit dirs.

4. Use

Reload your shell once, then use aliases from any terminal:

cwork            # opens Claude Code with the 'work' account
cpersonal        # opens Claude Code with the 'personal' account
cwork --resume   # resumes the last session for the 'work' account

Shell alias format

Fish (~/.config/fish/config.fish):

function cwork
    set -lx CLAUDE_CONFIG_DIR "~/.claude-accounts/work"
    claude --dangerously-skip-permissions --system-prompt="." $argv
end

Bash/Zsh (~/.bashrc / ~/.zshrc):

alias cwork='CLAUDE_CONFIG_DIR="~/.claude-accounts/work" claude --dangerously-skip-permissions --system-prompt="."'

Every alias and launch pass DEFAULT_CLAUDE_ARGS from scripts/manage-accounts.py before your own arguments. Edit that tuple and re-run install-aliases to change them.

The managed block is idempotent — re-run install-aliases any time to sync after adding accounts. Use --dry-run to preview changes before writing:

python3 scripts/manage-accounts.py install-aliases --dry-run --shell fish

Manual alternative (2 accounts only)

If you have exactly two accounts and prefer not to use the script:

# ~/.config/fish/config.fish
function cwork
    set -lx CLAUDE_CONFIG_DIR "$HOME/.claude-accounts/work"
    claude $argv
end
function cpersonal
    set -lx CLAUDE_CONFIG_DIR "$HOME/.claude-accounts/personal"
    claude $argv
end

Create dirs and log in manually:

mkdir -p ~/.claude-accounts/work ~/.claude-accounts/personal
CLAUDE_CONFIG_DIR=~/.claude-accounts/work claude   # /login
CLAUDE_CONFIG_DIR=~/.claude-accounts/personal claude  # /login

Notes

  • Accounts share the same Claude Code binary and one vexjoy-agent install in ~/.claude.
  • Usage limits are per-subscription — no automatic failover between accounts.
  • Session histories are isolated; --resume picks up the right history per alias.
  • remove preserves the config directory so credentials are not accidentally deleted. To fully purge, delete the directory manually after remove.
  • Shell config mutation note: install-aliases writes a managed block between header/footer markers. Do not delete the markers manually; doing so causes the next run to append a second block instead of replacing. Use --dry-run to inspect before writing.
  • The default ~/.claude account (no alias, opened by bare claude) is always shown in list but not managed by this script.

Related Skills

View on GitHub
GitHub Stars425
CategoryDevelopment
Updated1d ago
Forks48

Languages

Python

Trust signals

100/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

No cautions