# Distill

> Run the flywheel distillation pass — review logged corrections and promote repeated lessons into durable principles, then prune stale ones. Use when corrections have accumulated, during a weekly review, or when the user says "distill" or asks Claude to consolidate what it has learned.

- **Type:** Skill
- **Install:** `agentstack add skill-winterddo-claude-skill-flywheel-distill`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [WinterDDo](https://agentstack.voostack.com/s/winterddo)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [WinterDDo](https://github.com/WinterDDo)
- **Source:** https://github.com/WinterDDo/claude-skill-flywheel/tree/main/plugins/flywheel/skills/distill

## Install

```sh
agentstack add skill-winterddo-claude-skill-flywheel-distill
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Distill the flywheel

Read `~/.claude/.flywheel/corrections.md` and `~/.claude/.flywheel/principles.md`.

For each recurring theme across the corrections, test it against the three promotion gates:

1. **Seen 3+ times** in genuinely different situations (not the same task replayed).
2. **Holds across 3 domains** (for example coding, writing, decisions) — not a one-off quirk.
3. **Deletion test:** removing the principle would cause an observable regression.

For every theme that passes all three:
- Append a one-line principle to the **In force** section of `principles.md`, using the format `[date] | domains: [d1, d2] | the principle in one or two sentences`.
- Note which corrections it subsumes so they can be thinned from the log.

Then maintain the rest:
- **Demote** any in-force principle whose violations have recurred (it was stated wrong); remove it from In force so it stops re-entering sessions.
- **Prune** pool entries with no recurrence in 60 days.

Be ruthless: maturity is **fewer** principles, not more. If "In force" only ever grows, you are collecting scenarios instead of finding root causes.

Finish by reporting what you promoted, demoted, and pruned, and how many corrections remain unconsolidated.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [WinterDDo](https://github.com/WinterDDo)
- **Source:** [WinterDDo/claude-skill-flywheel](https://github.com/WinterDDo/claude-skill-flywheel)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-winterddo-claude-skill-flywheel-distill
- Seller: https://agentstack.voostack.com/s/winterddo
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
