Claude Code · developer tooling

You already wrote the skill.
You just wrote it eleven times.

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.

~/projects
$ 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.md

Illustrative 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

Three shapes of repetition

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

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.

repeated workflow

The procedure you keep re-describing

“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

The wall you keep hitting

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

Your transcripts stay put

Read-only on ~/.claude/projects. Only a handful of short cluster representatives ever leave the machine, and only on a full run.

incremental

Second run is cheap

Embeddings are cached per text hash, so a re-run only embeds what's new. The expensive part happens once.

drafts, not installs

Nothing is installed for you

Everything lands in ./output/ for you to read. Move the ones you approve into ~/.claude/skills/ yourself.

Pipeline

Four stages, one of which costs money

  1. Read the transcripts

    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.

  2. Embed what survived

    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.

  3. Cluster by repetition, not by count

    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.

  4. Classify and draft

    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

Three commands, in increasing order of risk

install & run
$ 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 artifacts

Contact

Have an idea? Let’s talk.

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.

This opens your mail client with the message ready to send — no form data touches a server.