Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add qte77/claude-code-plugins --skill distilling-plan-learningsgit clone --depth 1 https://github.com/qte77/claude-code-pluginsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/qte77/claude-code-plugins/distilling-plan-learnings)<a href="https://agentmods.dev/skills/qte77/claude-code-plugins/distilling-plan-learnings"><img src="https://agentmods.dev/badge/skills/qte77/claude-code-plugins/distilling-plan-learnings/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/qte77/claude-code-plugins/distilling-plan-learnings"><img src="https://agentmods.dev/badge/skills/qte77/claude-code-plugins/distilling-plan-learnings.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00033 | $0.00910 |
| Opus 5.5 | $0.00013 | $0.00364 |
| Sonnet 5.5 | $0.00007 | $0.00182 |
| Haiku 4.5 | $0.00003 | $0.00091 |
Grade A, and why
distilling-plan-learnings scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Plan-to-Learnings Distiller
Target: $ARGUMENTS
Extracts structured learnings from Claude Code plan files. Distills decisions made, alternatives rejected, and patterns discovered into a persistent document that compounds project knowledge over time.
Arguments
| Position | Name | Required | Default | Description |
|---|---|---|---|---|
| 1 | time-range |
no | 7d |
E.g. 7d, 30d, this-week. Filter plans by modification time. |
| 2 | output-path |
no | docs/learnings/from-plans.md |
Where to write/append output. |
Examples:
/distilling-plan-learnings # Last 7 days → docs/learnings/from-plans.md
/distilling-plan-learnings 30d # Last 30 days
/distilling-plan-learnings 7d ./my-learnings.md # Custom output path
Data Source
~/.claude/
├── plans/*.md # Plan mode files (filtered by mtime)
When to Use
- After completing a plan or sprint — capture what was learned
- At week/sprint boundaries — accumulate decision history
- Before starting a new plan — review past decisions and patterns
Do Not Use
- For real-time plan editing (use plan mode directly)
- For cross-project synthesis (use
/synthesizing-cc-bigpicture) - For session-level context (use session-memory)
Workflow
-
Parse arguments — Apply defaults per Arguments table. Resolve output path. Create parent directories if needed.
-
Glob plans — Glob
~/.claude/plans/*.md. Filter by modification time against thetime-rangeargument. Sort by mtime descending (newest first). If no plans match, report "No plans found in time range" and stop. -
Read each plan — Read matching plan files sequentially. Extract content sections, noting plan title and date.
-
Extract learnings into three categories:
- Decisions made — Choices that were committed to. Look for: selected approaches, accepted trade-offs, finalized designs, chosen tools/patterns.
- Alternatives rejected — Options considered but not chosen. Look for: crossed-out items, "decided against", "considered but", trade-off discussions, pros/cons where one side won.
- Patterns discovered — Recurring themes or insights. Look for: repeated blockers, successful strategies, workflow improvements, reusable solutions.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago Changed 9bebc2b28582
- 2mo ago Changed 66f1f6ed4775
- 2mo ago Changed · +33 tokens per session 3fda5957b702
- 3mo ago First seen · 117 lines · 0 tokens per session scan A ec78b2757735
distilling-plan-learnings is a skill published in the GitHub repository qte77/claude-code-plugins (3 stars, last pushed yesterday), licensed Apache-2.0. It adds 33 tokens to every session and 910 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
distilling-plan-learnings compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| distilling-plan-learningsqte77/claude-code-plugins | Skill | 3 | yesterday | Apache-2.0 | A | 33 | Claude Code |
| meta-synthesisstefanoskarakasis/Product-Marketing-Skills | Skill | 22 | today | MIT | A | 83 | Claude Code |
| meta-learnstefanoskarakasis/Product-Marketing-Skills | Skill | 22 | today | MIT | A | 64 | Claude Code |
| evolving-statusclaude-world/director-mode-lite | Skill | 80 | 1mo ago | MIT | A | 17 | Claude Code |
| dreamsaadshahd/moo.md | Skill | 39 | today | MIT | A | 65 | Claude Code |
| session-recapsxhmilyoyo/sundayhao-plugins | Skill | 8 | 8d ago | Apache-2.0 | A | 39 | Claude Code |
| knowledge-bank-lookupsxhmilyoyo/sundayhao-plugins | Skill | 8 | 8d ago | Apache-2.0 | A | 94 | Claude Code |