switchboard: Instructions file for Claude Code

CLAUDE.md

switchboard CLAUDE.md is an instructions file for Claude Code from TentacleOpera/switchboard. It costs 2,963 tokens per session, scanned A, a copy of switchboard AGENTS.md, MIT.

Project instructions for Switchboard, which runs both as a VS Code extension and as a standalone program. They define rules for deleting items, building the project, and keeping both versions consistent.

In plain words
What is it for?
Use them when changing deletion behavior, adding features, running builds, or working on either the VS Code extension or standalone host.
Why use it?
They prevent broken delete actions caused by confirmation dialogs that do not work in VS Code webviews. They also make sure a feature added to one version is added and tested in the other.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

This is TentacleOpera/switchboard's own configuration. It tells Claude Code how to work on switchboard itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything switchboard configures →

Reuse

Borrowing it

Nothing to install: this file belongs to TentacleOpera/switchboard. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/TentacleOpera/switchboard/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/TentacleOpera/switchboard

Made for: Claude Code.

Wrote 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.

agentmods badge for switchboard CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/tentacleopera/switchboard/claude-md/github.svg)](https://agentmods.dev/instructions/tentacleopera/switchboard/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/tentacleopera/switchboard/claude-md"><img src="https://agentmods.dev/badge/instructions/tentacleopera/switchboard/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for switchboard CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/tentacleopera/switchboard/claude-md"><img src="https://agentmods.dev/badge/instructions/tentacleopera/switchboard/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,963 This file is loaded in full into every session.
When invoked 2,963 The same file — it is already loaded in full.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 86% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.02963 $0.02963
Opus 5.5 $0.01185 $0.01185
Sonnet 5.5 $0.00593 $0.00593
Haiku 4.5 $0.00296 $0.00296

Measured 1mo ago against content hash 99afc2484558, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

switchboard CLAUDE.md scanned grade A with 1 finding 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 1mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

Switchboard is up, and it answers in one curl.
Origin

This is a copy

86% identical to switchboard AGENTS.md — 98 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

CLAUDE.md · 187 lines

How it starts

The opening of the file, as written. The whole thing — 187 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Switchboard — agent rules

NEVER add confirmation dialogs. NO EXCEPTIONS.

Delete buttons delete immediately. No confirm(), no window.confirm(), no modal showWarningMessage, no two-click patterns, no "Are you sure?". The user has demanded this repeatedly. Buttons are deliberately hard to misclick.

Also a hard technical reason: window.confirm() is a silent no-op in VS Code webviews (sandboxed iframe without allow-modals — it always returns false). Any confirm gate added to src/webview/planning.js, src/webview/kanban.html, etc. makes the button do literally nothing. This exact bug broke the kanban delete-plan button (fixed 2026-06-11).

If you find a confirm gate in this codebase, it is a bug — remove it. Multi-choice decision dialogs (e.g. 3-way conflict resolution) are allowed; plain confirm gates are not.

What this product is

A Raspberry Pi product. Switchboard is being rebuilt as an appliance: a board host running on a small box, with agent seats running on other machines. That is the shape every decision should serve.

  • The standalone host is primary. src/standalone/bootstrap.ts — the switchboard/npx CLI — is what actually runs on the Pi, on :7777, and is what a board deployment means. Measured: 182 MB RSS on a Pi 400 with no seats, so board-only fits 1 GB; board plus local agents wants 2 GB minimum, 4 GB comfortable.
  • One store, one host. One better-sqlite3 database owned by that host. Not libSQL (rejected), not a git-carried board (rejected). Other machines never open the database — they reach it over HTTP.
  • Multi-machine means seats, not stores. A seat's startup command carries an ssh/mosh transport prefix; the pty stays local and the agent process runs on the other box.
  • The VS Code extension (src/extension.ts) is the legacy host, and it is being removed. The release is a hard cutover: the extension ships once, alongside everything else, and there is no version in which the old host and the new one must interoperate. So it does not have to keep working across the change, and a feature is never blocked, narrowed, or deferred to preserve extension-host behaviour. Do not write new code in the legacy host to keep it compatible — that is throwaway work protecting a host that is going away. Do not describe this product as a VS Code extension.

Read the full file on GitHub · 187 lines

Changes

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.

  1. 1mo ago Changed · +1 lines · +13 tokens per session 99afc2484558
  2. 1mo ago Changed · +35 lines · +534 tokens per session 49f7bb22fb0f
  3. 1mo ago Changed · +19 lines · +243 tokens per session f8b14ba601b6
  4. 1mo ago Changed · +25 lines · +337 tokens per session fe8598cbdc60
  5. 1mo ago Changed · -144 lines · -3,643 tokens per session 6210a873ef2f
  6. 1mo ago Changed · +27 lines · +369 tokens per session ed0bd95c404e
  7. 1mo ago First seen · 224 lines · 5,110 tokens per session scan A 0c03660dfdd7

Subscribe to this mod's changes

switchboard CLAUDE.md is an instructions file published in the GitHub repository TentacleOpera/switchboard (215 stars, last pushed 1mo ago), licensed MIT. It adds 2,963 tokens to every session, about $0.0119 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 86% identical to switchboard AGENTS.md, differing in 98 lines, and is treated as a copy.

Related

Other instructions, from other repositories