282059559donghui-prog/rts-dashboard/SKILL.md
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.
npx skillsauth add openclaw/skills rts-dashboardInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
A StarCraft/C&C-inspired tactical command center for OpenClaw monitoring.
When the user wants to open/view/launch the dashboard, or when visiting 127.0.0.1:4320 fails:
Get-NetTCPConnection -LocalPort 4320 -ErrorAction SilentlyContinue
cd "<skill_dir>"; node server.js
Use exec with background: true and yieldMs: 3000, then check logs to confirm ⚡ Online message.node_modules/ is missing, run npm install first.http://127.0.0.1:4320 is ready.Get-NetTCPConnection -LocalPort 4320 | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force }
cd rts-dashboard
npm install
node server.js
Open http://127.0.0.1:4320 in browser.
ws npm package (auto-installed via npm install)chat.send RPCEnvironment 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 |
The dashboard implements Ed25519 device signing for Gateway WebSocket authentication:
.device-keys.jsonconnect.challenge nonce using v3 protocolOPENCLAW_GATEWAY_TOKEN env var or gateway.auth.token in openclaw.jsondangerouslyDisableDeviceAuth or allowInsecureAuth requiredrequire.resolve → which/where → npm root -g → fallback paths~/.agents/skills/ (user) + {openclaw}/skills/ (built-in) + {openclaw}/extensions/*/skills/ (extensions)JSON.parse (robust, no regex)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.
~/.openclaw/openclaw.json → agents.list.jsonl.lock files in ~/.openclaw/agents/*/sessions/os module (CPU delta sampling every 2s)~/.openclaw/cron/jobs.jsonrts-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)
tools
Use when the user wants to connect to, test, or use the McDonalds service at mcp.mcd.cn, including checking authentication, probing MCP endpoints, listing tools, or calling McDonalds MCP tools through a reusable local CLI.
development
Web scraping platform — Twitter/X data, Vinted marketplace, and general web scraping API
development
SlowMist AI Agent Security Review — comprehensive security framework for skills, repositories, URLs, on-chain addresses, and products (Claude Code version)
data-ai
去除中文文本中的 AI 写作痕迹,使其读起来自然。基于维基百科 AI 写作特征指南,检测 24 种 AI 模式。触发词:humanizer-cn、去除 AI 痕迹、去除 AI 写作痕迹、中文文本人性化。