Borrowing it
Nothing to install: this file belongs to JackyYang258/agent-teacher. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/JackyYang258/agent-teacher/main/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/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.
<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="Reviewed on agentmods" width="80" 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.5 | $0.00366 | $0.00366 |
| Sonnet 5.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 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.
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.
- 1mo 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 5mo ago), licensed MIT. It adds 914 tokens to every session, about $0.0037 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.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
vscode model-prompts.instructions.md
Model-specific prompt authoring and registry guidelines.