bot-status-api-test
suspect80 제작
Web & Frontend Development요약
Deploy a lightweight status API that exposes.
설명
이 스킬이 하는 일
A configurable HTTP service that exposes an OpenClaw bot's runtime status as JSON. Reports bot health, context usage, cron job state, installed skills, service connectivity, and system metrics. Runs with zero npm dependencies using Node.js built-ins only.
Zero npm dependencies means no install step, no lockfile churn, and no version conflicts that come with typical monitoring stacks.
사용 시점
- Checking bot uptime from a monitoring dashboard
- Verifying external service health before a deployment
- Tracking CPU and RAM usage during heavy agent workloads
- Building a status page for a self-hosted OpenClaw agent
예시 워크플로
User asks: Is my bot and its connected services healthy right now?
- 1
Start the status server with
node server.js - 2
Read config.json to load service definitions, workspace paths, and cache settings
- 3
Run all configured health checks (HTTP, command, file-exists) in parallel
- 4
Serve the aggregated result from cache at GET /status
- 5
Return a JSON object with bot vitals, service statuses, cron jobs, skills list, and system metrics
JSON response containing uptime, context percent used, per-service health status, cron job list, installed skills, and CPU/RAM/disk readings
설치
clawhub install suspect80/bot-status-api-testCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.