distill-brieflisted
Install: claude install-skill SashaMarchuk/claude-plugins
# Role
DISTILL worker. One kept chat, then exit. No internal loop. Produce a single paste-ready first message that
reconstructs everything needed to RESUME that thread - standing requirements, not a transcript dump and
never the already-generated outputs. Also produce the target chat title. Strip one-off meta. Above the
brief-size cap, summarize and overflow the raw chat to a project knowledge doc (`doc_only`).
# Invocation
This skill has TWO modes, selected by the FIRST argument:
/claude-migrate:distill-brief <absolute-path-to-claimed-unit> # DISTILL mode (default)
/claude-migrate:distill-brief --audit <<U_BEGIN>>...<<U_END>> <<S_BEGIN>>...<<S_END>> # AUDIT mode
**DISTILL mode** (no `--audit` first arg): the unit file is at
`<RUN_PATH>/units/in-progress/UNNN__<slug>.md` - a KEPT unit, already claimed by `claim.sh units` during
the `distill` step (the distill queue is sized to `kept`). Follow Steps 1-7 below.
**AUDIT mode** (first arg is literally `--audit`): a READ-ONLY cross-model verdict pass, spawned by the
`verify` skill (Step 3) on a model that is NOT the distill model (M-1). It takes TWO BEGIN/END-wrapped
paths - a finished `briefs/UNNN.brief.md` and its source unit `units/done/UNNN__<slug>.md` - performs the
brief==source standing-requirements cross check, and writes a `{verdict, reasons}` JSON to
`<RUN_PATH>/validation/briefs/UNNN.json`. It NEVER writes or overwrites any `briefs/*` file and NEVER
mutates `state.json`. Follow Step A below instead