lessons

lessons is a skill for Claude Code from andrewcigan/vibe-dev-plugin. It costs 51 tokens per session (917 once invoked), scanned B, original, MIT.

An error and lessons journal for a project. It shows recent mistakes, whether they were addressed, and lessons saved for future work.

In plain words
What is it for?
Use it to review recent errors, see recurring problem types, inspect saved lessons, and export the collected information for a retrospective—a review of what went well and what did not.
Why use it?
It keeps important mistakes from being forgotten or repeated. It also brings past project decisions into view when you need them.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md.

Part of the vibe-dev plugin — 29 skills, 24 agents, 7 hooks shipped together

Good fit Use it to review recent errors, see recurring problem types, inspect saved lessons, and export the collected information for a retrospective—a review of what went well and what did not.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/andrewcigan/vibe-dev-plugin/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 andrewcigan/vibe-dev-plugin --skill lessons
Clone the repo
git clone --depth 1 https://github.com/andrewcigan/vibe-dev-plugin

Made for: Claude Code.

Or install vibe-dev, the plugin that ships this one along with the rest of its 29 skills, 24 agents, 7 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 lessons

README.md
[![agentmods](https://agentmods.dev/badge/skills/andrewcigan/vibe-dev-plugin/lessons/github.svg)](https://agentmods.dev/skills/andrewcigan/vibe-dev-plugin/lessons)
Your own site
<a href="https://agentmods.dev/skills/andrewcigan/vibe-dev-plugin/lessons"><img src="https://agentmods.dev/badge/skills/andrewcigan/vibe-dev-plugin/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 lessons

Your own site · 80×15
<a href="https://agentmods.dev/skills/andrewcigan/vibe-dev-plugin/lessons"><img src="https://agentmods.dev/badge/skills/andrewcigan/vibe-dev-plugin/lessons.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 917 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00051 $0.00917
Opus 5.5 $0.00020 $0.00367
Sonnet 5.5 $0.00010 $0.00183
Haiku 4.5 $0.00005 $0.00092

Measured 3mo ago against content hash 035fcb264103, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

lessons scanned grade B with 1 finding 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 3mo 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

cat ~/.claude/memory/MEMORY.md
skills/lessons/SKILL.md · 104 lines

How it starts

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

/lessons [export]

Управление подсистемой Learning — журнал ошибок и зафиксированные уроки.

По умолчанию (без аргументов): показать

Active errors (этой фазы / последние 30 дней)

# Парсим error-journal.md
# Показываем последние записи + статус promotion

Формат вывода в SESSION.md или в чате:

📓 Errors этой фазы: 7

Top-3 классы ошибок:
1. api_research (3) — закрыто? да (feedback_api_research_first.md)
2. concurrent_write (2) — закрыто? да (feedback_concurrent_writes.md)
3. scope_leak (2) — НЕ закрыто (нужен pre-commit hook)

Recurrence rate: 0% ✓ (или X% ⚠️)
Error velocity: 1.4/неделя

Promoted lessons (память проекта)

ls ~/.claude/projects/<dashed-path>/memory/feedback_*.md

Показать список:

📚 Lessons в памяти проекта: <count>

- feedback_api_research_first.md (4 KB) — главный урок из проекта с документным ассистентом
- feedback_concurrent_writes.md (1.5 KB)
- feedback_no_technical_choices.md (3 KB)
- ...

Глобальные уроки (применимые к пользователю)

cat ~/.claude/memory/MEMORY.md

С аргументом export: выгрузить

/lessons export — собирает всё в один документ для анализа:

mkdir -p ~/.vibe-dev/retrospectives/YYYY-MM-DD-<project>-export/
cd ~/.vibe-dev/retrospectives/YYYY-MM-DD-<project>-export/

# Объединить
cat \
  <project>/error-journal.md \
  ~/.claude/projects/<dashed-path>/memory/MEMORY.md \
  ~/.claude/projects/<dashed-path>/memory/feedback_*.md \
  > ALL_LESSONS_<project>.md

# Создать summary
echo "# Lessons Summary <project>" > SUMMARY.md
echo "" >> SUMMARY.md
echo "Generated: $(date)" >> SUMMARY.md
# ... группировка по классам, частоте, severity

Файлы:

  • ALL_LESSONS_<project>.md — полный архив
  • SUMMARY.md — сводка с группировкой
  • RECURRENCE_ANALYSIS.md — что повторялось и почему

С аргументом add "<urok>": вручную добавить урок

/lessons add "при работе с Telegram-ботами всегда использовать webhook не polling":

  • Создать feedback_<auto_slug>.md в ~/.claude/projects/.../memory/
  • Добавить строку в MEMORY.md этого проекта
  • Спросить пользователя: «Это применимо ко всем твоим проектам? Если да — добавлю в ~/CLAUDE.md»

Read the full file on GitHub · 104 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. 3mo ago First seen · 104 lines · 51 tokens per session scan B 035fcb264103

Subscribe to this mod's changes

lessons is a skill published in the GitHub repository andrewcigan/vibe-dev-plugin (5 stars, last pushed 2mo ago), licensed MIT. It adds 51 tokens to every session and 917 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

lessons compared with skills from other repositories

lessons next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
lessonsandrewcigan/vibe-dev-pluginSkill52mo agoMITB51Claude Code
vibe-reflect-and-compoundash1794/vibe-engineeringSkill1636d agoMITA70Claude Code
event-reviewreatcat/l123-harnessSkill33mo agoMITA92Claude Code
last30Dayschaitanyagiri/munder-difflinSkill10k5d agoMITA83Claude Code
thisWeekchaitanyagiri/munder-difflinSkill10k5d agoMITA77Claude Code
memory-recallzilliztech/memsearchSkill3.0ktodayMITA38Claude Code, Codex
wenlan-handoffwenlan-app/wenlanSkill502yesterdayApache-2.0A46Claude Code, Codex