All shelves / Mods / Workflow
switchboard
By hamzafer
switchboard is a Claude Code workflow mod by hamzafer.
Picks the model for each subagent that names none, draws each pick above the prompt, and shows what every subagent cost in /route.
Draws
Install
The marketplace name is claude-code-mods.
claude plugin marketplace add hamzafer/claude-code-mods claude plugin install switchboard@claude-code-mods
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 0.3.3
- License
- MIT
- Repo stars
- 381
- Last change
- 2026-10-23
What it can reach
- Draws in the session
- Reads usage or context figures
- Reaches the network or an outside service
- Sees tool calls
Claude Code 2.1.287 or later. The author says to restart after installing. A model you or your CLAUDE.md name for a subagent is kept; only a subagent with no model named, or inherit, gets a pick, and Keep a named model in /config turns that off. The picker is off by default: it picks nothing, sends nothing, and only tracks cost in /route. Set to openai, it asks OpenAI's Decisions API, about $0.00003 a pick, with the OpenAI key in /config or OPENAI_API_KEY. Set to jev, it asks TypeSafe's Jev, about $0.00001 a pick, with a TypeSafe key or a Vercel AI Gateway key, which needs paid gateway credit. Either way it sends only the subagent's type and its 3 to 5 word label, never its task text. Mode auto switches the model and suggest only shows the pick; the author says to try suggest for a few days first. Models are haiku-sonnet-opus by default or sonnet-opus-fable, and style is saver by default or quality. With no answer within 4 seconds, or a pick under 50% sure, the model stays as it was.
The marketplace, claude-code-mods, holds all of hamzafer's mods. This one installs on its own, or from the checklist that npx claude-code-mods@latest opens. Choosing the model for each subagent is why this page files it under workflow. agent-diet, by VedantAndhale, starts Explore subagents and other agent types you list on Haiku or a model you pick, and counts how many it moved. agent-router, by alexandernicholson, assigns a model and effort to each subagent role from your endpoint's catalog. This one asks a small decision model per subagent, from its label only, and leaves forks and teammates alone. /route lists every subagent with its pick, the model it ran on, and what it cost, against the same tokens on the model it would have run on. The author says the costs are estimates at API prices as of 2026-09-25, not what your plan charges.
Demo

What it hooks into
session.startWhen a session startsagent.spawnWhen a subagent startsturn.completeWhen a turn endscommand.runWhen you run its slash command/routeui.renderDraws into the sessionAbovePromptPane
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Slash commands 1
/routeShow which model Switchboard picked for each subagent, and what it cost
Files
The author's source, 3 files. They load when you open them.
Facts
- Author
- hamzafer
- Category
- Workflow
- Marketplace
- claude-code-mods
- Folder
- mods/switchboard
- Version
- 0.3.3
- License
- MIT
- Repo stars
- 381
- Last change
- 2026-10-23
- Language
- TypeScript
- Files
- 8