ClaudeCodeMod

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.

In your shell
claude plugin marketplace add hamzafer/claude-code-mods
claude plugin install switchboard@claude-code-mods
Open the repo

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

The switchboard section on the author's GitHub page
Screenshot of the author's GitHub page.

What it hooks into

  • session.startWhen a session starts
  • agent.spawnWhen a subagent starts
  • turn.completeWhen a turn ends
  • command.runWhen you run its slash command/route
  • ui.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
Repo
hamzafer/claude-code-mods
Folder
mods/switchboard
Version
0.3.3
License
MIT
Repo stars
381
Last change
2026-10-23
Language
TypeScript
Files
8

Other mods in Workflow

terminal-browserzenbu-labsOpens a real browser in a pane inside Claude Code, to preview sites and HTML, and lets the agent drive it.flightdeckscasellaDraws a live agent dashboard: the main model's context and cost, every permission check, subagents as cards or swimlanes, and a receipt for each turn.reflect-modBayramAnnakovSpots reusable corrections in your short prompts and shows each one in a band above the prompt, where one press saves it to CLAUDE.md.mobile-mcpmobile-nextAdds the mobile-mcp server for driving phones and simulators, and /mobile-mirror, a live device screen in a pane that you tap and type into.done-dingSingh-APPings you with a desktop notification and a chime when a long turn finishes or Claude is waiting on you, with optional pushes to your phone.decision-treeray-amjadWhen Claude ends a reply with a question, explains the choice in a side pane and lets you explore any option, or your own, in a forked session.savvy-progressJohnnyVizzDraws a progress bar above the prompt for /savvy-flow, and an agents panel with each subagent's model, task progress, context, cost, and time.prompt-railoikon48Draws a rail of your session's prompts above the input or beside the transcript; hover a tick to read one, click to jump to it.prompt-bouncerray-amjadSends a vague prompt back before Claude sees it, with a toast that suggests the project's own term.human-in-the-looptzafrirLets Claude assign you the tasks only you can do. They wait in a My tasks pane, counted under the prompt, until you answer or reject them.goal-meternateherkaiHolds a commandDraws a progress bar for /goal from Claude's own task plan: tasks done, elapsed time, an ETA at the goal's pace, and every chat's goal in /goals.ctx-handoffcablateHolds a commandKeeps the cache warm while you are away, turns what you teach Claude into project notes, and can hand a full session to a fresh conversation.
All 396 in Workflow