Agentic Process Monitor

•
33
•

Monitors long-running background processes using sentinel files and subagent polling to ensure reliability and token efficiency.

Agentic Process Monitor provides a robust architectural pattern for managing background tasks within Claude Code. By implementing a sentinel-based protocol tracking PIDs, heartbeats, and status files, it enables a subagent to supervise autonomous loops without bloating the main context with polling logs. This skill is specifically designed to handle common failure modes like hung processes, timeouts, and infrastructure crashes through circuit breakers and self-healing recovery logic, ensuring that your automation workflows remain stable, cost-effective, and fully observable.

Key Features

01Automatic circuit breaker patterns for repeated infrastructure failures
0233 GitHub stars
03Sentinel-based status tracking for background task completion
04Subagent polling architecture to minimize main context token burn
05Stale process detection via heartbeat mtime monitoring
06Self-healing recovery protocols for interrupted monitoring agents

Use Cases

01Executing multi-step automation loops that require liveness checks
02Supervising long-running CI/CD deployments and builds in the background
03Managing autonomous background data processing and migrations