/zforge:watchdogfrom zforge
Periodically monitor any long-running process (CI/CD pipeline, deployment, job, server) using a cheap Haiku subagent for status checks, and escalate to the main model when issues are detected. Use when asked to monitor, babysit, watch, keep an eye on, or check periodically.
Ships in zforge. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Monitor any long-running process with cheap, periodic status checks. Escalate to the main model only when something goes wrong.
ScheduleWakeup using the same loop promptDelegate only data-gathering to Haiku. Keep the prompt minimal:
Check <target>:
1. <command 1>
2. <command 2>
Return:
- STATUS: <one word>
- DETAIL: <key numbers or last log line>
- ERROR: <error message or "none">
- ANOMALY: yes/no
Anomaly = yes when: failure state, error in output, metric out of expected range, no progress detected, resource exhaustion.
Choose the interval based on the task:
| Scenario | Interval |
|---|---|
| CI/CD pipeline checks | 60s |
| Deployment health checks | 60s |
| Active debugging / fast iteration | 60s |
| Waiting for a slow process to start | 120–180s |
| Long-running job (training, migration) | 270s (stay in cache) |
| Idle monitoring (server health) | 600–1200s |
Use ScheduleWakeup after every check. Pass the original user prompt verbatim as the prompt field so the loop continues.
When Haiku reports ANOMALY: yes, the main model should:
For PR CI/CD checks specifically:
# Haiku checks this every 60s
gh pr checks <number> --json name,state,conclusion
Interpret results:
state: completed + conclusion: success → notify user, stop loopconclusion: failure → ANOMALY, escalate to main modelstate: pending or in_progress → schedule next check in 60sOn CI failure escalation:
gh run view <run-id> --log-failedStop monitoring when:
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
16 skills in this plugin
/add-featAdd a new feature with design, TDD, and PR workflow/auditAudit a codebase for security vulnerabilities, code quality issues, and architecture concerns/autopilotUse when the user says "autopilot", "auto mode", "替我回答", or "自动回答". Enables autonomous decision-making by answering Claude's own questions based on the user's personality profile./blogWrite personal blog posts with the rhythm, structure, and voice of top-tier essayists (Paul Graham, Dan Luu, Henrik Karlsson, Ben Kuhn, etc.)npx claudepluginhub zhengxuyu/zforge --plugin zforge