switchboard

by Hamza Zafar · ★ 118 · updated today

PanesBandsCommandsvalidates

0

Picks Haiku, Sonnet or Opus for each subagent before it starts, with Jev or simple rules. One line per spawn above the prompt; /route shows each pick and what it cost.

install switchboard

Install

/plugin marketplace add hamzafer/claude-code-mods
/plugin install switchboard@claude-code-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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 other: $.state.getother: $.state.setnetworkreads env varsdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/hamzafer/claude-code-mods
Path in repo
mods/switchboard
Source commit
adf9d72 the exact code the scan read
Author
Hamza Zafar @hamzafer
License
MIT
First published
Last pushed
First listed here
On X
Mentioned in 7 posts on X

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.

Posts about this repo

Hamza🇵🇰🇳🇴@ihamzafer

claude code mod so you can see what your agent is reading or writing, live 🛰️ https://github.com/hamzafer/claude-code-mods

SuSu_酥酥👅@NFT_Chen

🔥码住!原生 Claude Code 改代码像个黑盒,这个 Mod 让它把过程拆开了可视化给你看! Agent 读哪个文件、改哪一行、子任务跑到哪一步,以前都要等整轮结束才知道。现在hamzafer/claude-code-mods 用 Claude Code 新开的 Mod 能力,把读写和进度直接摊在终端里。 主要亮点: 🔸/mission 实时地图:w 看 Who(主 Agent、子 Agent、每次工具调用),c 看 Code(文件关系图 + import 箭头) 🔸读取蓝光、编辑橙光、改完转绿打勾,卡片下还有一句改动原因 🔸logout 这类跨文件改造会连上 login.ts → client.ts → session.ts → users.ts,不用等跑完才发现改错 🔸/radar 每个子 Agent 一行:耗时、工具数、当前动作 快速上手: 1️⃣需要 Claude Code 2.1.287+ 2️⃣claude plugin marketplace add hamzafer/claude-code-mods 3️⃣claude plugin install mission-control@claude-code-mods 4️⃣重启后输入 /mission 或 /mission code 4️⃣代码图需要 Chrome,以及能显示图片的终端(Ghostty / kitty / iTerm2) 适合用 Claude Code 做重构和批量改代码的人。 仓库:https://github.com/hamzafer/claude-code-mods #AI编程 #程序员工具 #开源项目推荐 #AI开发 #Agent #ClaudeCode #ClaudeCodeMods #Dario https://x.com/nft_chen/status/2106221630683000836?s=46

Hamza🇵🇰🇳🇴@ihamzafer

claude code has mods now pt. 2 🍿 i made reels you watch while claude works 📱 claude done → reels pause, ur back 😌 always dreamed of this fr 😭❤️ all 11 mods here 👇 https://github.com/hamzafer/claude-code-mods

Haseeb Mir@HaseebMir91

Running multi-agent workflows in Claude Code without live observability is flying completely blind. When three subagents spin up and start touching files across a project, you shouldn't have to wait for the whole run to end just to find out one worker went down the wrong rabbit hole. Hamza Zafar (@ihamzafer) just solved this with mission-control inside claude-code-mods: https://github.com/hamzafer/claude-code-mods It renders a live visual map right in your terminal pane showing every subagent, every tool call, and the exact files being read (blue) or edited (orange). Tap 'w' to track agent state or 'c' to view file dependency graphs in real time. If you are delegating large refactors or full-feature builds to terminal agents, visual state inspection is mandatory. The era of black-box agent loops is over. #ClaudeCode #AIAgents #DevTools #OpenSource #SoftwareEngineering

Hamza🇵🇰🇳🇴@ihamzafer

introducing md viewer! 👀 a simple claude code mod that renders your markdown like github, right next to the chat. /md http://github.com/hamzafer/claude-code-mods

Hamza🇵🇰🇳🇴@ihamzafer

ok so this exploded 😭 so i shipped context-bar 📊 see where your tokens go. https://github.com/hamzafer/claude-code-mods

More from hamzafer/claude-code-mods

agent-radar

hamzafer/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.

★ 1187 postsPanesBandsGuards

blast-radius

hamzafer/claude-code-mods

Holds risky Bash commands and shows what they would change before they run.

★ 1187 postsPanesBandsGuards

browser-lanes

hamzafer/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.

★ 1187 postsBandsGuardsCommands

cache-clock

hamzafer/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.

★ 1187 postsCommandsAutomation

context-bar

hamzafer/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.

★ 1187 postsBandsCommands

glance

hamzafer/claude-code-mods

One line above the prompt with what needs you: next meeting, PRs, Linear issues and Slack DMs. /glance lists them all.

★ 1187 postsBandsCommands

md-preview

hamzafer/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.

★ 1187 postsPanesGuardsCommands

merge-gate

hamzafer/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.

★ 1187 postsBandsGuardsCommands

mission-control

hamzafer/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.

★ 1187 postsPanesBandsGuards

next-steps

hamzafer/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.

★ 1187 postsBandsPrompt

now-playing

hamzafer/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.

★ 1187 postsBandsCommands

prayer-times

hamzafer/claude-code-mods

The current prayer and how long is left, the next prayer, and zawal, above the prompt. Computed on your computer from your location; nothing is sent anywhere.

★ 1187 postsBandsCommands