vps-page

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

A page pattern for building or changing a dashboard screen in a web application, including loading, empty, and error states.

In plain words
What is it for?
Use it to create a dashboard route with data loading, loading placeholders, empty results, and an error page.
Why use it?
It gives agents a consistent structure for dashboard pages and requires an error boundary so page failures are handled.

Command for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/rahmanef63/control-room/vps-page
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-page

README.md
[![agentmods](https://agentmods.dev/badge/commands/rahmanef63/control-room/vps-page.svg)](https://agentmods.dev/commands/rahmanef63/control-room/vps-page)
Your own site
<a href="https://agentmods.dev/commands/rahmanef63/control-room/vps-page"><img src="https://agentmods.dev/badge/commands/rahmanef63/control-room/vps-page.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 576 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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 $0.00000 $0.00576
Opus 5 $0.00000 $0.00288
Sonnet 5 $0.00000 $0.00115
Haiku 4.5 $0.00000 $0.00058

Measured today against content hash a55e73de8a5d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

vps-page 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 today.

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/commands/vps-page.md · 80 lines

How it starts

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

VPS Control Room — Svelte Page Pattern

Use this pattern for a terminal-scoped frontend page or substantial page refactor. Root CLAUDE.md remains the SSOT. Do not add a new page for provider management, browser automation, scheduling, managed apps, or other non-terminal product scope.

Location

frontend/src/routes/<route>/+page.svelte
frontend/src/routes/<route>/+page.server.ts     # only when server-side page loading is useful
frontend/src/routes/<route>/+error.svelte       # when route-level recovery needs custom UX
frontend/src/lib/features/<feature>/            # reusable feature logic/components

Do not build large feature logic directly into +page.svelte; keep the route as orchestration and place domain logic in a vertical slice.

Svelte 5 state

<script lang="ts">
  let loading = $state(true);
  let error = $state<string | null>(null);
  let items = $state<Item[]>([]);
  let count = $derived(items.length);

  async function refresh() {
    loading = true;
    error = null;
    try {
      const response = await fetch('/api/example');
      if (!response.ok) throw new Error(`HTTP ${response.status}`);
      items = await response.json();
    } catch (cause) {
      error = cause instanceof Error ? cause.message : String(cause);
    } finally {
      loading = false;
    }
  }
</script>

Use $props(), $state, $derived, $effect, and snippets. Do not introduce legacy component syntax or shared writable/readable stores.

Data boundary

Frontend pages talk to authenticated SvelteKit server routes. Those server routes may proxy to the Node agent through $lib/server/gateway. Host access never occurs in the page/component itself.

For privileged proxy routes:

const denied = await requireSession(event);
if (denied) return denied;
return proxyGatewayJson('/some-agent-path');

Terminal live output is a special case: browser SSE is bridged server-side to the agent WebSocket. Do not invent a direct browser-to-agent socket.

Read the full file on GitHub · 80 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. today Changed · -66 lines a55e73de8a5d
  2. 5d ago First seen · 146 lines · 0 tokens per session scan A fbacbc644465

Subscribe to this mod's changes

vps-page is a command published in the GitHub repository rahmanef63/control-room (19 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 576 tokens. 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.