vintlin/computer-care-skills/processes-monitor
Claude Code and agent skill by vintlin/computer-care-skills
- community
Checking that the SKILL.md file is still in the repository.
Use when monitoring long-running local commands with heartbeat liveness checks — background jobs, builds, scripts, services, downloads, or batch automation that may hang, timeout, crash, or lose logs.
Install
npx vskill@latest install vintlin/computer-care-skills/processes-monitorSKILL.md
Processes Monitor
Overview
Monitor long-running work with explicit status files, heartbeats, logs, and timeouts. A PID alone proves a process exists; it does not prove progress.
Sentinel Pattern
Create a monitor directory with:
| File | Purpose | |
|---|---|---|
<name>.pid | Process ID | |
<name>.heartbeat | Updated periodically while work progresses | |
<name>.status | SUCCESS, FAILED, TIMEOUT, or HUNG | |
<name>.log | Captured stdout/stderr | |
<name>.result | Optional structured output |
Minimal Wrapper
Always write a final status — never leave monitor files in an ambiguous state. The trap ensures the heartbeat loop is cleaned up on exit.
Monitor Logic
Check in a loop:
- If
.statusexists, read it and stop. - If
.heartbeatis stale beyond the threshold, treat as hung. Do not kill a process only because it is slow — compare heartbeat age, log output, and elapsed time before deciding. - If elapsed time exceeds the timeout, stop or escalate. Do not restart a failing process repeatedly without reading its log first.
- Otherwise wait and check again. Avoid
tail -f | grep -m1for log watching — it can hang on macOS due to buffering. Prefer polling the status file.
Recommended defaults:
| Setting | Value | |
|---|---|---|
| heartbeat interval | 10 seconds | |
| stale threshold | 60 seconds | |
| poll interval | 10-15 seconds | |
| max timeout | based on task, declared before start |
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/processes-monitor/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/vintlin/computer-care-skills/processes-monitor)