← ClaudeAtlas

distill-brieflisted

(beta) Distill ONE kept chat into a paste-ready first message at briefs/UNNN.brief.md plus a target title at briefs/UNNN.name.txt; standing requirements only; summarize long chats and overflow to a project knowledge doc above max_brief_tokens. Called by launch-worker.sh in parallel subprocesses. Self-contained - no conversation history assumed.
SashaMarchuk/claude-plugins · ★ 0 · AI & Automation · score 75
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