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/yanzi26/codex-context-management-template/agents-mdgit clone --depth 1 https://github.com/YANZi26/codex-context-management-templateWrote 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/yanzi26/codex-context-management-template/agents-md)<a href="https://agentmods.dev/instructions/yanzi26/codex-context-management-template/agents-md"><img src="https://agentmods.dev/badge/instructions/yanzi26/codex-context-management-template/agents-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 | $0.00210 | $0.00210 |
| Opus 5 | $0.00105 | $0.00105 |
| Sonnet 5 | $0.00042 | $0.00042 |
| Haiku 4.5 | $0.00021 | $0.00021 |
Grade A, and why
codex-context-management-template 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 3d 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.
What it actually says
AGENTS.md
Rules for AI coding agents working in this repository.
- Start each session by reading
docs/ai/PROJECT_BRIEF.md,docs/ai/MAP.md,docs/ai/TASKS.md, anddocs/ai/HANDOFF.md. - Before changing behavior, read
docs/ai/ARCHITECTURE.md,docs/ai/DECISIONS.md, anddocs/ai/VERIFICATION.md. - Do not inspect, print, copy, or store private access values, production configuration, real logs, customer data, or environment-specific private files.
- Keep edits scoped to the current request.
- For documentation-only tasks, modify only documentation files.
- Prefer targeted inspection based on
docs/ai/MAP.md. - If a fact is uncertain, write
UnknownorTODOinstead of guessing. - Before ending substantial work or when context is getting full, update
docs/ai/HANDOFF.mdanddocs/ai/TASKS.md.
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.
- 3d ago First seen · 14 lines · 210 tokens per session scan A 0535f51fdd67
codex-context-management-template AGENTS.md is an instructions file published in the GitHub repository YANZi26/codex-context-management-template (2 stars, last pushed 3mo ago), licensed MIT. It adds 210 tokens to every session, about $0.0011 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
project-brain copilot-instructions.md
Instructions for Ethan-YS/project-brain, covering on session start, single-workstream, multi-workstream, update behavior and project red lines.
Iron-mem CLAUDE.md
Instructions for BMC-INC/Iron-mem, a project described as: Agent-native memory infrastructure for AI coding assistants. Governed session capture, LLM compression, hybrid retrieval (FTS + vector + RRF), temporal knowledge graph, content-addressed storage, compliance-grade classification. Single Rust binary, MCP server.…
repomemory CLAUDE.md
Claude Code instructions for PraveenJayaprakash-JP/repomemory, covering claude.md — repomemory, project overview, architecture, commands and root (next.js web app).
cortex-md AGENTS.md
Instructions for AlfonsoM0/cortex-md, covering base operating instructions for the agent (system prompt), 1. base behavioral guidelines, 2. repository context, 3. continuous memory system (cortex-md) and mandatory operational workflows.
context-router CLAUDE.md
Claude Code instructions for mohankrishnaalavala/context-router, covering context-router, quick orientation, where docs live — one rule, session workflow and development flow.
context-router AGENTS.md
AGENTS.md instructions for mohankrishnaalavala/context-router, covering agents.md — context-router, 1. in a terminal, 2. in your agent session, first call: searchmemory(query=" ") and second call: getcontextpack(mode="handover").