goal-locklisted
Install: claude install-skill MelonS/MelonS-Agents
# goal-lock
A small discipline helper. When an autonomous worker or a long
interactive session is advancing the active goal in `docs/goal.md`,
it's useful to know *at a glance* which deliverable subgoals are
still unchecked. That's the entire purpose of this skill.
## What this does
Reads the first `### YYYY-MM-DD | ...` subsection under `## Active
goal` in `docs/goal.md` and lists every `- [ ]` (unchecked)
deliverable subgoal. Also reports the count and the
"Done when" line if present.
## What this does NOT do
- Does not alter the Claude Code harness's turn loop. The agent
still runs whatever the operator or scheduler invoked.
- Does not auto-tick subgoals. Operator (or the
per-commit hook that ticks subgoals on relevant commits) does
that.
- Does not enforce any policy. This is read-only reporting. If
the operator wants autonomous mode to halt when all subgoals
are checked, they wire `scripts/check-done.sh`'s exit code
into their `AUTONOMY_MODE` driver.
## Why this exists
`docs/goal.md` "Done when" criteria are prose plus a list of
deliverable subgoals. Without a one-liner check, a long
autonomous session has to either (a) re-read the entire goal file
between iterations or (b) drift past the goal because no one
re-checked completion. This skill makes the check a single
`bash` call.
## Invocation
```bash
# Default — list unchecked subgoals + counts
bash skills/goal-lock/scripts/check-done.sh
# One-line summary
bash skills/goal-lock/scripts/chec