Skip to content
All projects
Developer ToolsJul 2026Live

DistiLL: Mine Your Claude Code History for Reusable Skills

Mine Your Claude Code History for Reusable Skills

Reads your Claude Code conversation history, clusters the patterns you keep repeating, and drafts reusable artifacts from them: a SKILL.md from repeated context, a slash command from a repeated workflow, a findings note from a repeated failure. It is read-only on your transcripts, and you approve what to keep.

distill-charan.vercel.app
DistiLL, the live site
Year
Jul 2026
Scope
solo build
Type
Developer Tools
Status
Live

15 messages max

A full run sends at most 15 short representative messages per cluster, plus aggregate stats. Transcripts stay on your machine, and --dry-run and --local-only make no network call.

01

Overview

If you use Claude Code every day, you repeat yourself: the same background re-explained across sessions, the same multi-step procedure requested again, the same failures happening the same way. DistiLL mines that history and turns the repetition into reusable artifacts. Repeated context becomes a draft SKILL.md, a repeated workflow becomes a draft slash command, and a repeated failure becomes a findings note. Everything lands in ./output/ for review, and DistiLL never installs anything.

02

The hard parts

  1. 01

    Finding real repetition across hundreds of conversations without drowning in noise like greetings and pasted logs.

  2. 02

    Doing pattern discovery without shipping private transcripts to an API.

  3. 03

    Keeping re-runs cheap as history grows.

  4. 04

    Turning a fuzzy cluster of similar messages into a clean, usable draft artifact.

03

The approach

Messages are filtered by length (dropping "yes"-sized noise and pasted files), embedded and clustered. Each cluster is classified as repeated context, workflow or failure, and the largest clusters are drafted first, up to a configurable per-run cap. Privacy is built into the structure: --dry-run and --local-only never make a network call, and a full run sends only a few short cluster representatives plus aggregate stats. Re-runs are incremental because embeddings are cached per text hash, so only new messages get embedded. The report shows every cluster, its classification, confidence and a cost estimate before anything is drafted.

04

Outcome

distill scan ingests transcripts and prints stats. distill run --dry-run embeds, clusters and writes output/report.md with zero API calls. distill run drafts the artifacts. Nothing is installed for you: SKILL.md and command drafts land in ./output/ and you move the ones you approve into ~/.claude/skills/ yourself. Tests run fully offline with an injectable embedding model and a mocked Anthropic client.

05

What I'd do differently

The main design rule was to make privacy a property of the architecture: the local-only and dry-run paths have no code that can reach the network. The MVP mines only human-typed messages. Mining assistant messages and tool_use sequences for workflow patterns is planned for v2.

06

Stack

pipeline
Transcript ingestEmbeddingsClustering
synthesis
Anthropic API (cluster classification)
tooling
Python 3.11+TOML configcached embeddings
tests
pytest (fully offline, mocked client)

Like what you see?

Let's build the next one.

Hiring, or have a problem that needs this kind of engineering? I read every message myself.