Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Explains Cavekit's autonomous /ck:make loop internals: state machine, stop hook, completion sentinel, lock, budgets and iteration cap.
18% 100%+82 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 4 of 22 without it.
Which file under .cavekit/ stores the zero-context UI snapshot generated by progress-tracker?
Identifies .progress.json as the zero-context snapshot file
3 of 3 safety checks passed
The loop lets a single /ck:make invocation run dozens of agent iterations
without user intervention, while still respecting per-task budgets, session
budgets, and explicit user-approval gates.
┌─────────────────┐ Stop event ┌────────────────────┐
│ Claude Code │──────────────▶│ stop-hook.sh │
│ session │ │ (.cavekit/loop │
└─────────────────┘ │ active?) │
▲ └─────────┬──────────┘
│ │ route()
│ next prompt injected ▼
│ ┌────────────────────┐
│ │ cavekit-tools.cjs │
│ │ routeDecision() │
│ │ + status-block │
│ │ + backprop- │
│ │ directive │
│ └─────────┬──────────┘
│ │
└───────── {decision:"block", │
reason:<next prompt>} ◀─┘
All under <project>/.cavekit/:
| File | Writer | Purpose |
|---|---|---|
.loop.json | setup-loop | Sentinel; stop-hook no-ops without it. |
.loop.lock | stop-hook (heartbeat) | Single-writer lock. PID + hostname + ts. |
state.md | cavekit-tools | phase, current_task, iteration. |
token-ledger.json | token-monitor hook | Session + per-task token tallies. |
task-status.json | commands | Authoritative task registry. |
.progress.json | progress-tracker | Zero-context UI snapshot. |
Next to this one in the catalogue, plus more from the same author.