teach-me: Instructions file for Codex

AGENTS.md

teach-me AGENTS.md is an instructions file for Codex, OpenCode from smileynet/teach-me. It costs 4,919 tokens per session, scanned B, original, MIT.

A set of instructions for an agent workspace designed to teach software and technical topics. It defines where learning materials, skills, notes, reference projects, and helper tools belong.

In plain words
What is it for?
Use it when building or maintaining an agent that teaches, quizzes, explains jargon, creates diagrams, or checks visual learning materials.
Why use it?
It gives learning-focused agent tasks a shared layout and workflow, so teaching content and saved knowledge have predictable places.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions subagents; runs codex exec; mentions AGENTS.md.

This is smileynet/teach-me's own configuration. It tells Codex and OpenCode how to work on teach-me 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 teach-me configures →

Reuse

Borrowing it

Nothing to install: this file belongs to smileynet/teach-me. 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/smileynet/teach-me/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/smileynet/teach-me

Made for: Codex, OpenCode.

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-me AGENTS.md

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

agentmods 80×15 button for teach-me AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/smileynet/teach-me/agents-md"><img src="https://agentmods.dev/badge/instructions/smileynet/teach-me/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,919 This file is loaded in full into every session.
When invoked 4,919 The same file — it is already loaded in full.
Security scan B 2 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.04919 $0.04919
Opus 5.5 $0.01968 $0.01968
Sonnet 5.5 $0.00984 $0.00984
Haiku 4.5 $0.00492 $0.00492

Measured 14d ago against content hash 450720639791, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

teach-me AGENTS.md scanned grade B with 2 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 14d 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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

- PowerShell mangles complex inline shell-arg strings — inline JSON (`curl -d '{...}'`), `->`, backslashes, and long `git commit -m`/`tkt close --resolution` bodies get corrupted or misparsed. Use a file instead: `--data

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| Validating work | Validate from the user's perspective (Playwright click-through, curl the endpoint, load the page). Prefer linters, syntax checkers, and templates over formal test suites. Only write maintained tests f
AGENTS.md · 178 lines

How it starts

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

AGENTS.md — teach-me

Test bed for learning-oriented agent skills. Refined here, then ported to the user-level skill set for global deployment (historically crew-research; the current target is an open migration-finding ticket).

Workspace Layout

workspace/          — THE user's live learning workspace (gitignored; served from library/ until populated)
.kiro/skills/       — agent skills (teach, quiz-me, wait-what, jargon, visual-qa, theme, etc.)
.kiro/steering/     — visual-teaching guidelines
GLOSSARY.md         — domain vocabulary
docs/adr/           — decision records (ADRs)
docs/agents/        — agent reference: specs/, research/, ink-reference/, notes
.scratch/           — ephemeral (gitignored) — only visual-qa output regenerated on run
.references/        — cloned reference repos (gitignored; index in REFERENCES.md, rehydrate via mise run rehydrate)
tools/              — project scripts (draw-diagram, visual-qa, theme-preview, render-diagrams, sr-*)
tools/lib/          — Python helpers (page_template.py is THE HTML page-shell source of truth; preact_page.py is its deprecated duplicate, slated for deletion in #199)
palettes/           — color palette definitions (JSON)
assets/             — shared: style.css, CSS variables, SVG patterns
assets/vendor/      — vendored Preact + Signals + HTM + dagre (self-hosted, no CDN)
assets/components/  — Preact components (MapView, TopicCard, QuizView, etc.)
assets/scaffolds/   — content-pattern examples (boilerplate is in tools/lib/page_template.py)
.tickets/           — local ticket tracking
library/           — public topic library (shipped, growing; served by default on a fresh clone — ADR 0012). Committed lessons/maps/reference per domain.

workspace/ is the single live workspace per machine — all topics (maps, lessons, quizzes, reference docs, learning records) go here. Gitignored (user-local); a fresh clone is served from library/ and a workspace is created only when no library exists or the user starts learning. Lessons are organized by domain: lessons/{domain-slug}/NN-slug.html, per-domain numbering from 01; quizzes and maps parallel this (lessons/{domain-slug}/quiz/, lessons/{domain-slug}/{domain}-map.html).

Read the full file on GitHub · 178 lines

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. 14d ago Changed · +25 lines · +295 tokens per session 450720639791
  2. 15d ago Changed · +82 tokens per session 20ae7c12045b
  3. 1mo ago Changed · +177 tokens per session 8eb8e215f008
  4. 1mo ago Changed · -3 lines · -319 tokens per session d2dc67451b30
  5. 1mo ago Changed · +3 lines · +409 tokens per session baec5e10ac17
  6. 2mo ago Changed · +2 lines · +233 tokens per session 51dfbcdaabf5
  7. 2mo ago Changed · +2 lines · +285 tokens per session 2bced597f5dc
  8. 2mo ago Changed · -4 lines · -42 tokens per session 5e23ae7620e9
  9. 2mo ago First seen · 153 lines · 3,799 tokens per session scan B 5ee19fb4749d

Subscribe to this mod's changes

teach-me AGENTS.md is an instructions file published in the GitHub repository smileynet/teach-me (3 stars, last pushed 12d ago), licensed MIT. It adds 4,919 tokens to every session, about $0.0197 per session on Opus 5.5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

teach-me AGENTS.md compared with instructions from other repositories

teach-me AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
teach-me AGENTS.mdsmileynet/teach-meInstructions file312d agoMITB4,919Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode