ccswap

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

Updated 2026-10-18

What is ccswap?

ccswap is a Claude Code mod by errhythm. ccswap inside Claude Code: /ccswap to list and switch accounts, an accounts pane, a switch toast, and a quota band above the prompt. It is listed under Cost & usage and has 33 GitHub stars.

TypeClaude code mod
Authorerrhythm
Repositoryerrhythm/ccswap
Popularity33 GitHub stars
CategoryCost & usage
SecurityLow risk (88/100)
Rank#259 of 5,272 Claude Code mods; #42 in Cost & usage
LicenseMIT
Last commit2026-10-18
Hooks3 events
Seesonly the events it hooks
Draws onPane, AbovePrompt

Is ccswap safe to install?

ccswap scores 88/100 on the MCPMods security check: Low risk. Things to review: starts processes outside the sandbox. It passed 7 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.every
$.command.register
$.config.list
$.fs.readreads files
$.process.runruns processes
$.state.get
$.state.set
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install ccswap?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/errhythm/ccswap
    claude plugin validate ./ccswap/mod
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add errhythm/ccswap && claude plugin install ccswap@ccswap

Or ask Claude to set it up

Paste this into Claude Code and it installs ccswap for you:

Install the "ccswap" Claude Code mod from https://github.com/errhythm/ccswap/tree/main/mod. Run claude plugin validate on it first and show me what it can access before you enable it.