control-room: Instructions file for Claude Code

CLAUDE.md

control-room CLAUDE.md is an instructions file for Claude Code from rahmanef63/control-room. It costs 1,073 tokens per session, scanned A, original, MIT.

A project instruction file describing a VPS control room: a web dashboard and host-side agent for monitoring and controlling a server. A VPS is a rented virtual computer, and systemd is Linux software that runs services in the background.

In plain words
What is it for?
It guides frontend and agent development, terminal sessions, REST and server-sent event connections, systemd deployment, monitoring data collection, and shell actions.
Why use it?
It records the project’s current architecture, runtime versions, deployment process, service names, and data flow so maintenance work matches the live setup.

Instructions file for Claude Code

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

This is rahmanef63/control-room's own configuration. It tells Claude Code how to work on control-room 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 control-room configures →

Reuse

Borrowing it

Nothing to install: this file belongs to rahmanef63/control-room. 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/rahmanef63/control-room/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/rahmanef63/control-room

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 control-room CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/rahmanef63/control-room/claude-md/github.svg)](https://agentmods.dev/instructions/rahmanef63/control-room/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/rahmanef63/control-room/claude-md"><img src="https://agentmods.dev/badge/instructions/rahmanef63/control-room/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 control-room CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/rahmanef63/control-room/claude-md"><img src="https://agentmods.dev/badge/instructions/rahmanef63/control-room/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,073 This file is loaded in full into every session.
When invoked 1,073 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.01073 $0.01073
Opus 5.5 $0.00429 $0.00429
Sonnet 5.5 $0.00215 $0.00215
Haiku 4.5 $0.00107 $0.00107

Measured 8d ago against content hash faeb6a3c4631, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

control-room 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 8d 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.

CLAUDE.md · 124 lines

How it starts

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

Control Room — Canonical Agent Instructions

Current baseline: v2.0.0, terminal-first.

Product boundary

Control Room is a tmux-like terminal multiplexer with a browser/PWA UI.

Core product scope:

  • PTY lifecycle and reconnect;
  • multiple terminal panes;
  • workspaces;
  • single/grid/fullscreen terminal views;
  • mobile terminal UX and safe areas;
  • rename/duplicate/move/focus/close;
  • terminal history and restore;
  • terminal templates;
  • cwd/file-picker helpers;
  • broadcast input;
  • lightweight terminal/host status;
  • optional CLI launch profiles and activity decoration.

Out of scope:

  • provider/account or credential management;
  • browser automation;
  • cron/job orchestration;
  • AI supervisory orchestration;
  • managed application lifecycle platforms;
  • project-specific runtime dependencies;
  • deployment orchestration unrelated to deploying Control Room itself.

A CLI inside a pane manages its own auth, tools, browser work, deployments, and agent behavior.

Architecture

browser / PWA
  -> SvelteKit 2 + Svelte 5 frontend (Node 22 production runtime)
       -> authenticated HTTP proxies
       -> terminal output to browser over SSE
       -> frontend server is the WebSocket client to the agent
  -> Node 22 host agent on loopback
       -> node-pty
       -> bounded host/file/state helpers required by terminal UX

The frontend never shells out directly and never exposes AGENT_GATEWAY_SECRET or CONTROL_ROOM_SECRET to browser JavaScript.

Standalone rule

The repository must remain independently understandable and runnable. Do not add architecture, docs, configuration, imports, or runtime requirements that assume another internal repository exists.

Optional third-party CLI programs may be launched as normal terminal processes. Their existence is not a Control Room runtime dependency.

Frontend rules

  • SvelteKit 2 + Svelte 5 runes.
  • Use $props(), $state, $derived, $effect, snippets, and rune-backed state modules.
  • Do not introduce legacy export let, $:, on:click, legacy <slot>, or writable/readable store patterns in modified code.
  • UI primitives: frontend/src/lib/components/ui/.
  • Terminal features: frontend/src/lib/features/terminals/.
  • Server-only helpers: frontend/src/lib/server/.
  • Route APIs: frontend/src/routes/api/**/+server.ts.
  • Preserve safe-area, mobile keyboard, fullscreen, viewport and xterm-fit behavior.
  • Preserve the app-chrome hierarchy: compact app/status bar → workspace rail → session/command bar → terminal stage; collapse labels/secondary utilities before allowing toolbar wrapping.
  • Keep /landing presentation-only and public: prerendered, csr = false, no host/gateway reads, no external runtime resources, route-specific SEO/structured data, and prefers-reduced-motion support.
  • Delete obsolete implementations; do not keep compatibility placeholder files.

Read the full file on GitHub · 124 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. 8d ago Changed · +1 lines · +76 tokens per session faeb6a3c4631
  2. 2mo ago Changed · -13 lines · -1,081 tokens per session scan B → A c0ed1201f366
  3. 2mo ago First seen · 136 lines · 2,078 tokens per session scan B 7dec43cb188a

Subscribe to this mod's changes

control-room CLAUDE.md is an instructions file published in the GitHub repository rahmanef63/control-room (19 stars, last pushed 9d ago), licensed MIT. It adds 1,073 tokens to every session, about $0.0043 per session on Opus 5.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-30.

Related

control-room CLAUDE.md compared with instructions from other repositories

control-room CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
control-room CLAUDE.mdrahmanef63/control-roomInstructions file199d agoMITA1,073Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode