10-learn

10-learn is a skill for Claude Code, Codex from ai-driven-dev/framework. It costs 47 tokens per session (271 once invoked), scanned A, original, MIT.

A workflow for recording lasting lessons from project work, such as decisions, conventions, pitfalls, or review findings. It assesses the lesson and writes it to project memory or hands it off as another reusable artifact.

In plain words
What is it for?
Use it to preserve reusable project knowledge and turn approved lessons into memory, architecture decisions, rules, or skills.
Why use it?
It prevents useful knowledge from being lost after a task, review, or decision is finished.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/ai-driven-dev/framework/10-learn
Any agent
npx skills add ai-driven-dev/framework --skill 10-learn
Clone the repo
git clone --depth 1 https://github.com/ai-driven-dev/framework

Made for: Claude Code, Codex.

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 10-learn

README.md
[![agentmods](https://agentmods.dev/badge/skills/ai-driven-dev/framework/10-learn.svg)](https://agentmods.dev/skills/ai-driven-dev/framework/10-learn)
Your own site
<a href="https://agentmods.dev/skills/ai-driven-dev/framework/10-learn"><img src="https://agentmods.dev/badge/skills/ai-driven-dev/framework/10-learn.svg" alt="Measured on agentmods" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 271 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original 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 $0.00047 $0.00271
Opus 5 $0.00023 $0.00135
Sonnet 5 $0.00009 $0.00054
Haiku 4.5 $0.00005 $0.00027

Measured yesterday against content hash 8128dd2ec1e1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

10-learn 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 yesterday.

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.

plugins/aidd-context/skills/10-learn/SKILL.md · 36 lines

What it actually says

Learn

flowchart LR
  source --> gather --> assess --> write
  source -->|"missing, empty, or ambiguous"| sourceStop([stop])
  gather -->|"no candidates"| gatherEnd([end])
  assess -->|"all covered"| assessEnd([end])
  write -->|"memory or ADR"| sync
  write -->|"rule or skill"| handoff([handoff])
  sync -->|"failure"| syncStop([stop])

Actions

Run the flow above. Read only the next action file.

Action Does
source identify and challenge the origin
gather read the origin and extract candidates
assess score, reconcile, show, and confirm
write write or hand off approved lessons
sync refresh memory references

Transversal rules

  • Write only the user-approved plan.
  • Preserve user edits and touch affected files only.
  • Write project files only, never personal or global memory.
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. yesterday First seen · 36 lines · 47 tokens per session scan A 8128dd2ec1e1

Subscribe to this mod's changes

10-learn is a skill published in the GitHub repository ai-driven-dev/framework (453 stars, last pushed yesterday), licensed MIT. It adds 47 tokens to every session and 271 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-09-03.

Related

Other skills, from other repositories

task-agent-eliza-bridge

Use when spawning a Claude Code, Codex, Gemini, Aider, or other CLI task agent whose work needs parent Eliza runtime context. Covers the read-only loopback bridge for character, room, memory, and active workspace state.

elizaOS/eliza · 55 tokens

kb-builder

Build an Obsidian-compatible knowledge base from public web sources using the TinyFish CLI. Use this skill when a user wants a builder-grade markdown knowledge base on a technical topic, asks for a structured research vault, or wants a topic compiled from live public sources into interlinked markdown files. Supports…

tinyfish-io/tinyfish-cookbook · 158 tokens

self-improve-with-tinyfish

Enables Hermes to create new reusable skills for itself by researching live web sources with TinyFish Search and Fetch, analyzing source coverage, writing SKILL.md files, and installing them into Hermes memory. Use when the user asks Hermes to learn, teach itself, upgrade itself, or save a reusable capability.

tinyfish-io/tinyfish-cookbook · 68 tokens

user-general-facts

Capture and organize general facts about the user by topic.

memodb-io/Acontext · 15 tokens

daily-logs

Track daily activity logs and summaries for the user. TRIGGER BY: read/edit user memory.

memodb-io/Acontext · 22 tokens

weknora-shared

Use when driving a WeKnora RAG server through the weknora CLI as an agent — authenticating, managing knowledge bases / documents / sessions / agents, running search or chat, or interpreting the CLI's JSON envelopes and exit codes. Read this before any other weknora- skill.

Tencent/WeKnora · 68 tokens