安装并运行 Claw Insights,这是一个只读的可观测性仪表板,可监控您的 OpenClaw 代理,零侵入——无需代码改动、无云依赖。
Announce at start: "I'm setting up Claw Insights — a read-only observability dashboard for your OpenClaw agent."
A read-only observability dashboard for OpenClaw agents. One command installs it, auto-connects to your running gateway — no configuration needed.
Runs locally with SQLite. Requires Node.js ≥ 22.5 and a running OpenClaw gateway.
bash
# One-line install (recommended)
curl -fsSL https://claw-insights.com/install.sh | sh
# Or via npm
npm install -g claw-insights
bash
claw-insights start # Default port 41041, opens browser
claw-insights start --port 8080 # Custom port
claw-insights start --no-auth # Disable authentication
claw-insights stop # Stop the service
claw-insights restart # Restart
bash
curl http://127.0.0.1:41041/health
# → {"status":"ok",...}
bash
npm update -g claw-insights
# Or re-run the install script
curl -fsSL https://claw-insights.com/install.sh | sh
VariableDefaultDescriptionCLAW_INSIGHTS_SERVER_PORT``41041Server portCLAW_INSIGHTS_API_TOKEN_(auto)_Auth token (min 32 chars)CLAW_INSIGHTS_NO_AUTH``falseDisable auth entirelyCLAW_INSIGHTS_DB``~/.claw-insights/metrics.dbSQLite database pathCLAW_INSIGHTS_RAW_RETENTION_DAYS``7Raw metric retention (days)
Full configuration reference: See references/configuration.md
SymptomCauseFixEADDRINUSEPort already in useclaw-insights stop then retry, or use --port``Cannot connect to gatewayOpenClaw gateway not runningStart gateway: openclaw gateway start``401 UnauthorizedToken mismatchCheck CLAW_INSIGHTS_API_TOKEN or use --no-auth``Node.js version errorNode.js < 22.5Upgrade Node.js to ≥ 22.5
More troubleshooting: See references/troubleshooting.md
Use the claw-insights-snapshot skill to generate and share visual status cards via REST API.