agentleFS
apinizerapinizer/agentnizer-cookbook/.claude/skills/lessons/SKILL.md

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

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.
  • OpenSWESkill

    distill-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

  • OpenSWESkill

    herdr-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

  • gootfSkill

    log-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

The file

Files
SKILL.md

/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 entries

What 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 a 0.95^days_ago exponential 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; when true, 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.