Borrowing it
Nothing to install: this file belongs to aget-framework/aget. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/aget-framework/aget/main/.claude/skills/aget-record-lesson/SKILL.mdgit clone --depth 1 https://github.com/aget-framework/agetWrote 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.
[](https://agentmods.dev/skills/aget-framework/aget/aget-record-lesson)<a href="https://agentmods.dev/skills/aget-framework/aget/aget-record-lesson"><img src="https://agentmods.dev/badge/skills/aget-framework/aget/aget-record-lesson.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00039 | $0.01305 |
| Opus 5 | $0.00019 | $0.00652 |
| Sonnet 5 | $0.00008 | $0.00261 |
| Haiku 4.5 | $0.00004 | $0.00130 |
Grade A, and why
aget-record-lesson scanned grade A with 0 findings 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 7d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
Copies of this mod
1 near-identical copy found in the catalogue:
- aget-record-lesson — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 192 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/aget-record-lesson
Record lessons learned as structured L-docs in the git repo. Each lesson is classified to determine storage location and ID scheme.
Purpose
Capture learnings in a persistent, searchable format that survives context windows and session boundaries. Enables knowledge accumulation across sessions.
Input
$ARGUMENTS - Optional lesson description or trigger context
Execution
Step 1: Gather Context
Identify what triggered the lesson:
- Session observation
- User feedback
- Error encountered
- Pattern discovered
- Process improvement
Step 2: Classify 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
Step 3: Get Next ID (Framework only)
# Read next_id from index.json
jq '.next_id' .aget/evolution/index.json
Step 4: Create Lesson Document
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):
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.
- 7d ago First seen · 192 lines · 39 tokens per session scan A dee908c7f924
aget-record-lesson is a skill published in the GitHub repository aget-framework/aget (11 stars, last pushed yesterday), licensed Apache-2.0. It adds 39 tokens to every session and 1,305 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
aget-open-session
Open a session with context-aware establishment. Orchestrates wake-up, recovers prior session context, surfaces pending work, and proposes a session agenda.
aget-record-lesson
Record lessons learned from sessions as persistent, searchable, committable artifacts. Classifies each lesson as Framework (help other AGETs) or Domain (help principal).
aget-close-project
Close a PROJECTPLAN with verifiable-assertion gate (V-tests + commits + retrospective), deferred-surface scan for next-plan handoff, and status transition (ACTIVE → COMPLETE / CLOSED / ABANDONED / SUPERSEDED). Strict counterpart to /aget-create-project (D71 Layer 2). Closes asymmetric verb-pair gap at PROJECTPLAN…
aget-release-critique
Adversarial review with the Critic perspective of the Release Delivery Triad (L818). Dual-mandate: spec coverage audit + deep bug finding.
aget-release-audit-specs
Audit specifications with the Spec Auditor perspective of the Release Delivery Triad (L818). Coverage and consistency mode.
aget-release-build
Execute gate deliverables with the Builder perspective of the Release Delivery Triad (L818). Speed-optimized execution mode.