aget-record-lesson

aget-record-lesson is a skill for Claude Code from aget-framework/template-advisor-aget. It costs 39 tokens per session (1,948 once invoked), scanned A, a copy of aget-record-lesson, Apache-2.0.

A command for saving lessons from work sessions as searchable files in a Git repository. It sorts each lesson into reusable guidance for agents or knowledge meant for the main project owner.

In plain words
What is it for?
Use it after feedback, mistakes, discoveries, or process improvements to record what happened and where the lesson should be stored.
Why use it?
Useful lessons can otherwise disappear when a session ends or the conversation context is lost. It keeps those lessons available for later work.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it after feedback, mistakes, discoveries, or process improvements to record what happened and where the lesson should be stored.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aget-framework/template-advisor-aget/aget-record-lesson
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add aget-framework/template-advisor-aget --skill aget-record-lesson
Clone the repo
git clone --depth 1 https://github.com/aget-framework/template-advisor-aget

Made for: Claude Code.

Wrote 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.

agentmods badge for aget-record-lesson

README.md
[![agentmods](https://agentmods.dev/badge/skills/aget-framework/template-advisor-aget/aget-record-lesson/github.svg)](https://agentmods.dev/skills/aget-framework/template-advisor-aget/aget-record-lesson)
Your own site
<a href="https://agentmods.dev/skills/aget-framework/template-advisor-aget/aget-record-lesson"><img src="https://agentmods.dev/badge/skills/aget-framework/template-advisor-aget/aget-record-lesson/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for aget-record-lesson

Your own site · 80×15
<a href="https://agentmods.dev/skills/aget-framework/template-advisor-aget/aget-record-lesson"><img src="https://agentmods.dev/badge/skills/aget-framework/template-advisor-aget/aget-record-lesson.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,948 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.01948
Opus 5.5 $0.00016 $0.00779
Sonnet 5.5 $0.00008 $0.00390
Haiku 4.5 $0.00004 $0.00195

Measured 15d ago against content hash 524ed408a3dc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 15d 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.

Origin

This is a copy

100% identical to aget-record-lesson — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/aget-record-lesson/SKILL.md · 224 lines

How it starts

The opening of the file, as written. The whole thing — 224 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

Classify each distinct lesson using the rubric below. An explicit principal classification takes precedence; do not ask the principal to confirm a classification already supplied. Seat identity is context, not evidence of who benefits. A local incident can establish a portable lesson; a lesson from a framework-manager can remain Domain.

Classification rubric

Judge the core lesson, not the example's vocabulary. For each dimension record a short evidence-based answer internally; use Unknown when evidence is insufficient. These are decision criteria, not points that can compensate for a contradictory answer.

Dimension Framework evidence Domain evidence
Portability Another AGET with a different principal and domain can apply the corrective rule unchanged The useful rule depends on this principal, client, platform configuration, or subject matter
Local dependence Removing identifying details leaves a specific, actionable agent/process lesson Removing local facts removes the useful content; a generic slogan is not a portable lesson
Routing consequence An L-doc would improve agent verification, coordination, governance, or reusable operation A local knowledge pattern would help the principal operate or understand the domain

Obvious Framework: an actionable portable rule survives removal of local details and its useful consequence is agent/process improvement, with no material contrary evidence. Record Framework directly. Obvious Domain: the useful content is the local/domain fact or procedure and no substantive portable agent lesson remains. Record Domain directly. Do not manufacture a Framework abstraction from every fact. Mixed: both a portable rule and independently useful local knowledge deserve preservation. Recommend Split with the proposed boundary; confirm the two outputs unless the principal already authorized them. Ambiguous: an Unknown or contradiction changes the storage/routing choice. Ask one focused question about that distinction, with a recommendation; do not present an unexplained taxonomy menu. For multiple lessons, record the obvious ones and bundle only the unresolved classifications into one question.

Read the full file on GitHub · 224 lines

Changes

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.

  1. 15d ago Changed 524ed408a3dc
  2. 1mo ago Changed · +32 lines e47edb08d634
  3. 1mo ago First seen · 192 lines · 39 tokens per session scan A dee908c7f924

Subscribe to this mod's changes

aget-record-lesson is a skill published in the GitHub repository aget-framework/template-advisor-aget (2 stars, last pushed 8d ago), licensed Apache-2.0. It adds 39 tokens to every session and 1,948 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to aget-record-lesson, differing in 0 lines, and is treated as a copy.