lesson

Capture concise lessons from conversations into LESSONS.md with structured entries.

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/gerardloupecyb/claude-code-project-template --skill lesson-gerardloupecyb
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lesson
Source: https://github.com/gerardloupecyb/claude-code-project-template/tree/main/.claude/skills/lesson
Command: npx skills add https://github.com/gerardloupecyb/claude-code-project-template --skill lesson-gerardloupecyb

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Capture quick lessons learned from conversations and experiments into LESSONS.md, preventing context loss across sessions.

Core Features & Use Cases

  • Rapid capture: Generate a structured lesson entry in LESSONS.md in about 10 seconds with a single confirmation.
  • Domain inference: Propose a domain based on recent context and active CARL rules.
  • Workflow support: Offer migration to Supermemory and docs/solutions when the lesson count reaches thresholds, and prompt for CARL rule promotion when appropriate.
  • Format enforcement: Ensure entries follow a strict, repeatable format to support search and reuse across sessions.

Quick Start

Use the lesson skill to capture a new lesson from the current conversation into LESSONS.md.

Frequently Asked Questions about lesson

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I capture lessons learned from a conversation into a markdown file?

You can capture lessons learned directly into LESSONS.md by confirming a single prompt. The skill generates a structured entry in about 10 seconds, preventing context loss across sessions.

What is the best way to retain knowledge management context across multiple chat sessions?

Knowledge management context is retained by enforcing strict entry formatting in LESSONS.md. This ensures entries are searchable and reusable across different ongoing sessions.

How do I organize markdown notes when the lesson count reaches a certain threshold?

When the lesson count reaches defined thresholds, the workflow prompts you to migrate entries. It offers migration to Supermemory and docs/solutions to organize accumulated notes.

Can I automatically infer the domain for my captured lessons?

Yes, the domain for captured lessons is inferred automatically. It proposes a domain based on recent conversational context and active CARL rules.

When should I promote a captured lesson to a CARL rule?

A captured lesson should be promoted to a CARL rule when specific criteria are met. The workflow automatically prompts for CARL promotion when appropriate patterns emerge.