watch

Solid

Background watching via the CC Monitor tool. Starts subprocesses that stream events as conversation notifications — zero token cost when quiet. Supports declared config watches (auto-registered on session start) and ad-hoc operator-invoked watches.

AI & Automation 68 stars 11 forks Updated today MIT

Install

View on GitHub

Quality Score: 79/100

Stars 20%
61
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Watch Run background event watchers using the CC Monitor tool. Each stdout line from the subprocess becomes a conversation notification. Silence costs zero tokens. Two classes: - **Stream:** Source pushes events (`tail -f`, WebSocket, fswatch). Truly event-driven. - **Poll:** Script checks on interval, emits only on change. Same polling model, less noise. ## Usage ``` /claude-code-hermit:watch <instruction> — start ad-hoc (poll, default 5m interval) /claude-code-hermit:watch <stream-command> — start ad-hoc stream /claude-code-hermit:watch start — register all enabled config watches /claude-code-hermit:watch stop [id] — stop by id (or auto if 1 active) /claude-code-hermit:watch stop --all — stop all watches /claude-code-hermit:watch status — list active watches from registry ``` ## Runtime Registry All active watches are tracked in `.claude-code-hermit/state/monitors.runtime.json`. This is the **sole source of truth** — not SHELL.md. ```json { "monitors": [ { "id": "deploy-errors", "task_id": "bmg9y1le3", "description": "errors in deploy.log", "started_at": "2026-04-12T15:00:00Z", "source": "config", "class": "stream" } ], "last_cleared": "2026-04-12T15:00:00Z" } ``` SHELL.md `## Monitoring` entries are a **journal only** — no code path reads them for decisions. Start/stop decisions read from the runtime registry. ## Plan ### Starti...

Details

Author
gtapps
Repository
gtapps/claude-code-hermit
Created
4 months ago
Last Updated
today
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category