lessons
Skill2 starsChanged 4 months agoMITView on GitHub
Surface the per-module learned-lessons header — fail rate, recurring patterns, recommended tier floor.
12 other projects use a version of this.
Adopted by
Most recently taken up by
- GravionLabs/skillstheir own version, first seen Nov 15, 2026
- svandragt/lessonstheir own version, first seen Nov 15, 2026
- scolladon/crafttheir own version, first seen Nov 15, 2026
- OpenSWE/log-decisionstheir own version, first seen Nov 1, 2026
- swe-workflow/log-decisionstheir own version, first seen Nov 1, 2026
- moberghr/mtk-agent-toolkittheir own version, first seen Oct 25, 2026
Used with
Projects with it also use distill-prompt, herdr-advisor and 1 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
OpenSWESkilldistill-prompt
Distill this conversation's underlying goal into one reusable prompt that reaches the same final outcome in a fresh session.
Also in 3 projects that use this
OpenSWESkillherdr-advisor
Pair a Herdr worker with one advisor, a stronger model that answers questions on the user's behalf to unblock the worker and leads it to its next task, by accepting its prompt suggestion or sending it text: a worker "still waiting on your go" gets `go`. Invoked by the user (`/herdr-advisor`), and by you in one case only, before the first step of the work and whatever the plan's size, when a grilling session has ended with its frontier empty, the user's confirmation has you execute the plan now, no advisor pair is live, and the confirmation did not decline one.
Also in 3 projects that use this
gootfSkilllog-decisions
Append-only DECISIONS.md journal at the project root for consequential calls the spec didn't settle. Use when you (or the user) make a non-trivial call worth a durable record — an ambiguity you interpreted, a tradeoff, a deviation, or a hard-to-undo action.
Also in 3 projects that use this
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- sampleXbro/agentsmesh★ 27same name
- moberghr/mtk-agent-toolkit★ 9same name
- OpenSWE/log-decisions★ 4same name
- OpenSWE/skills★ 4same name
- swe-workflow/log-decisions★ 4same name
- ChewbaccaRoars/pathfinder-skills★ 2same name
- derekcedarbaum2/content-machine★ 2same name
- scolladon/craft★ 2same name
- 3xian/lessons★ 1same name
- GravionLabs/skills★ 0same name
2 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
Files
/lessons — Per-module learned-lessons header
Round 5b1 introduced a deterministic lessons-header block at the top of
each .claude/learned-lessons/<module>-lessons.md file. The retrospective
agent appends raw lessons; an idle scheduler recomputes the header
deterministically (no LLM in the loop). This skill surfaces that header
without scrolling through long lessons files.
Usage
/lessons # all modules — one-line header per module
/lessons --module <name> # full header for one module
/lessons --detail <name> # header + last 10 raw lessons entriesWhat it shows
Per-module computed header:
total_tasks— count of completed tasks attributed to the module.fail_rate_30d— weighted failure rate over the last 30 days, using a0.95^days_agoexponential decay so recent failures dominate.recurring_patterns[]— array of{id, severity, occurrences}; patterns that recur across ≥3 tasks earn a stable id and surface here.recommended_tier_floor— minimum deviation tier (1–3) the developer should declare for new tasks in this module, derived from recurring pattern severity.recommend_pre_decompose— boolean; whentrue, the planner pre-flight gate splits tasks more aggressively before dispatch.
Use case
The planner reads recommended_tier_floor and recommend_pre_decompose
during pre-flight. /lessons is the operator-side window into the same
data — useful before manually running /start on a module known to have
high fail rate, so you can size scope realistically.
Notes
The header is recomputed deterministically by the idle scheduler; values are reproducible from the same input lessons file. The retrospective agent never edits the header directly — it only appends raw lessons.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

