repeated context
The rules you keep re-pasting
Same project conventions explained to a fresh session, week after week. DistiLL notices, and drafts a SKILL.md that says it once.
Claude Code · developer tooling
DistiLL reads your Claude Code history, finds the context and procedures you keep re-typing, and hands back draft skills, slash commands and findings. It reads your transcripts. It never installs anything.
$ distill run --dry-run
== DistiLL scan ==
files scanned : 148 (0 skipped)
sessions : 61
human messages kept : 1,204
unique texts : 913
embedding...
clustering...
found 7 clusters
--dry-run: stopping before any API call. Report: output/report.mdIllustrative output. --dry-run does the whole pipeline except the API calls, so you can see what it found before spending anything.
What it looks for
Every cluster gets sorted into one of three buckets — or thrown away as noise, which is the most common outcome and the correct one.
repeated context
Same project conventions explained to a fresh session, week after week. DistiLL notices, and drafts a SKILL.md that says it once.
repeated workflow
“Run the migration, check the diff, then…” — the same five steps every time. That's a slash command you haven't written yet.
repeated failure
Sessions that go wrong the same way point at a setup problem, not a prompting one. Those land in findings.md with a suggested fix.
local by default
Read-only on ~/.claude/projects. Only a handful of short cluster representatives ever leave the machine, and only on a full run.
incremental
Embeddings are cached per text hash, so a re-run only embeds what's new. The expensive part happens once.
drafts, not installs
Everything lands in ./output/ for you to read. Move the ones you approve into ~/.claude/skills/ yourself.
Pipeline
Walks ~/.claude/projects for JSONL, keeps only genuine human-typed messages, and drops tool results, sidechains, meta lines and slash-command noise. The format is undocumented and drifts between releases, so every parse failure is a warning, never a crash.
all-MiniLM-L6-v2 turns each unique message into a normalized vector. Vectors are cached per text hash, so the second run is nearly free.
HDBSCAN over the embeddings, with each message weighted by how many distinct sessions it showed up in. A note you pasted eight times across eight sessions pulls real mass; one you wrote eight times in a single afternoon does not.
One Anthropic API call per cluster returns strict JSON: a category, a confidence, and a drafted artifact. Low confidence writes nothing. Invalid JSON gets one retry, then gives up without taking the run down with it.
Getting started
$ python3 -m venv .venv && .venv/bin/pip install -e .
$ distill scan # read transcripts, print stats
$ distill run --dry-run # + cluster and report, zero API calls
$ distill run # + classify and draft artifactsContact
Want to build something — or break something interesting? I read everything that lands, and I answer the ones with a real problem in them.
Fastest route is the call link — 30 minutes, no pitch deck. Everything else reaches the same inbox.