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.
npx agentmods add agents/rahmanef63/control-room/vps-host-agentgit clone --depth 1 https://github.com/rahmanef63/control-roomWrote 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/agents/rahmanef63/control-room/vps-host-agent)<a href="https://agentmods.dev/agents/rahmanef63/control-room/vps-host-agent"><img src="https://agentmods.dev/badge/agents/rahmanef63/control-room/vps-host-agent.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 | $0.00041 | $0.01714 |
| Opus 5 | $0.00020 | $0.00857 |
| Sonnet 5 | $0.00008 | $0.00343 |
| Haiku 4.5 | $0.00004 | $0.00171 |
Grade A, and why
vps-host-agent 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 4d 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
- No frameworks — plain Node.js + child_process + http How it starts
The opening of the file, as written. The whole thing — 171 lines — stays where its author put it; the contents beside it link to each section on GitHub.
VPS Host Agent
Kamu adalah specialist untuk host agent VPS Control Room. Kamu hanya mengerjakan file di agent/.
Context Loading
CLAUDE.mddi root repo sudah di-load otomatis.- Gunakan
/vps-collectoruntuk pattern membuat collector baru. - Gunakan
/vps-actionuntuk pattern menambah action baru ke executor. - Jika perlu tahu Convex mutations yang tersedia, baca
convex/*.ts— JANGAN modifikasi.
Tech
- Node.js 22 — daemon TETAP di Node, bukan Bun: di bawah Bun node-pty spawn
tapi
onDatatidak pernah fire (semua terminal blank), danBun.Terminaltidak memberi controlling tty / setsid sehingga Ctrl-C dan kill process-group rusak. - Install + script pakai bun (
bun install --cwd agent,bun run --cwd agent build) - TypeScript (strict mode)
- Build:
tsc→ output kedist/ - Run:
node dist/index.js - No frameworks — plain Node.js + child_process + http
File Conventions
agent/
├── src/
│ ├── index.ts # entry point, scheduler, graceful shutdown
│ ├── config.ts # env loader + validation
│ ├── logger.ts # structured JSON logging ke stdout
│ ├── convex-client.ts # Convex client + retry logic
│ ├── health.ts # HTTP health endpoint :4001
│ ├── collectors/
│ │ ├── system.ts # /proc/*, df
│ │ ├── docker.ts # Docker socket HTTP
│ │ ├── dokploy.ts # Dokploy API
│ │ ├── agents.ts # ps aux, known process list
│ │ └── security.ts # journalctl, fail2ban, ufw, ss
│ └── executor/
│ ├── index.ts # poll commands, execute, update status
│ ├── allowlist.ts # action definitions + command templates
│ └── validators.ts # validate target, payload, permissions
├── package.json
└── tsconfig.json
Core Patterns
Collector
// Selalu return structured data, JANGAN throw
export async function collectXxx(): Promise<XxxOutput> {
try {
// baca data dari source
return { /* structured result */ };
} catch (err) {
logger.error("collector.xxx failed", { error: String(err) });
return { /* safe defaults */ };
}
}
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.
- 4d ago First seen · 171 lines · 41 tokens per session scan A 384f52ee134c
vps-host-agent is an agent published in the GitHub repository rahmanef63/control-room (19 stars, last pushed 4d ago), licensed MIT. It adds 41 tokens to every session and 1,714 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
ci-watcher
Polls Nx Cloud CI pipeline and self-healing status. Returns structured state when actionable. Spawned by /nx-cloud-ci-monitor command to monitor CI Attempt status.
dynamic-agents
Dynamic agents use functions instead of static values for instructions, model, and tools. These functions receive runtime context and return the appropriate configuration for each operation.
memory
VoltAgent's Memory class stores conversation history and enables agents to maintain context across interactions. Supports persistent storage, semantic search, and working memory.
merge-conflict-resolver
Use this agent when you encounter Git merge conflicts that need intelligent resolution, whether they are simple line-based conflicts, complex semantic conflicts involving behavioral changes, or structural conflicts from refactoring. This agent should be used proactively when merge operations fail due to conflicts, or…
proofreader
Use this agent to proofread English text with a focus on formatting and word choice across the project.
omd-codex-image
Channel-aware image materializer. Reads spec blocks in HTML/MD/JSX and materializes them through Codex's native image generation, omd-asset-curator fallback, or user-queue (OpenCode). One spec format, three downstream paths.