subagent-overseerMonitor sub-agent health and progress via a pull-based bash daemon. Use when spawning sub-agents that need progress tracking, staleness detection, and automa...
Install via ClawdBot CLI:
clawdbot install globalcaos/subagent-overseerLightweight pull-based daemon that monitors sub-agent health. Writes a status file every N seconds. The heartbeat handler reads it — no push, no noise.
overseer.sh (bash, runs in background)
├── /proc/<pid> → gateway alive? CPU? threads?
├── openclaw sessions list → sub-agent count + ages
├── find -newer marker → filesystem activity
└── writes /tmp/overseer/status.json (atomic mv)
heartbeat (agent, every 3min)
└── reads /tmp/overseer/status.json → summarize or HEARTBEAT_OK
Key principle: The overseer does all data collection. The heartbeat handler does zero tool calls if the status file is fresh and healthy.
setsid scripts/overseer.sh \
--workdir /path/to/repo \
--interval 180 \
--max-stale 4 \
--voice \
&>/dev/null &
cat /tmp/overseer/status.json
| Field | Meaning |
|---|---|
| subagents.count | Active sub-agent sessions |
| subagents.details[].stale | Consecutive cycles with no filesystem changes |
| subagents.details[].status | active / idle / warning / stuck |
| gateway.health.alive | Is openclaw-gateway running? |
| filesystem.changes_since_last | Files modified since last check |
| stale count | Time | Status | Action |
|---|---|---|---|
| 0-1 | 0-3 min | active/idle | Normal |
| 2-3 | 6-9 min | warning | Voice alert (if --voice) |
| ≥4 | ≥12 min | stuck | Agent should investigate/kill |
When HEARTBEAT.md fires:
/tmp/overseer/status.json — if missing or stale (>10 min), restart overseersubagents.count == 0 for 2+ cycles → overseer auto-exits → reply HEARTBEAT_OKactive → brief one-line status → HEARTBEAT_OKstuck → report which labels are stuck → consider killing via subagents kill| Flag | Default | Description |
|---|---|---|
| --interval | 180 | Seconds between checks |
| --workdir | cwd | Directory to watch for file changes |
| --labels | (all) | Comma-separated labels to filter |
| --max-stale | 4 | Cycles before marking stuck |
| --voice | off | Local TTS alerts via jarvis command |
/proc//status for CPU, memory, threads, FD count. Pure kernel data.openclaw sessions list call per cycle. Parses grep output.find -newer marker — detects any file writes in the workdir.mv into place). Any reader sees a complete file.flock ensures only one overseer instance runs at a time.jarvis)cat command)Generated Mar 1, 2026
Monitors sub-agents handling code generation, testing, and deployment in a CI/CD environment. Detects stuck agents to prevent pipeline delays and ensures all processes are active without manual oversight.
Tracks sub-agents managing ticket routing, response generation, and escalation in a support platform. Alerts on idle or stuck agents to maintain service level agreements and reduce response times.
Oversees sub-agents executing trades, analyzing market data, and risk management in automated trading. Ensures high availability by detecting failures and triggering alerts for immediate intervention.
Monitors sub-agents creating articles, social media posts, and multimedia content in a marketing agency. Identifies stalled tasks to optimize resource allocation and meet publishing deadlines.
Tracks sub-agents collecting sensor data, sending commands, and performing diagnostics in a smart home or industrial IoT network. Detects inactive agents to maintain system reliability and prevent data loss.
Offers the overseer as a cloud-based service with tiered plans based on monitoring frequency and number of sub-agents. Includes premium features like advanced analytics and integration support.
Sells perpetual licenses for on-premises deployment in large organizations, with customization options and dedicated support. Targets industries requiring high security and compliance.
Provides the core overseer as free open-source software, monetizing through paid add-ons like voice alerts, detailed reporting dashboards, and priority updates.
💬 Integration Tip
Ensure the overseer script runs with proper permissions and the status file path is accessible to the heartbeat handler for seamless monitoring.
Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Clau...
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
Search and analyze your own session logs (older/parent conversations) using jq.
Typed knowledge graph for structured agent memory and composable skills. Use when creating/querying entities (Person, Project, Task, Event, Document), linking related objects, enforcing constraints, planning multi-step actions as graph transformations, or when skills need to share state. Trigger on "remember", "what do I know about", "link X to Y", "show dependencies", entity CRUD, or cross-skill data access.
Ultimate AI agent memory system for Cursor, Claude, ChatGPT & Copilot. WAL protocol + vector search + git-notes + cloud backup. Never lose context again. Vibe-coding ready.
Headless browser automation CLI optimized for AI agents with accessibility tree snapshots and ref-based element selection