curate-lessons

curate-lessons is a skill for Claude Code from vlad-ryzhkov/ai-context-engineering-for-qa. It costs 45 tokens per session (1,521 once invoked), scanned A, original, Unlicense.

A procedure for reviewing pending notes about mistakes or lessons learned and moving validated ones into the project's agent guidance files.

In plain words
What is it for?
Use it to curate pending lessons after checking the project's existing guidance, quality rules, and required validation steps.
Why use it?
It prevents unverified or duplicate advice from becoming permanent project rules.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md.

Good fit Use it to curate pending lessons after checking the project's existing guidance, quality rules, and required validation steps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vlad-ryzhkov/ai-context-engineering-for-qa/curate-lessons
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 vlad-ryzhkov/ai-context-engineering-for-qa --skill curate-lessons
Clone the repo
git clone --depth 1 https://github.com/vlad-ryzhkov/ai-context-engineering-for-qa

Made for: Claude Code.

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 curate-lessons

README.md
[![agentmods](https://agentmods.dev/badge/skills/vlad-ryzhkov/ai-context-engineering-for-qa/curate-lessons/github.svg)](https://agentmods.dev/skills/vlad-ryzhkov/ai-context-engineering-for-qa/curate-lessons)
Your own site
<a href="https://agentmods.dev/skills/vlad-ryzhkov/ai-context-engineering-for-qa/curate-lessons"><img src="https://agentmods.dev/badge/skills/vlad-ryzhkov/ai-context-engineering-for-qa/curate-lessons/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 curate-lessons

Your own site · 80×15
<a href="https://agentmods.dev/skills/vlad-ryzhkov/ai-context-engineering-for-qa/curate-lessons"><img src="https://agentmods.dev/badge/skills/vlad-ryzhkov/ai-context-engineering-for-qa/curate-lessons.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,521 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.00045 $0.01521
Opus 5 $0.00023 $0.00760
Sonnet 5 $0.00009 $0.00304
Haiku 4.5 $0.00005 $0.00152

Measured yesterday against content hash 5089a1a34aed, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

curate-lessons 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 yesterday.

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.

in-progress/ace/ace-kit/skills/curate-lessons/SKILL.md · 166 lines

How it starts

The opening of the file, as written. The whole thing — 166 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/curate-lessons — Lesson Curation

Curates lessons from .ai-lessons/pending.md, deduplicates against existing rules, and promotes confirmed patterns into target context files.

When to Use

Run when .ai-lessons/pending.md has >= 3 entries.


Phase Checkpoints

STOP if:

  • .ai-lessons/pending.md does not exist → output curate-lessons: .ai-lessons/pending.md not found. Create it first. and STOP
  • Fewer than 3 entries in pending.md → output count warning and STOP

WARN if:

  • A rule has no Source: or Date: metadata → tag as unverified, proceed with caution

INFORM:

  • Phase transitions only (no per-rule progress lines)

SILENT MODE

Output only phase transitions and the final SKILL COMPLETE block. No intermediate progress lines.


Phase 1: Load Pending Lessons

Read .ai-lessons/pending.md. Extract all RULE: entries with source and date metadata.

Entries may have a [REFLECTOR] prefix — these come from the Reflector protocol (proactive pattern detection). Preserve the pattern metadata (Pattern: {detector}, {count}x across {skills}) in the curation report for traceability. [REFLECTOR] entries have already been semantically deduped by the Reflector protocol, but Phase 2 still runs its own dedup pass (defense in depth).

If file is empty or has < 3 entries → output:

curate-lessons: only {N} pending entries — minimum 3 required. Run again when more lessons accumulate.

and STOP.


Phase 2: 2-Pass Hybrid Dedup

Pass 1 — Grep Narrowing: For each pending rule, extract 2-3 keywords. Run Grep across dedup targets:

  1. CLAUDE.md
  2. .claude/qa-antipatterns/**/*.md
  3. .claude/skills/*/SKILL.md
  4. .claude/protocols/*.md

Collect only files with keyword hits → candidate set.

Pass 2 — Semantic Comparison (candidates only): Read each candidate file. Compare rule intent semantically.

Assign one of 4 verdicts:

Verdict Meaning Action
DUPLICATE Identical or semantically equivalent rule already exists Skip — do not promote
OVERLAP Partial overlap with existing rule Flag for user — suggest merging
UNIQUE No coverage in any target file Promote
META Self-referential: about curation/gardener process Target: curate-lessons/SKILL.md or protocols/gardener.md, NOT CLAUDE.md

Read the full file on GitHub · 166 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. yesterday Changed · +141 lines · +24 tokens per session 5089a1a34aed
  2. 10d ago First seen · 25 lines · 21 tokens per session scan A 5c819a785990

Subscribe to this mod's changes

curate-lessons is a skill published in the GitHub repository vlad-ryzhkov/ai-context-engineering-for-qa (6 stars, last pushed yesterday), licensed Unlicense. It adds 45 tokens to every session and 1,521 once invoked, about $0.0002 per session on Opus 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.