triage
Installation
SKILL.md
autoloop: Triage
Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.
Self-diagnostic for the autoloop fleet. Cross-references registry.json, heartbeat.json files, launchctl list output, plist files, and (lightly) ~/.claude/projects JSONL transcripts to surface zombies, orphans, label collisions, multi-cwd contamination, stale bindings, and missing heartbeats.
Arguments
--json— emit structured JSON output instead of human-readable terminal report--fix— apply SAFE auto-remediations only (see "What gets fixed" below)
Severity model
- 🔴 RED — known-broken state requiring action (zombie launchctl entry, multi-cwd contamination, label collision, contract file missing, cwd_drift_detected)
- 🟡 YELLOW — probably-OK but worth attention (pending-bind >1h, dead pid + recent heartbeat)
- 🟢 GREEN — healthy