Borrowing it
Nothing to install: this file belongs to rodcoppi/switchboard-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/rodcoppi/switchboard-mcp/main/CLAUDE.mdgit clone --depth 1 https://github.com/rodcoppi/switchboard-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/rodcoppi/switchboard-mcp/claude-md)<a href="https://agentmods.dev/instructions/rodcoppi/switchboard-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/rodcoppi/switchboard-mcp/claude-md.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.02278 | $0.02278 |
| Opus 5 | $0.01139 | $0.01139 |
| Sonnet 5 | $0.00456 | $0.00456 |
| Haiku 4.5 | $0.00228 | $0.00228 |
Grade A, and why
switchboard-mcp CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 144 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
What this repository is
Switchboard project: a local hub that connects independent Claude Code instances running in tmux sessions on WSL, enabling asynchronous message exchange between them (via MCP) with a web dashboard for observation. It connects already-running sessions — it does not spawn or orchestrate agents.
PRD-switchboard.md is the source of truth. The implementation follows the PRD's phases
0–7, in order. Before working on any area, read the corresponding PRD section (and the pitfalls
table, section 17).
Executor rules (from the PRD, mandatory)
- Run the phases IN ORDER. Phase 0 (validation spikes) is mandatory and cannot be skipped. Only advance to Phase N+1 with all of Phase N's "Done When" truly verified (by running the command, not assuming).
- Each phase ends with its own commit:
feat(phase-N): <summary>. - If a Phase 0 spike fails → STOP and report the full error. Do not improvise an alternative architecture without approval.
- Do not add dependencies outside the locked stack (PRD section 5). Need something? Ask first.
- Do not invent features outside the PRD. A divergence becomes a question, not a unilateral decision.
- Priority order in conflicts (section 4): local security > convenience; debuggability > elegance; delivery reliability > real time; never block the agent's turn (every MCP tool answers in < 1s); MVP (Phases 0–5) before any pixel of the dashboard.
Locked stack
- Node.js >= 20 (ESM), TypeScript 5.x executed with
tsx— no build step, no bundler. - Production:
@modelcontextprotocol/sdk,express,zod,ulid,commander,@xterm/xterm+@xterm/addon-fit,marked,@highlightjs/cdn-assets. Dev:vitest,@types/express,@types/node. - Browser deps (
@xterm/*,marked,@highlightjs/cdn-assets) are all served by the hub straight out ofnode_modulesat/vendor/*, so the dashboard still fetches nothing off this machine.markedrenders the chat casca's markdown (tables/lists/code); highlight.js colours the fenced code. These are owner-approved dashboard-polish deps. @xterm/xtermis the ONE browser dependency, owner-approved, and it is a terminal EMULATOR — the thing you cannot sanely hand-roll (weeks of escape-sequence bugs). It is served by the hub fromnode_modulesat/vendor/*, so the dashboard still fetches nothing off this machine. It does NOT dragnode-ptyor websockets in with it: the dashboard terminal is a tmux CONTROL-MODE client (tmux -C attach-session, driven over plain pipes — seesrc/server/tmux.ts/terminal.ts), input ridessend-keys -H(through the pane guard), and SSE already carries the stream. Control mode is what makes the first frame race-free: command responses and%outputshare ONE ordered stream, so the initialcapture-paneand the live deltas cannot overlap or gap (the earlier capture-pane snapshot + pipe-pane tee were two separate commands with an unclosable gap, and Claude Code's cursor-relative repaints turned every lost/duplicated byte into text written over text).- System prerequisites: tmux >= 3.2, claude >= 2.x, jq (debug).
- Forbidden in v1: websockets, database, ORM, frontend framework, bundler, docker,
node-pty. Thenode-ptyban is about NOT owning the agent's process: a pty running the AGENT would make us a wrapper, and the agent would die with the dashboard. Control mode sidesteps that entirely — tmux owns the agent's pty, our control client is just another observer/driver of the session, and the agent outlives every viewer (test:terminal.integration.test.ts"detach kills the client but NEVER the session").
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 6d ago First seen · 144 lines · 2,278 tokens per session scan A 4521b90a9075
switchboard-mcp CLAUDE.md is an instructions file published in the GitHub repository rodcoppi/switchboard-mcp (1 stars, last pushed 7d ago), licensed MIT. It adds 2,278 tokens to every session, about $0.0114 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.