By lee-ji-hoon
Claude Code multi-account manager - switch accounts, monitor usage, auto-refresh tokens
Pull account data from Telegram (pushed from another Mac). Triggered by "pull accounts", "pull", "sync accounts".
Push account data to Telegram (sync to another Mac). Triggered by "push accounts", "push", "sync to other Mac".
Save the currently logged-in account. Triggered by "add account", "save account", "register account".
Check OAuth token status. Triggered by "check token", "token status", "token check".
Export current account info (for transferring to another machine). Triggered by "export account", "export".
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
A Claude Code plugin for managing multiple accounts. Switch between accounts without logging out and monitor usage at a glance.
# Register marketplace (once)
claude plugin marketplace add https://github.com/lee-ji-hoon/claude-multi-account-manager.git
# Install plugin
claude plugin install account@lee-ji-hoon
# Restart Claude Code
After installation, your current account is automatically registered on session start, and terminal aliases (account, account-list, account-switch) are set up.
| Command | Description |
|---|---|
/account:list | List accounts + real-time usage |
/account:add [name] | Save current account |
/account:switch [id] | Switch account |
/account:remove [id] | Delete account |
/account:check | Check token status |
/account:set-plan [id] [plan] | Set Plan manually |
/account:export | Export account as JSON |
/account:import [json] | Import accounts from another machine |
/account:logs | View token refresh logs |
/account:repair | Diagnose & fix installation issues |
/account:report | Auto-create GitHub Issue with diagnostics |
/account:list
Claude Accounts
───────────────────────────────────────────────────────
[1] ● work @Team [Max5] - active
[email protected]
now ██░░░░░░░░░░ 24% | ⏱ 4h 27m
week ██████░░░░░░ 51% | ⏱ 87h 27m
token 🔑 6h 15m remaining
[2] personal [Pro]
[email protected]
week ███░░░░░░░░░ 30% | ⏱ 120h 10m
token 🔑 3h 42m remaining
───────────────────────────────────────────────────────
flowchart LR
subgraph Hooks
A[Session Start] --> B[Auto-register + Refresh all tokens]
C[Message Submit] --> D{Expires within 1h?}
D -->|Yes| E[Refresh token]
D -->|No| F[Skip]
end
subgraph Account Management
G["account:add"] --> H[Save to Keychain]
I["account:switch"] --> J[Swap token]
end
| Item | Location |
|---|---|
| Account index | ~/.claude/accounts/index.json |
| OAuth tokens | macOS Keychain + ~/.claude/accounts/credential_*.json |
| Profiles | ~/.claude/accounts/profile_*.json |
| Refresh logs | ~/.claude/accounts/logs/token-refresh.log |
After installation, you can use it directly from the terminal:
account # Help
account list # List accounts
account switch # Interactive switch
account-list # Shortcut alias
account-switch # Shortcut alias
Sync account data across multiple Macs via Telegram Bot.
# On Mac A
/account:push # Send to Telegram
# On Mac B
/account:pull # Receive from Telegram
Setup: Add bot_token and chat_id to ~/.claude/hooks/telegram-config.json.
/account:repair — Auto DiagnosticsAutomatically diagnoses and fixes installation issues, token errors, and duplicate accounts.
/account:report — Bug ReportIf the issue persists, run /account:report to collect diagnostics and auto-create a GitHub Issue.
# Token status
/account:check
# Refresh logs
/account:logs
# Log file directly
cat ~/.claude/accounts/logs/token-refresh.log
Report bugs or suggest features via Issues.
Run /account:report in a Claude Code session to auto-create an Issue with diagnostic info.
MIT
npx claudepluginhub lee-ji-hoon/claude-multi-account-manager --plugin accountHarness-native ECC operator layer - 67 agents, 271 skills, 92 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses
Complete collection of battle-tested Claude Code configs from an Anthropic hackathon winner - agents, skills, hooks, and rules evolved over 10+ months of intensive daily use
Efficient skill management system with progressive discovery — 410+ production-ready skills across 33+ domains