Multi Account Tool — AI skill for Claude Code
Switch between multiple AI CLI accounts (Claude Code, Codex, Gemini/Antigravity) from one TUI — Keychain-backed credential swap with automatic rollback and partial-failure recovery.
How to install Multi Account Tool
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open ictechgy/multi-account-tool and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Multi Account Tool does
Switch between multiple AI CLI accounts (Claude Code, Codex, Gemini/Antigravity) from one TUI — Keychain-backed credential swap with automatic rollback and partial-failure recovery.
Alternatives in AI
- Oh My Claudecode — 32 specialized agents and 7 execution modes for Claude Code, with smart model routing and automatic paralleliz 10.9k ★
- Phantom — An AI co-worker with its own computer 1.3k ★
- Open Researcher — 🔥 Visual AI research assistant that displays real-time thinking, provides split-view analysis, and automatic 634 ★
README
multi-account-tool (`mat`)
[한국어](README.ko.md) | English
📖 **Documentation:** [ictechgy.github.io/multi-account-tool](https://ictechgy.github.io/multi-account-tool/)
Use one TUI to switch between multiple AI CLI accounts (Claude Code, Codex, Gemini CLI, Aider, Kimi, Qwen, Crush, OpenCode, Goose, Grok Build). Store one profile per account and switch with a keystroke instead of cycling through `logout` → `login`.
By default, `mat` takes the conservative path: it backs up macOS Keychain entries, rolls back partial failures, writes files atomically, calls out plaintext-credential backup risks, and checks credential freshness (including OAuth refresh-token rotation) before a swap. When live credentials have drifted, the TUI asks whether to Recapture, Discard, or Cancel before it swaps.
╭ Multi-Account Tool ────────────────────────────────╮
│ AI CLI account switcher │
╰─────────────────────────────────────────────────────╯
> Claude Code [active: personal] ✓
Codex CLI [active: work] ✓
Gemini CLI [active: personal] ✓
Why
- You use Claude Code, Codex, Gemini, or similar CLIs with multiple accounts (personal / work / team)
- You are tired of running
logout→loginevery time you change context - You want the currently active account to be explicit before you start work
How it works
`mat` swaps **only credentials**. Everything else — hooks, agents, `CLAUDE.md`, conversation history, settings — stays untouched.
| CLI | Credential location | Swap strategy |
|---|---|---|
| Claude Code | macOS Keychain (Claude Code-credentials) |
Keychain entry swap |
| Codex CLI | ~/.codex/auth.json |
File swap |
| Gemini CLI | ~/.gemini/oauth_creds.json, google_accounts.json |
File swap |
| Aider | ~/.aider.conf.yml |
File swap |
| Kimi CLI | ~/.kimi/config.toml |
File swap |
| Qwen Code CLI | ~/.qwen/settings.json, ~/.qwen/.env |
File swap |
| Crush | `~/.con |
Related Skills
Coding Agent Account Manager
Sub-100ms auth switching for AI coding CLIs (Claude Code, Codex, Gemini): swap subscription accounts instantly
Aisw
AISW AI Switcher - Switch between multiple Claude Code, Codex CLI, Antigravity and Gemini CLI accounts in one
Recovery Classification
Enforces Law 4 (Verify Before Reporting) of the 7 Laws of AI Agent Discipline. After any failure in the verifi
Paytriage
Paytriage: AI payment recovery agent that detects failed recurring payments, analyzes failure root causes, and
Paseo Agent Link
Account-aware routing, quota recovery, model visibility, and RAM protection for Paseo.
Context Dump
Dump current context for model switch or context limit recovery
Related Agents
Agency Operations
Invoke when the user needs to manage multiple client brands, view portfolio-level dashboards, generate client
Auth Context
Stores and validates authenticated test-account context for the active web-vuln tier. Takes operator-pasted se
Cpanel Ops
cPanel account-level operations - domains and subdomains, DNS, cron jobs, SSL certificate expiry, email accoun