agent-teacher: Instructions file for Codex

AGENTS.md

agent-teacher AGENTS.md is an instructions file for Codex, OpenCode from JackyYang258/agent-teacher. It costs 2,297 tokens per session, scanned A, original, MIT.

A repository guide for AgentTeacher, a Claude Code skill that teaches programming concepts through six parts: intuition, example, code walkthrough, common trap, pointers, and test questions. It also documents the project layout, commands, bilingual rules, and release process.

In plain words
What is it for?
Use it when changing AgentTeacher, adding lessons or examples, checking repository commands, or preparing bilingual documentation and releases.
Why use it?
It gives coding agents consistent project-specific rules instead of making them infer how the repository works or how lessons should be written.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions .claude-plugin; mentions CLAUDE.md; mentions Claude Code.

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

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/JackyYang258/agent-teacher/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/JackyYang258/agent-teacher

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 agent-teacher AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/jackyyang258/agent-teacher/agents-md"><img src="https://agentmods.dev/badge/instructions/jackyyang258/agent-teacher/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,297 This file is loaded in full into every session.
When invoked 2,297 The same file — it is already loaded in full.
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.02297 $0.02297
Opus 5.5 $0.00919 $0.00919
Sonnet 5.5 $0.00459 $0.00459
Haiku 4.5 $0.00230 $0.00230

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

Security

Grade A, and why

agent-teacher AGENTS.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.

AGENTS.md · 83 lines

How it starts

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

AgentTeacher Agent Guide

Personal/global agent rules may live outside this repository. This file records AgentTeacher-specific repository maps, Working Rules, Current Risk Areas, Verification, and Release Flow.

Project

AgentTeacher is a Claude Code skill that teaches concepts through a fixed six-part spine: intuition → example (runnable or pseudocode) → code walkthrough → trap → pointers → test questions. It is deliberately small — one SKILL.md, a handful of references, a handful of evals and worked examples, one packaging script. The whole project should fit in a few hundred lines of markdown plus shell.

The skill output is delivered in conversation, not as files. The only artifacts written to disk are (a) the Mode B pseudocode sidecar for editor viewing, and (b) the full-lesson file when the user explicitly asks to save.

Repository Map

  • SKILL.md — skill entrypoint: triggering, language choice, the six-layer spine, output rules, anti-patterns.
  • README.md / README.zh-CN.md — user-facing project intro and install instructions (bilingual, full parity).
  • CONTRIBUTING.md / CONTRIBUTING.zh-CN.md — contribution flow and bilingual policy (bilingual, full parity).
  • CLAUDE.md — Claude-specific entry pointing here, with the project-specific hard rules.
  • LICENSE — MIT.
  • references/teaching-method.md — per-layer playbook with good/bad examples. The craft of each layer lives here.
  • references/code-style-for-teaching.md — rules for teaching code: Mode A (runnable + trace blocks for algorithms), Mode B (the three pseudocode flavors).
  • references/concept-to-language.md — concept area → recommended code language and Mode A/B form.
  • references/enrichments.md — the eight optional enrichments (math tier, state tracking, design rationale, cousin matrix, prerequisites + variants, misconception list, visualization, invariants) and the decision checklist for when each fires.
  • evals/evals.json — test prompts with expected-output descriptions (closure, CAP, GIL, monad, GRPO, MoE).
  • assets/examples/ — worked example outputs frozen from running the skill. Examples are bilingual: each concept has <name>-en.md and <name>-zh.md plus a shared language-agnostic <name>-pseudocode.py sidecar. New examples should ship in both languages; one-language contributions are accepted and a maintainer translates the other side.
  • scripts/package-skill.sh — builds the release archive.
  • .claude-plugin/marketplace.json — Claude Code plugin marketplace metadata.
  • dist/agent-teacher.zip — tracked release archive.

Read the full file on GitHub · 83 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. 1mo ago First seen · 83 lines · 2,297 tokens per session scan A 3580393cfd94

Subscribe to this mod's changes

agent-teacher AGENTS.md is an instructions file published in the GitHub repository JackyYang258/agent-teacher (5 stars, last pushed 5mo ago), licensed MIT. It adds 2,297 tokens to every session, about $0.0092 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 instructions, from other repositories