lesson

lesson is a skill for Claude Code from Embassy-of-the-Free-Mind/sourcelibrary-v2. It costs 32 tokens per session (906 once invoked), scanned A, original, AGPL-3.0.

A record-keeping workflow for capturing lessons after a bug fix or a newly discovered pattern, updating domain memory files, and checking for contradictions.

In plain words
What is it for?
Use it after resolving a non-trivial issue or learning a pattern that should guide future work.
Why use it?
It helps preserve useful findings and identify conflicts with existing project knowledge.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it after resolving a non-trivial issue or learning a pattern that should guide future work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/embassy-of-the-free-mind/sourcelibrary-v2/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 Embassy-of-the-Free-Mind/sourcelibrary-v2 --skill lesson
Clone the repo
git clone --depth 1 https://github.com/Embassy-of-the-Free-Mind/sourcelibrary-v2

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 lesson

README.md
[![agentmods](https://agentmods.dev/badge/skills/embassy-of-the-free-mind/sourcelibrary-v2/lesson/github.svg)](https://agentmods.dev/skills/embassy-of-the-free-mind/sourcelibrary-v2/lesson)
Your own site
<a href="https://agentmods.dev/skills/embassy-of-the-free-mind/sourcelibrary-v2/lesson"><img src="https://agentmods.dev/badge/skills/embassy-of-the-free-mind/sourcelibrary-v2/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 lesson

Your own site · 80×15
<a href="https://agentmods.dev/skills/embassy-of-the-free-mind/sourcelibrary-v2/lesson"><img src="https://agentmods.dev/badge/skills/embassy-of-the-free-mind/sourcelibrary-v2/lesson.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 906 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 unknown No closer match found 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.00032 $0.00906
Opus 5 $0.00016 $0.00453
Sonnet 5 $0.00006 $0.00181
Haiku 4.5 $0.00003 $0.00091

Measured 12d ago against content hash 8b4f51232be2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

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

.claude/skills/lesson/SKILL.md · 76 lines

The source is not reproduced here

Licensed AGPL-3.0

The repository is licensed AGPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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. 12d ago First seen · 76 lines · 32 tokens per session scan A 8b4f51232be2

Subscribe to this mod's changes

lesson is a skill published in the GitHub repository Embassy-of-the-Free-Mind/sourcelibrary-v2 (17 stars, last pushed today), licensed AGPL-3.0. It adds 32 tokens to every session and 906 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.

Related

Other skills, from other repositories

inspector-workbench

Runs Inspector UI work on the standalone Threads state lab so the agent can see the overlay. Use when a CopilotKit employee asks an agent to fix, polish, add, or debug Inspector UI, chrome, panes, overlay actions, launcher, Home, Threads, Playground, Memory, or any visual behavior in @copilotkit/web-inspector. Don't…

CopilotKit/CopilotKit · 112 tokens

asking-with-evidence

The user asks a question about a video that was already watched or indexed — "what did they say about X", "what error code appears", "what happens at 2:30", "does the video show Y". Use this to answer from the persistent index with timestamped evidence and a confidence score instead of re-watching or guessing.

oxbshw/watch-skill · 74 tokens

video-memory

The user asks about videos watched in the past or across sessions — "have we watched anything about X", "which video showed that error", "what did that meeting decide", "search my videos", or a question that spans several videos. Use this to search and answer from the persistent cross-video index instead of saying you…

oxbshw/watch-skill · 70 tokens

learning-from-mistakes

The user corrected an answer about a video — "no, it actually says X", "that's the wrong timestamp", "you misread the error code" — or asks why a video answer was wrong. Use this to record the correction as a lesson so future answers on similar questions improve, and to show what the system has learned and saved.

oxbshw/watch-skill · 75 tokens

common-context-optimization

Maximize context window efficiency, reduce latency, and prevent lost-in-middle issues through strategic masking and compaction. Use when token budgets are tight, tool outputs overflow the context, conversations drift from intent, or latency spikes from cache misses.

HoangNguyen0403/agent-skills-standard · 52 tokens

common-learning-log

Append a learning entry to AGENTSLEARNING.md when an AI agent makes a mistake. Auto-activates after a pre-write audit auto-fix, a retrospective correction loop, or a mid-session user correction. Use when: mistake, wrong, correction, my bad, agent error, learning log.

HoangNguyen0403/agent-skills-standard · 65 tokens