codemap: Skill for Claude Code

.agents/skills/teach/SKILL.md

teach is a skill for Claude Code from stainless-code/codemap. It costs 14 tokens per session (1,218 once invoked), scanned A, original, MIT.

A multi-session teaching system built around lessons, missions, practice, and saved learning records.

In plain words
What is it for?
Use it to learn a topic over time through structured lessons, retrieval practice, glossaries, resources, notes, and reference material.
Why use it?
It keeps learning progress and important insights across sessions instead of relying only on chat history.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is stainless-code/codemap's own configuration. It tells Claude Code how to work on codemap itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything codemap configures →

Reuse

Borrowing it

Nothing to install: this file belongs to stainless-code/codemap. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/stainless-code/codemap/main/.agents/skills/teach/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/stainless-code/codemap

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 teach

README.md
[![agentmods](https://agentmods.dev/badge/skills/stainless-code/codemap/teach/github.svg)](https://agentmods.dev/skills/stainless-code/codemap/teach)
Your own site
<a href="https://agentmods.dev/skills/stainless-code/codemap/teach"><img src="https://agentmods.dev/badge/skills/stainless-code/codemap/teach/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 teach

Your own site · 80×15
<a href="https://agentmods.dev/skills/stainless-code/codemap/teach"><img src="https://agentmods.dev/badge/skills/stainless-code/codemap/teach.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,218 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 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.1 $0.00014 $0.01218
Opus 5.5 $0.00006 $0.00487
Sonnet 5.5 $0.00003 $0.00244
Haiku 4.5 $0.00001 $0.00122

Measured 1mo ago against content hash 81147930bd8b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

teach 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 1mo 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.

.agents/skills/teach/SKILL.md · 85 lines

How it starts

The opening of the file, as written. The whole thing — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Teach

The user wants to learn something over multiple sessions. This is stateful — progress lives in files in a teaching workspace, not in chat memory alone.

Teaching workspace

Default location: teach/<topic-slug>/ at the repo root (never inside src/ package code). User may choose another directory — treat that directory as the workspace root.

Git: workspaces are personal by default — do not commit teach/** unless the user explicitly wants shared onboarding material in the repo (add it to .gitignore otherwise).

State files at workspace root:

File / folder Purpose
MISSION.md Why they're learning — grounds every lesson. MISSION-FORMAT.md
GLOSSARY.md Canonical terms once understood. GLOSSARY-FORMAT.md
RESOURCES.md High-trust knowledge + community sources. RESOURCES-FORMAT.md
NOTES.md User teaching preferences, scratchpad
./learning-records/*.md Decision-grade insights (ADR-shaped). LEARNING-RECORD-FORMAT.md
./lessons/*.html Primary teaching unit — one scoped win per file (0001-slug.html, increment)
./reference/*.html Compressed cheat sheets for revisit (syntax, flows, glossaries)
./assets/* Reusable lesson components (stylesheet first)

Create directories lazily when first needed.

Codemap repo topics

When the mission is this codebase (index, recipes, schema, parsers, adapters, agents init, rules/skills):

Read the full file on GitHub · 85 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 85 lines · 14 tokens per session scan A 81147930bd8b

Subscribe to this mod's changes

teach is a skill published in the GitHub repository stainless-code/codemap (8 stars, last pushed yesterday), licensed MIT. It adds 14 tokens to every session and 1,218 once invoked, about $0.0001 per session on Opus 5.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-31.

Related

Other skills, from other repositories

roam

Codebase comprehension via roam-code CLI. Use when exploring codebases, planning modifications, debugging failures, assessing PR risk, or checking architecture health. Triggers on: understanding project structure, pre-change safety checks, finding symbols/files, blast radius analysis, affected tests, health scoring…

Cranot/roam-code · 86 tokens

onboard

Give a guided reading order for this codebase using Synapse's code graph. Use when the user is new to a repository, or asks where to start or how the code is organised.

myelixlabs/synapse-mcp · 41 tokens

agent-patterns-catalog

A reference catalogue of six common AI-agent designs, including agents that reason and act, retrieve documents, call tools, coordinate several agents, or work autonomously. It compares their structures, data flow, and suitable uses without tying them to one framework.

hashgraph-online/awesome-codex-plugins · 77 tokens

memstack-marketing-webinar-script

Use this skill when the user says 'webinar script', 'webinar', 'live presentation', 'teach-to-sell', or needs a timestamped presentation script with slide notes, presenter cues, and replay email sequence. Do NOT use for launch plans or static sales page copy.

cwinvestments/memstack · 65 tokens

meta-prompt

Meta-prompting framework for critiquing responses, analyzing solution trajectories, and evaluating AI-generated content quality.

Mindrally/skills · 25 tokens

case-interview-practice

Interactive consulting case interview practice with structured frameworks, feedback mechanisms, and progressive difficulty. Use when preparing for management consulting interviews, case competitions, or business problem-solving exercises.

travisjneuman/.claude · 39 tokens