RTS Dashboard
name: rts-dashboard
by 282059559donghui-prog · published 2026-04-01
$ claw add gh:282059559donghui-prog/282059559donghui-prog-rts-dashboard---
name: rts-dashboard
description: "RTS (Real-Time Strategy) style monitoring dashboard for OpenClaw. Provides a browser-based tactical command center with real-time visualization of agents, skills, sessions, cron jobs, and system vitals. Features include a tactical map with active agents, radar scan animation, agent/skill detail panels, and chat messaging via Gateway WebSocket (chat.send). Use when the user wants to monitor OpenClaw status visually, launch a dashboard, or view agents/sessions/skills in a game-style UI."
---
# RTS Dashboard
A StarCraft/C&C-inspired tactical command center for OpenClaw monitoring.
Agent Actions
Start Dashboard
When the user wants to open/view/launch the dashboard, or when visiting `127.0.0.1:4320` fails:
1. **Check if already running:**
```powershell
Get-NetTCPConnection -LocalPort 4320 -ErrorAction SilentlyContinue
```
2. **If not running, start it in background:**
```powershell
cd "<skill_dir>"; node server.js
```
Use `exec` with `background: true` and `yieldMs: 3000`, then check logs to confirm `⚡ Online` message.
3. **If `node_modules/` is missing**, run `npm install` first.
4. Tell the user: `http://127.0.0.1:4320` is ready.
Stop Dashboard
Get-NetTCPConnection -LocalPort 4320 | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force }Quick Start (Manual)
cd rts-dashboard
npm install
node server.jsOpen `http://127.0.0.1:4320` in browser.
Requirements
Features
Configuration
Environment variables (all optional):
| Variable | Default | Description |
|----------|---------|-------------|
| `RTS_PORT` | `4320` | Dashboard HTTP port |
| `OPENCLAW_GATEWAY_PORT` | `18789` | Gateway port |
| `OPENCLAW_HOME` | `~/.openclaw` | OpenClaw home directory |
| `OPENCLAW_GATEWAY_TOKEN` | (from config) | Gateway auth token |
Authentication
The dashboard implements Ed25519 device signing for Gateway WebSocket authentication:
Cross-Platform
Gateway Requirements
The dashboard needs the Gateway to allow its WebSocket origin:
{
gateway: {
controlUi: {
allowedOrigins: ["http://127.0.0.1:4320"]
}
}
}This is the only Gateway config change needed. Apply with `openclaw config set gateway.controlUi.allowedOrigins '["http://127.0.0.1:4320"]'` or via the Control UI config panel.
Data Sources (refreshed every 3 seconds)
File Structure
rts-dashboard/
├── SKILL.md # This file
├── server.js # Node.js server (HTTP + WebSocket)
├── package.json # Dependencies (ws only)
└── public/
└── index.html # Single-file dashboard (HTML + CSS + Canvas JS)More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...