/loop-builder:loop-distillerfrom loop-builder
Turns a recently performed multi-step workflow into a pre-filled loop blueprint by reading the session transcript, applying a rubric, and handing off to loop-builder.
Ships in loop-builder. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Turn real session history into a pre-filled loop-builder blueprint. This skill
is the evidence front-end; loop-builder is the interview and the single
scaffolding authority. Output is always a loop — never a standalone skill.
The backbone knowledge is references/distillation.md (rubric + blueprint +
handoff). Load it when you run the flow.
On demand only (Trigger A). The user asks to distill what they just did. There is no background watching in this phase — a cross-session scanning loop (Trigger C) is designed in the spec but not built yet.
Read the transcript. Prefer the current session already in your context.
For precision or after a /clear/compaction, re-read it deterministically:
python3 -c "import sys; sys.path.insert(0, '${CLAUDE_PLUGIN_ROOT}/skills/loop-distiller/scripts/distiller'); \
import transcript_reader as tr, json; p = tr.locate(); \
print(json.dumps(tr.condense(tr.parse(p)), indent=2) if p else 'NO_TRANSCRIPT')"
The script's transcript-path scheme is an observed Claude Code convention —
verify against current docs; if it returns NO_TRANSCRIPT, fall back to
the in-context history.
Apply the rubric from references/distillation.md. Count how many of the
seven blocks have evidence. Lenient gate: 4+ blocks → proceed. Fewer → tell the
user this session doesn't look like a reusable workflow yet, and stop. (Saying
no is the point — most sessions are one-offs.)
Draft the blueprint. Emit loop-builder's fill-in template with each line
drawn from evidence, an ⟵ ev: cite, and a confidence marker. Any block
without evidence is UNKNOWN → ASK. Never fabricate a value or a /goal
/loop /schedule flag — flag uncertainty instead.
Hand off to loop-builder. Present the draft for correction, then invoke the
loop-builder skill with the corrected answers as its interview starting
point — the corrected answers are passed by inlining them in the conversation,
not via a file or argument contract. Do not scaffold loop files here.
SKILL.md, a STATE.md, or any scaffold file — that is
loop-builder's job.UNKNOWN → ASK beats a confident guess.On an error or when clearly blocked, capture locally (never auto-filed):
python3 "${CLAUDE_PLUGIN_ROOT}/skills/feedback-to-issue/scripts/feedback/cli.py" \
append --category bug --text "<what broke + context>"
To review and file, invoke the loop-builder:feedback-to-issue skill.
references/distillation.md (opens in a new tab)scripts/distiller/digest_store.py (opens in a new tab)scripts/distiller/ledger.py (opens in a new tab)scripts/distiller/signature.py (opens in a new tab)scripts/distiller/transcript_reader.py (opens in a new tab)scripts/distiller/verify_scan.py (opens in a new tab)scripts/tests/fixtures/session.jsonl (opens in a new tab)scripts/tests/fixtures/session_b.jsonl (opens in a new tab)scripts/tests/test_digest_store.py (opens in a new tab)scripts/tests/test_ledger.py (opens in a new tab)scripts/tests/test_loop_distiller.sh (opens in a new tab)scripts/tests/test_signature.py (opens in a new tab)scripts/tests/test_transcript_reader.py (opens in a new tab)scripts/tests/test_verify_scan.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub aaronlps/loop-builder --plugin loop-builder3 skills in this plugin
/feedback-to-issueCapture, review, and file a bug report or feedback as a GitHub issue under the user's OWN account. Use whenever the user wants to report a bug, give feedback, file an issue, or review collected feedback about loop-builder or a loop it generated. Sanitizes private content and requires explicit consent before any public issue is filed./loop-builderDesign and scaffold an agent "loop" — an unattended, scheduled, self-verifying agent workflow. Use this whenever the user wants to automate a recurring task, schedule an agent, run an agent unattended or overnight, set up monitoring, triage, or alerting, poll something on a cadence, or turn a manual repeated workflow into a self-running one — even if they never say the word "loop." If a request implies "do this every day / on a schedule / until some condition holds, without me typing each time," reach for this skill. It walks the seven-question blueprint, picks the simplest loop pattern, and scaffolds the six building blocks (schedule, isolation, skill, connectors, verifier, state) with a human-gate list and a budget.Other plugins' skills for the same job