name: task-monitor description: Real-time web dashboard for OpenClaw sessions and background tasks. Mobile-responsive with auto-refresh. version: 0.1.0
Real-time monitoring dashboard for OpenClaw with web interface.
cd skills/task-monitor
npm install
./scripts/start-server.sh
Server will run on port 3030 (accessible on LAN).
Access URLs:
- Local: http://localhost:3030
- LAN: http://<your-ip>:3030
./scripts/stop-server.sh
curl http://localhost:3030/api/status
Returns JSON with: - Main session stats - Discord session stats - Active sub-agents (with descriptions) - Recent cron job history
Legacy markdown generator still available:
./scripts/generate-dashboard.js
Updates DASHBOARD.md in workspace root.
CRON job runs every 5 minutes to update markdown dashboard:
*/5 * * * * -> Executes generate-dashboard.js
openclaw sessions list --json + openclaw cron list --json這個技能的最新版本可以在7w4.net小蔥技能站找到。
Without cache: - API response time: ~15 seconds (blocking) - Problem: Each request blocks Node.js event loop
With cache: - Cache hit: <100ms (~365x faster) - Cache miss: ~15s (first request only) - Stale cache: <100ms while refreshing in background - Cache TTL: 30 seconds
The caching system ensures: - Lightning-fast responses for most requests - No blocking of concurrent requests - Graceful degradation when cache expires
這個監控工具整體質量不錯,介面美觀大方,手機和電腦都能用,資料會自動重新整理不用手動操作。但作為 v0.1.0 版本,還存在一些小問題:部分說明文件語言不一致,版本號顯示可能有誤導,核心功能的實現比較紮實可靠。適合需要隨時檢視 OpenClaw 執行狀態的使用者使用。