ccswap

Reviewed at commit 33caa9e New version, not yet reviewed

ccswap inside Claude Code: /ccswap to list and switch accounts, an accounts pane, a switch toast, and a quota band above the prompt

What we checked

Shows your ccswap Claude and Codex accounts in a pane, a /ccswap command and a band above the prompt, and switches the active login when you ask. It needs the separate ccswap command-line tool and only talks to that tool; it does not see prompts or tool calls and makes no network calls itself.

Review details

Static review of the source at the pinned commit; not run. Delta review of the changes since f87f0d6; the rest carries over from the review at that commit. One module (hooks/register.tsx, read in full at an earlier review). Registers session.start (registers /ccswap, polls every 60 s), command.run for ccswap, and ui.render for the Pane and AbovePrompt components. Runtime calls: $.process.run(['ccswap', ...]) with fixed argument lists (list --json, config get/set/unset/list/path, switch best|next|<slot or email>, codex switch), no shell; $.fs.read of ccswap's own claude-swap.log (path from 'ccswap config path') for the History tab; $.config.list to read the theme; $.ui.toast, $.ui.open, atoms for state. Switching is done by the external ccswap CLI, which replaces the Claude Code login (file or macOS Keychain); the Settings tab can also run ccswap config set for auto-switch thresholds, the Claude statusline and a switch to turn the mod off, each only when the person presses its key. The slot digit works as a hotkey in the pane and on the band that appears when a usage gate is reached. Failure behaviour: missing CLI or timeout (20 s) shows a message, never throws. Not reviewed: the ccswap CLI itself (a separate PyPI package from the same repository, which per its README contacts Anthropic's usage API) and any npm dependencies (none). types/index.d.ts is type declarations only. What changed: only plugin.json, the version string 0.50.2 to 0.53.1; hooks/register.tsx and the types are unchanged, so the previous review stands. The separate ccswap CLI the mod drives may have changed between those versions and was not reviewed.

What it uses
  • Reads your prompts: no
  • Sees tool calls: no
  • Blocks or changes tool calls: no
  • Reads or writes files: yes
  • Runs programs on your machine: yes
  • Calls the model (uses tokens): no
  • Sends data over the network: no
  • Stores data: no
  • Shows something on screen: yes
Hooked events
Screenshot of ccswap
Made this mod? Add a badge to your README

modsforClaude badge for ccswap

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/ccswap.svg)](https://modsforclaude.com/mods/ccswap/)

← All mods