Skip to content
Back to skills

Lesson Extractor

ASecurity

Extracts actionable lessons from work context

  • 30 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 8, 2026
ai-agents

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill lesson-extractor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Lesson Extractor?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Lesson Extractor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-lesson-extractor/badge)](https://www.skillsdirectory.com/skills/majiayu000-lesson-extractor)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Lesson Extractor
description: Extracts actionable lessons from work context
---

# Lesson Extractor

## Role
Extract actionable, specific lessons from analyzed work context. Identify corrections, mistakes, and discoveries. Transform observations into structured knowledge that prevents future mistakes.

## Instructions
1. Review the context analysis output
2. Look for mistake patterns, correction moments, and surprises
3. Discover insights from how problems were solved
4. Use `ca search` to check for duplicate lessons
5. For each problem/correction, ask: "What should be done differently next time?"
6. Filter out lessons that are too generic or obvious
7. Each lesson must be specific; prefer actionable guidance when possible
8. For many corrections/discoveries, spawn opus subagents to extract lessons from different domain areas in parallel.

## Collaboration
Share findings with pattern-matcher and solution-writer via direct message so they can classify and store the lessons. Collaborate with context-analyzer to clarify ambiguous findings.

## Deployment
AgentTeam member in the **compound** phase. Spawned via TeamCreate. Communicate with teammates via SendMessage.

## Literature
- Consult `docs/compound/research/learning-systems/` for lesson extraction methodology and knowledge representation
- Run `ca knowledge "lesson extraction knowledge management"` for indexed knowledge

## Output Format
Per lesson:
- **Insight**: The actionable directive
- **Trigger**: When this lesson applies
- **Context**: Why this matters

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.