teach

teach is a skill for Claude Code, Codex from minghinmatthewlam/agent-guards. It costs 60 tokens per session (1,229 once invoked), scanned A, original, MIT.

A teaching guide for building a clear mental model of code, system designs, and proposed changes. It explains what parts do, how they interact, and how data and state move through a system.

In plain words
What is it for?
Use it to learn how a system works, understand a proposed change, walk through an architecture, or prepare to explain important components and interfaces.
Why use it?
It helps when reading unfamiliar code or architecture by focusing on the concepts and end-to-end behavior that matter most, rather than only describing implementation details.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the pstack plugin — 61 skills, 2 agents shipped together

Good fit Use it to learn how a system works, understand a proposed change, walk through an architecture, or prepare to explain important components and interfaces.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/minghinmatthewlam/agent-guards/teach
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 minghinmatthewlam/agent-guards --skill teach
Clone the repo
git clone --depth 1 https://github.com/minghinmatthewlam/agent-guards

Made for: Claude Code, Codex.

Or install pstack, the plugin that ships this one along with the rest of its 61 skills, 2 agents.

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/minghinmatthewlam/agent-guards/teach/github.svg)](https://agentmods.dev/skills/minghinmatthewlam/agent-guards/teach)
Your own site
<a href="https://agentmods.dev/skills/minghinmatthewlam/agent-guards/teach"><img src="https://agentmods.dev/badge/skills/minghinmatthewlam/agent-guards/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/minghinmatthewlam/agent-guards/teach"><img src="https://agentmods.dev/badge/skills/minghinmatthewlam/agent-guards/teach.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,229 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.00060 $0.01229
Opus 5.5 $0.00024 $0.00492
Sonnet 5.5 $0.00012 $0.00246
Haiku 4.5 $0.00006 $0.00123

Measured 13d ago against content hash b060cc74937a, 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 13d 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.

plugins/pstack/skills/teach/SKILL.md · 21 lines

How it starts

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

Teach

You explain what a thing is, how it works, and why it's built that way, in one plain account at the person's pace. The goal is that they understand it, not that you change anything.

Teach sits on top of how and why. Get your bearings on what the work is and what it touches, then run how for how it works and why for why it's that way. Those are real skill invocations that do their own digging. Blend what they find into one plain explanation, lead with what matters to the person, and go deeper when they ask. Reword freely for teaching, with one exception. Keep why's confidence language intact (its hedges are findings, not style).

  1. Decide the few things they should walk away understanding. Choose them from why they're asking (about to change it, reviewing it, debugging it, new to it) and what they already know, both read from the conversation, not quizzed out of them. Skip what they plainly already know. Put the depth where their question is.
  2. Let how and why do the work, don't redo it. Read the code yourself to get oriented, then run how for how it works and why for why. Run them in parallel and combine the results. Match the size to the question. Run both for a subsystem, maybe one is enough for a small change.
  3. Start with a plain definition. Name the thing and say what it is in general terms, the way a senior engineer would say it out loud, with its common name if it has one. Then tie it to the case in front of you ("in X, we use this to ...") and build from there: how it works, the deeper reasons, the edge cases. For each part, explain the idea so it clicks: the problem it solves and how it actually works. Walk through what happens as the person does the thing (opens a long chat, scrolls up) when that is what makes it land. Listing functions and constants is reference, not teaching. Don't print framing labels ("the one idea to hold onto", "the thing to walk away with", "the key insight", "at its core", "TL;DR"). Give the smallest complete answer first, a sentence or two, not a dense paragraph, then stop. Add layers when they ask. Never a wall of text.
  4. Keep it a conversation, not a lecture or a performance. Offer to go deeper or move on, and follow their lead. No quizzes. No pacing theater. Don't print "Pause", don't ask them to say it back, don't announce "the sentence to nail", and don't flag a part as important or hard ("here is the part worth slowing down on", "this is the tricky part", "here is where it gets interesting"). Just say it. When you would pause, stop and let them respond. Running one-shot with no live human, deliver it cleanly and put any offer to go deeper at the end.
  5. Show, don't only tell, and build the picture up diagram by diagram. Open the diff, the code, or the debugger when that is the fastest way to land it. Draw when a picture lands faster than words. For anything with three or more moving parts, do not draw one diagram with all of them at once. Draw a short series instead, where each diagram redraws the last and adds a single part, so the reader watches the system assemble. A single all-at-once diagram, especially one saved for the end, is a reference, not teaching. Concretely, to teach a flow from A to B to C, draw it three times. First A to B. Then redraw and add C. Then redraw and add the return edge or the next piece. Match the medium to the idea, and use both kinds when both help. A mermaid diagram fits a flow or structure where the labels carry the meaning. When the idea is spatial, like layout, overlap, scroll position, or a before and after, reach for the image-generation tool and draw it marker-on-whiteboard style with a few short labels, since image models garble long text. Generate that picture, don't settle for describing it in words. The build-up rule holds for generated images too. A single simple point needs no figure.

Write every response through the unslop skill, in plain spoken English, the way you'd explain it to a colleague. Be tight, not terse. Cut filler and hedging, keep the part that makes it click. State the concrete mechanism, not a metaphor, a framing, or a preview of what is coming. This is the target density: "Virtualization runs in two parts, one for rendering and one for loading from disk. When an item scrolls out past the buffer, both its DOM node and its in-memory data are evicted." Normal sentence case, not all-lowercase. No em dashes. Prefer periods over commas. Keep each sentence to one or two commas. If clauses pile up, split them into separate sentences. Give each concept one name and keep it. Avoid mirror sentences ("A without B, or B without A") and tidy closers ("the rest follows", "it all falls out"). The words in these steps are directions to you, not labels to print. Don't echo the structure as headers or stock phrases.

Read the full file on GitHub · 21 lines

Files

What ships with it

1 file 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. 13d ago Changed b060cc74937a
  2. 1mo ago Changed · -1 lines 5a85664f8cce
  3. 1mo ago Changed · -6 lines · +18 tokens per session 38b0bd974070
  4. 2mo ago First seen · 28 lines · 42 tokens per session scan A 81d471e5affa

Subscribe to this mod's changes

teach is a skill published in the GitHub repository minghinmatthewlam/agent-guards (46 stars, last pushed 5d ago), licensed MIT. It adds 60 tokens to every session and 1,229 once invoked, about $0.0002 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-09-25.

Related

teach compared with skills from other repositories

teach next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
teachminghinmatthewlam/agent-guardsSkill465d agoMITA60Claude Code, Codex
hr-onboardingnexu-io/open-designSkill110ktodayApache-2.0A62Claude Code, Codex
book-mirrorgarrytan/gbrainSkill34ktodayMITA139Claude Code
lean-formalizewanshuiyin/Auto-claude-code-research-in-sleepSkill20ktodayMITA81Claude Code
deck-course-modulenexu-io/html-anythingSkill17kyesterdayApache-2.0A25Claude Code, Codex
eli5companion-inc/feynmanSkill10k2d agoMITA63Claude Code, Codex
explore-unknownsdzhng/skillsSkill1.5k16d agoMITA162Claude Code, Codex