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.
npx agentmods add instructions/jackyyang258/agent-teacher/claude-mdgit clone --depth 1 https://github.com/JackyYang258/agent-teacherWrote 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/instructions/jackyyang258/agent-teacher/claude-md)<a href="https://agentmods.dev/instructions/jackyyang258/agent-teacher/claude-md"><img src="https://agentmods.dev/badge/instructions/jackyyang258/agent-teacher/claude-md.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.00914 | $0.00914 |
| Opus 5 | $0.00457 | $0.00457 |
| Sonnet 5 | $0.00183 | $0.00183 |
| Haiku 4.5 | $0.00091 | $0.00091 |
Grade A, and why
agent-teacher CLAUDE.md 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 6d 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.
How it starts
The opening of the file, as written. The whole thing — 33 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AgentTeacher
Concept-teaching skill: explains a technical concept through a fixed six-part structure — intuition → example (runnable or pseudocode) → walkthrough → trap → pointers → test questions.
Before you start
- Personal / global agent rules belong outside this repo. This file records only AgentTeacher's Claude Code entry and maintenance rules.
- The full repository map, working rules, current risk areas, verification, and release flow live in
AGENTS.md. - The skill itself starts at
SKILL.md. Teaching method:references/teaching-method.md. Code style for teaching:references/code-style-for-teaching.md. Concept→language mapping:references/concept-to-language.md. Enrichments:references/enrichments.md. - For contributors (English / 中文 onboarding): see
CONTRIBUTING.md/CONTRIBUTING.zh-CN.md.
Common commands
bash scripts/package-skill.sh # build dist/agent-teacher.zip
The project has no build / render pipeline — output is markdown delivered in chat. There is no test runner; verification is done by running the skill on a real prompt and inspecting the lesson.
Project-specific hard rules
- The six-part spine (intuition → example → walkthrough → trap → pointers → test questions) is the contract. Don't add a seventh part, don't drop parts. If one feels redundant for a specific concept, write a one-liner — don't skip.
- Mode A (runnable) vs Mode B (pseudocode) is binary. Mode B auto-writes a sidecar file at
/tmp/<slug>-pseudocode.<ext>; Mode A writes a file only when the user asks. - Pseudocode must be real Python / PyTorch syntax with state annotations on every line where state changes. Natural-language pseudocode (
FOR each token DO ...) is forbidden — it throws away the precision code form gives. - The test questions section is not a comprehension check. Hints, no answers. Phrase each question concretely ("if all rewards in a group were identical, what happens to the gradient?" — not "do you understand?"). Don't frame as interview questions; don't use the word "interview" in skill output.
- The eight enrichments (math tier, state tracking, design rationale, cousin matrix, prerequisites + variants, misconception list, visualization, invariants) are concept-driven, not concept-default. Decision table is in
references/enrichments.md. Hard cap 5 per lesson, hard floor 0 (plain six-part lesson is the right answer for most concepts). The framework was tuned for DL/ML but state tracking / design rationale / cousin matrix / prereqs+variants / visualization / invariants also apply to data structures, distributed protocols, and complex algorithms. Language features (closures, generators, channels) never get enrichments. - Mode B has three flavors: DL (tensor shape annotations), protocols (participant state + message arrows), algorithms / data structures (invariants + concrete trace). State tracking means the right thing in each flavor — don't apply DL shape-annotation conventions to a protocol pseudocode block.
- When changing
SKILL.md, sync the matching playbook inreferences/teaching-method.md. SKILL.md is the contract; references are the expanded playbook with examples. They must agree. - Project canonical docs are English-only (
SKILL.md,AGENTS.md,CLAUDE.md,references/). Bilingual surfaces areREADMEandCONTRIBUTING(both in English and Chinese versions) andassets/examples/(each example exists as-en.mdand-zh.md). SeeCONTRIBUTING.mdfor the full bilingual policy. - Don't bundle
evals//.claude-plugin//dist/into the release zip. The exclude list lives inscripts/package-skill.sh. - After editing
scripts/package-skill.shor adding any file that should ship in the zip, refresh and inspectdist/agent-teacher.zip, confirming new files weregit add-ed (the package script is based ongit ls-files; untracked files vanish silently). - Don't commit one-off review reports or diagnostic snapshots. Stable rules go into
AGENTS.md,CLAUDE.md,SKILL.md, orreferences/; everything else is discarded.
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.
- 6d ago First seen · 33 lines · 914 tokens per session scan A 1a0cfc631ecf
agent-teacher CLAUDE.md is an instructions file published in the GitHub repository JackyYang258/agent-teacher (5 stars, last pushed 3mo ago), licensed MIT. It adds 914 tokens to every session, about $0.0046 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-31.
Other instructions, from other repositories
secure-vibe AGENTS.md
Instructions for ShieldNet-360/secure-vibe, covering instructions for securevibe (secure-vibe), guidelines for contributors using ai, guidelines for ai agents, permitted usage and forbidden usage.
promptasy CLAUDE.md
Claude Code instructions for romanticamaj/promptasy, covering promptasy, 這份文件是什麼, /goal — 長期、開放、不設限方向的目標, 遊戲願景與核心體驗 and 設計支柱(design pillars).
promptasy AGENTS.md
AGENTS.md instructions for romanticamaj/promptasy, covering agents.md — promptasy 工程 harness, 專案一句話, 每個 phase 的節奏, 測試金字塔(由快到慢) and 測試策略(成本控制的核心).
LabAI CLAUDE.md
Instructions for id-andyyy/LabAI: Ты — ЛАБАЙ, AI-ассистент для выполнения лабораторных работ.
diffler CLAUDE.md
Instructions for jamestkelly/diffler, a project described as: Generate comprehension quizzes from Git branch diffs for Claude Code, OpenCode, and pull-request workflows.
turbo CLAUDE.md
Claude Code instructions for tobihagemann/turbo, covering turbo, project structure and key files.