switchboard
by Hamza Zafar · ★ 0 · updated 13 days ago
Picks the model for each subagent that names none, with OpenAI's Decisions API or Jev, from its short label only. One line per spawn above the prompt; /route shows each pick and what each subagent cost.
Install
/plugin marketplace add thorstenalpers/claude-code-mods/plugin install switchboard@claude-code-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startagent.spawnturn.completecommand.runui.render- API calls
$.clock.every$.clock.sleep$.command.register$.env.get$.http.fetch$.state.get$.state.set$.ui.close$.ui.open$.ui.resolve- Draws
AbovePromptPane- Can see
subagent spawns- Reach
- level 3 of 3 networkreads env varsreads mod statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/thorstenalpers/claude-code-mods
- Path in repo
mods/switchboard- Source commit
11abba8the exact code the scan read- Author
- Hamza Zafar @thorstenalpers
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.
More from thorstenalpers/claude-code-mods
agent-radar
thorstenalpers/claude-code-mods
One live line above the prompt per running subagent: time, tool count and what it's doing. /radar shows every agent and its messages.
blast-radius
thorstenalpers/claude-code-mods
Holds risky Bash commands and shows what they would change before they run.
browser-lanes
thorstenalpers/claude-code-mods
Shows if this session has a Playwright browser and who holds it. /browser clean closes leftover browsers. A subagent that wants the browser waits until the one using it is done.
cache-clock
thorstenalpers/claude-code-mods
A prompt-cache line under your status line: minutes left while warm, and how many tokens the next message re-caches once cold. /cache-clock setup adds it.
context-bar
thorstenalpers/claude-code-mods
Your context window as a stacked bar above the prompt, a color per category, with token counts and the compaction point. /context-bar shows or hides it.
glance
thorstenalpers/claude-code-mods
One line above the prompt with what needs you: next meeting, PRs, Linear issues and Slack DMs. /glance lists them all.
md-preview
thorstenalpers/claude-code-mods
Shows the Markdown files Claude edits, rendered like GitHub, in a pane next to the chat. Before and after side by side. /md opens it.
merge-gate
thorstenalpers/claude-code-mods
Holds gh pr merge until CI passes and one Codex review (OpenAI's luna model) has run. A PR line above the prompt, and /gate shows the PR's status.
mission-control
thorstenalpers/claude-code-mods
/mission opens a live map of the main agent, its subagents and every tool call, plus a code map of the files they touch.
next-steps
thorstenalpers/claude-code-mods
After each turn, 2 or 3 likely next prompts above the prompt. Press 1, 2 or 3 in an empty prompt to draft one, 0 to dismiss.
now-playing
thorstenalpers/claude-code-mods
What Spotify is playing, one line above the prompt: track, progress and the lyric being sung, with ⏮ ⏸ ⏭ buttons. /music controls it too. macOS.
openai-balance
thorstenalpers/claude-code-mods
Your OpenAI API credit above the prompt: an estimated balance with a gauge, today's spend, where the money mostly went, and the last call. /openai-balance shows the breakdown.