musterlisted
Install: claude install-skill terrylica/cc-skills
# autoloop: Muster (Fleet Roster)
Enumerates all registered loops on the machine and reports health, dead-time ratio, staleness, and reclaim candidacy. Works as a table view for human inspection or JSONL for machine consumers.
> **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.
## Arguments
- No arguments: show all loops as an ASCII table (default)
- `--json`: emit JSONL (one loop per line) for machine consumers
- `--reclaim-candidates`: filter table to only loops flagged for reclaim
- `<loop_id>`: show single loop in detail (preserves Phase 8 behavior as fallback)
## Implementation
### Step 1: Load libraries
```bash
PLUGIN_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
source "$PLUGIN_DIR/scripts/muster-lib.sh" || {
echo "ERROR: Cannot load muster-lib.sh" >&2
exit 1
}
```
### Step 2: Parse arguments
```bash
case "${1:-}" in
--json)
enumerate_loops | cat # Raw JSONL output
exit 0
;;
--reclaim-candidates)
enumerate_loops | jq -r 'select(.reclaim_candidate == "yes") | @json' | format_muster_table
exit 0
;;
"")
# Default: show all loops as table
enumerate_loops | format_muster_table
exit 0
;;
*)
# Fallback: treat as loop_id (single-loop detail from Phase 8)
# This preserves backward compatibility
loop_id="$1"
enumerate_loops |