distilling-plan-learnings

distilling-plan-learnings is a skill for Claude Code from qte77/claude-code-plugins. It costs 33 tokens per session (910 once invoked), scanned A, original, Apache-2.0.

A process for extracting decisions, rejected options, and reusable patterns from recent plan files into a learnings document. It uses plans from a chosen time period, such as the last seven or thirty days.

In plain words
What is it for?
Use it after a plan or sprint, at a planning boundary, or before new work to record and review accumulated decisions.
Why use it?
It preserves useful project knowledge so future work does not repeat the same investigation or reconsider settled choices.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code.

Part of the cc-meta plugin — 8 skills, 2 hooks shipped together

Good fit Use it after a plan or sprint, at a planning boundary, or before new work to record and review accumulated decisions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/qte77/claude-code-plugins/distilling-plan-learnings
Install

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.

Any agent
npx skills add qte77/claude-code-plugins --skill distilling-plan-learnings
Clone the repo
git clone --depth 1 https://github.com/qte77/claude-code-plugins

Made for: Claude Code.

Or install cc-meta, the plugin that ships this one along with the rest of its 8 skills, 2 hooks.

Wrote 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.

agentmods badge for distilling-plan-learnings

README.md
[![agentmods](https://agentmods.dev/badge/skills/qte77/claude-code-plugins/distilling-plan-learnings/github.svg)](https://agentmods.dev/skills/qte77/claude-code-plugins/distilling-plan-learnings)
Your own site
<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.

agentmods 80×15 button for distilling-plan-learnings

Your own site · 80×15
<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>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 910 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 8d ago against content hash 9bebc2b28582, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

plugins/cc-meta/skills/distilling-plan-learnings/SKILL.md · 117 lines

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

  1. Parse arguments — Apply defaults per Arguments table. Resolve output path. Create parent directories if needed.

  2. Glob plans — Glob ~/.claude/plans/*.md. Filter by modification time against the time-range argument. Sort by mtime descending (newest first). If no plans match, report "No plans found in time range" and stop.

  3. Read each plan — Read matching plan files sequentially. Extract content sections, noting plan title and date.

  4. 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.

Read the full file on GitHub · 117 lines

Changes

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.

  1. 8d ago Changed 9bebc2b28582
  2. 2mo ago Changed 66f1f6ed4775
  3. 2mo ago Changed · +33 tokens per session 3fda5957b702
  4. 3mo ago First seen · 117 lines · 0 tokens per session scan A ec78b2757735

Subscribe to this mod's changes

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.

Related

distilling-plan-learnings compared with skills from other repositories

distilling-plan-learnings next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
distilling-plan-learningsqte77/claude-code-pluginsSkill3yesterdayApache-2.0A33Claude Code
meta-synthesisstefanoskarakasis/Product-Marketing-SkillsSkill22todayMITA83Claude Code
meta-learnstefanoskarakasis/Product-Marketing-SkillsSkill22todayMITA64Claude Code
evolving-statusclaude-world/director-mode-liteSkill801mo agoMITA17Claude Code
dreamsaadshahd/moo.mdSkill39todayMITA65Claude Code
session-recapsxhmilyoyo/sundayhao-pluginsSkill88d agoApache-2.0A39Claude Code
knowledge-bank-lookupsxhmilyoyo/sundayhao-pluginsSkill88d agoApache-2.0A94Claude Code