.claude/skills/aget-record-lesson/SKILL.md
Record lessons learned from sessions as persistent, searchable, committable artifacts. Classifies each lesson as Framework (help other AGETs) or Domain (help principal).
npx skillsauth add aget-framework/template-executive-aget aget-record-lessonInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Record lessons learned as structured L-docs in the git repo. Each lesson is classified to determine storage location and ID scheme.
Capture learnings in a persistent, searchable format that survives context windows and session boundaries. Enables knowledge accumulation across sessions.
$ARGUMENTS - Optional lesson description or trigger context
Identify what triggered the lesson:
Ask the user:
Classification Required
Would this lesson help another AGET (different principal, different domain)?
- Framework → Reusable across AGETs →
.aget/evolution/L###_*.md- Domain → Helps this principal →
knowledge/patterns/*.md
Decision Tree:
Would this help another AGET?
├── YES → Framework → .aget/evolution/L###_{name}.md (gets L-number)
└── NO → Would this help the principal without an AGET?
├── YES → Domain → knowledge/patterns/{category}/{name}.md
└── UNCLEAR → Ask user to clarify
# Read next_id from index.json
jq '.next_id' .aget/evolution/index.json
Framework Template (.aget/evolution/L{ID}_{name}.md):
# L{ID}: {Title}
**Date**: {YYYY-MM-DD}
**Type**: Lesson Learned
**Category**: {category}
**Status**: complete
---
## Summary
{One paragraph summary of the lesson}
---
## Context
{What triggered this lesson? What were you doing?}
---
## Key Finding
{The core insight or learning}
---
## Implications
{What should change as a result?}
---
## Traceability
| Link | Reference |
|------|-----------|
| Session | {session file if applicable} |
| Project | {project plan if applicable} |
| Trigger | {what prompted this lesson} |
---
*L{ID}: {Title}*
*Category: {category}*
Domain Template (knowledge/patterns/{category}/{name}.md):
# {Title}
**Created**: {YYYY-MM-DD}
**Category**: {category}
**Type**: Domain Knowledge
---
## Summary
{Description}
---
## Details
{Full content}
---
Add entry to .aget/evolution/index.json and increment next_id.
Report:
| Lesson Type | Classification | Example | |-------------|---------------|---------| | Process improvement for AGET framework | Framework | "Threshold calibration methodology" | | Domain-specific knowledge | Domain | "domain-specific contract analysis rules" | | CLI behavior finding | Framework | "Skills work in headless mode" | | Project-specific pattern | Domain | "API rate limit handling" | | Anti-pattern applicable to all AGETs | Framework | "Context-Anchoring Blindness" |
/aget-check-evolution - Check evolution directory health/aget-record-observation - Capture observations (lighter weight)| Link | Reference | |------|-----------| | POC | POC-017 | | Project | PROJECT_PLAN_AGET_UNIVERSAL_SKILLS.md | | Source | Fleet Skill Deployment Report (supervisor) |
aget-record-lesson v1.0.0 Category: Learning POC-017 Phase 2
testing
End AGET session with state capture and sanity checks
tools
Initialize AGET session with status briefing
development
Research a topic across the knowledge base before implementation. Searches L-docs, patterns, PROJECT_PLANs, SOPs, and governance for relevant context.
development
Save workflow state for resume/recovery. Use at natural breakpoints before context-intensive operations, major refactors, or session interruptions.