ictechgy

Multi Account Tool — AI skill for Claude Code

AI community

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 logoutlogin every 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