ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 4/5

bot-status-api

Deploy a lightweight status API that exposes your OpenClaw bot's runtime health, service connectivity, cron jobs, skills, system metrics, and more. Use when setting up a monitoring dashboard, health endpoint, or status page for an OpenClaw agent. Supports any services via config (HTTP checks, CLI commands, file checks). Zero dependencies — Node.js only.

Why use this skill?

Easily monitor your OpenClaw agent's health, system metrics, cron jobs, and service connectivity with a lightweight, configurable HTTP status API for your dashboard.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/suspect80/bot-status-api-test
Or

What This Skill Does

The bot-status-api provides a lightweight, performant observability layer for your OpenClaw agent ecosystem. Instead of manually inspecting logs or terminals, this skill exposes a structured JSON API that surfaces the internal state of your bot. It acts as a bridge between the agent's complex runtime environment and your monitoring tools. By polling the /status endpoint, you can visualize heartbeat data, monitor service availability, track active cron jobs, and keep an eye on system resource utilization like RAM and CPU usage. It is built to be dependency-free, running exclusively on Node.js, making it highly portable and ideal for lightweight VPS or container deployments.

Installation

  1. Install the package using the command: clawhub install openclaw/skills/skills/suspect80/bot-status-api-test.
  2. Locate the installation directory and copy server.js and the collectors/ directory to your target operational folder.
  3. Create a config.json file based on the config.example.json template, ensuring you define your workspace and openclawHome paths correctly.
  4. Configure your desired services (HTTP checks, shell commands, or file path monitoring) within the services array of the config.
  5. Run the server using node server.js or configure it as a systemd user service to ensure it persists after reboots.

Use Cases

  • Dashboard Integration: Feed the status JSON into Grafana, Datadog, or custom React dashboards to visualize bot uptime and health.
  • Alerting: Configure UptimeRobot or similar services to ping the /health endpoint and alert you if the agent goes offline.
  • Resource Management: Track context window usage and model state to optimize agent cost and performance.
  • Service Monitoring: Centralize health checks for your agent's external dependencies like vector databases, custom scrapers, or local API tools.

Example Prompts

  1. "OpenClaw, please generate a status dashboard configuration using the data provided by the bot-status-api for my Grafana panel."
  2. "Check the bot-status-api config and verify if my current cron job list is correctly parsing the workspace files."
  3. "Summarize the last 24 hours of service health from the status API, noting any downtime incidents reported for my external dependencies."

Tips & Limitations

  • Security: The status API does not include authentication by default. Ensure it is only accessible via localhost or behind a reverse proxy (like Nginx) if exposed to the public internet.
  • Caching: The API uses a configurable cache TTL (ttlMs). If you require real-time metrics, lower this value, but be aware of the performance impact on the host system.
  • Heartbeat Requirement: For the agent vitals (context usage, etc.) to show up, ensure your primary agent routine is configured to write its state periodically to heartbeat-state.json as specified in the documentation.

Metadata

Author@suspect80
Stars982
Views0
Updated2026-02-14
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-suspect80-bot-status-api-test": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#monitoring#observability#api#system-health#node-js
Safety Score: 4/5

Flags: network-access, file-read, file-write