
Lesson
- 335 installs
- 4.5k repo stars
- Updated August 4, 2026
- win4r/memory-lancedb-pro
lesson is a Claude agent skill that extracts pitfalls, bug fixes, and key insights from recent conversation context and persists them to LanceDB long-term memory for developers running memory-lancedb-pro enabled agents.
About
lesson is an agent skill bundled with win4r/memory-lancedb-pro that captures durable learnings from the current session. Triggered by the /lesson command, the skill scans recent conversation context for pitfalls, root causes, fixes, or key insights, then stores a structured technical record in LanceDB with category fact and importance scored at 0.8 or higher. Developers use it when a debugging session or architecture discussion surfaces knowledge worth reusing across future agent runs. The skill requires the memory-lancedb-pro plugin to be enabled in agent configuration. Stored entries follow a Pitfall, Cause, and Fix template so retrieval surfaces actionable guidance rather than vague summaries.
- lesson
- AI & Agent Building
- AI-coding skill
Lesson by the numbers
- 335 all-time installs (skills.sh)
- Ranked #2,184 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/win4r/memory-lancedb-pro --skill lessonAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 335 |
|---|---|
| repo stars | ★ 4.5k |
| Last updated | August 4, 2026 |
| Repository | win4r/memory-lancedb-pro ↗ |
How do agents persist lessons learned across sessions?
Helps with ai & agent building tasks.
Who is it for?
Developers running memory-lancedb-pro agents who want recurring pitfalls and fixes saved automatically after meaningful debugging or design conversations.
Skip if: Developers without memory-lancedb-pro configured or teams that need formal runbooks, ADRs, or git-committed documentation instead of agent memory.
When should I use this skill?
The user runs /lesson or signals that a recent conversation contains a pitfall, fix, or insight worth persisting to long-term agent memory.
What you get
Structured LanceDB memory entries with pitfall symptoms, root causes, fixes, and importance scores for future retrieval.
- LanceDB long-term memory entries with pitfall, cause, and fix structure
By the numbers
- Stores technical-layer facts with importance threshold ≥ 0.8
Files
Lesson Extraction & Storage
When triggered, extract and store lessons from the recent conversation context.
Steps
1. Scan recent context — identify the pitfall, bug fix, or key insight just discussed 2. Store technical layer (category: fact, importance ≥ 0.8):
Pitfall: [symptom]. Cause: [root cause]. Fix: [solution]. Prevention: [how to avoid].3. Store principle layer (category: decision, importance ≥ 0.85):
Decision principle ([tag]): [behavioral rule]. Trigger: [when]. Action: [what to do].4. Verify — memory_recall with anchor keywords to confirm both entries retrievable 5. Report — tell Master what was stored (brief summary)
Rules
- Keep entries short and atomic (< 500 chars each)
- If the lesson also affects a checklist or SKILL.md, update those files too
- If no clear lesson is found in recent context, ask Master what to store
Related skills
FAQ
What triggers the lesson skill?
The lesson skill triggers on the /lesson command or when the user signals that recent conversation contains a pitfall, fix, or key insight worth persisting. The skill scans recent context and writes a structured entry to LanceDB long-term memory.
What plugin does lesson require?
The lesson skill requires memory-lancedb-pro with plugins.entries.memory-lancedb-pro.enabled set in agent configuration. Without that plugin, lesson extraction and LanceDB storage cannot run.