Switch between Claude accounts and API credentials in seconds.
No OAuth juggling. No logout dance. Smart, fast, and beautiful.
Also available on GitHub · Releases
Features
Built for developers and power users who switch between Claude accounts daily.
credentials.json on startup and automatically knows which profile is active — no stale state..claude.json) in one place./ to filter profiles by name instantly. Navigate results with ↑↓ and switch with Enter.Demo
Two-pane layout on wide terminals. Automatic active-profile detection. Token expiry at a glance.
╭─ clawswapper — credential switcher ───────────────────╮ ╭─ Detail ────────────────────────────────────────╮ │ │ │ │ │ OAuth My Account ← active exp 3d │ │ My Account ← active │ │ │ │ │ │ ▶ API Work API │ │ Type API │ │ │ │ API Key sk-ant-•••••••••…XY1Z │ │ OAuth Wife's Account exp 7d │ │ Last used 2d ago │ │ OAuth Work OAuth ✗ expired │ │ File ~/.clawswapper/profiles/work-api.json │ │ │ │ │ ╰───────────────────────────────────────────────────────╯ ╰─────────────────────────────────────────────────╯ [↑↓] navigate [Enter] switch [1-9] quick switch [/] search [r] rename [?] help [q] quit
How it works
claude login, then press [a] in clawswapper to capture and name the credentials.clawswapper in any terminal. It instantly detects your current session and highlights the matching profile.[Enter]. For OAuth accounts it asks about renewal — if expired, guides you through claude login and re-captures.credentials.json or .claude.json is in place. Claude CLI is now running as the account you chose.Download
Pre-built binaries for Linux and Windows. Or build from source with Cargo.