control-room: Command for Claude Code

.claude/commands/vps-control-room.md

vps-control-room is a command for Claude Code from rahmanef63/control-room. It costs 0 tokens per session (511 once invoked), scanned A, original, MIT.

A project playbook for VPS Control Room, covering deployment and troubleshooting of its dashboard, background agent, reverse proxy, firewall, and static files.

In plain words
What is it for?
Use it to deploy or redeploy the project and investigate live-site errors involving Traefik, system services, Docker networking, UFW, or Next.js assets.
Why use it?
It helps diagnose production-only failures such as timeouts, missing assets, or blank terminals by documenting the expected runtimes, ports, routes, and environment settings.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions 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/commands/vps-control-room.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 vps-control-room

README.md
[![agentmods](https://agentmods.dev/badge/commands/rahmanef63/control-room/vps-control-room.svg)](https://agentmods.dev/commands/rahmanef63/control-room/vps-control-room)
Your own site
<a href="https://agentmods.dev/commands/rahmanef63/control-room/vps-control-room"><img src="https://agentmods.dev/badge/commands/rahmanef63/control-room/vps-control-room.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 511 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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.00000 $0.00511
Opus 5 $0.00000 $0.00255
Sonnet 5 $0.00000 $0.00102
Haiku 4.5 $0.00000 $0.00051

Measured yesterday against content hash b07c4a6bad00, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

vps-control-room 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 yesterday.

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.

curl -fsS http://127.0.0.1:4000/api/health
.claude/commands/vps-control-room.md · 39 lines

How it starts

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

VPS Control Room — Project Playbook

Use this command for project-level runtime/deploy troubleshooting. Root CLAUDE.md is the architecture SSOT; this file only adds a short operational checklist.

Invariants

  • Frontend: <repo>/frontend — SvelteKit 2 + Svelte 5, adapter-node on Node 22 in production; Bun is tooling.
  • Agent: <repo>/agent — Node 22 + node-pty; host access stays here.
  • Browser terminal output: SSE from SvelteKit; frontend server bridges to the agent WebSocket.
  • Production frontend service: vps-control-room-frontend.service, port 4000.
  • Production agent service: vps-control-room-agent.service, loopback port 4001.
  • Frontend production entrypoint: node build/index.js inside the selected immutable release.
  • Public domain is supplied by CONTROL_ROOM_DOMAIN/Traefik; ORIGIN should match the public HTTPS origin.

Fast checks

curl -fsS http://127.0.0.1:4000/api/health
curl -I http://127.0.0.1:4000/login
curl -fsS http://127.0.0.1:4001/health
systemctl status vps-control-room-frontend --no-pager
systemctl status vps-control-room-agent --no-pager
journalctl -u vps-control-room-frontend -n 50 --no-pager

For asset issues, inspect the current /_app/immutable/ URLs and verify the active service process cwd points to a valid frontend/releases/svelte-* release containing build/index.js.

Workflow

  1. Inspect actual git/worktree/service state; never trust an old deployment note blindly.
  2. Read the owning file (scripts/deploy.sh, scripts/install-systemd.sh, Traefik config, frontend route, or agent endpoint).
  3. Make the smallest SSOT change; do not add compatibility frontend paths.
  4. Run frontend check/tests/build and git diff --check before a frontend switch.
  5. For UI changes, run real login/xterm/SSE and responsive smoke tests.
  6. After a frontend-only deploy, verify the agent PID did not change.
  7. Keep rollback material until the new release is verified.

Do not push, merge, rebase, or alter GitHub credentials unless the user explicitly asks.

Read the full file on GitHub · 39 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. yesterday Changed · -26 lines scan B → A b07c4a6bad00
  2. 6d ago First seen · 65 lines · 0 tokens per session scan B 61de56d7fb3e

Subscribe to this mod's changes

vps-control-room is a command published in the GitHub repository rahmanef63/control-room (18 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 511 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.