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/anastasiyaw/codex-claude-code-config/agents-mdgit clone --depth 1 https://github.com/AnastasiyaW/codex-claude-code-configWrote 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/anastasiyaw/codex-claude-code-config/agents-md)<a href="https://agentmods.dev/instructions/anastasiyaw/codex-claude-code-config/agents-md"><img src="https://agentmods.dev/badge/instructions/anastasiyaw/codex-claude-code-config/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.01938 | $0.01938 |
| Opus 5 | $0.00969 | $0.00969 |
| Sonnet 5 | $0.00388 | $0.00388 |
| Haiku 4.5 | $0.00194 | $0.00194 |
Grade A, and why
codex-claude-code-config 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 yesterday.
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 — 160 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
This is a configuration system repository for AI coding agents, not an application. It collects battle-tested architectural principles, security hardening, and decision frameworks that any coding agent can drop into any project.
Purpose
principles/- architectural principles, each preventing a specific failure modealternatives/- side-by-side comparisons of 2-5 approaches per problemhooks/- ready-to-use Python hook scripts (session management, safety guards); installer:scripts/install_hooks.pytemplates/- starter CLAUDE.md and REVIEW.md files for different project typesskills/- domain-specific knowledge bundles (loaded on demand)rules/- drop-in.claude/rules/files (agent-harness design rules live on-demand in theagent-harness-designskill, not always-on)workflows/- dynamic-workflow commands + cost lessonsscripts/- utilities (hook installer, config drift validator, KV-cache stats, public-repo sync)CLAUDE.md- Claude Code-specific overlay (extends this file)
How agents should use this repo
When the user asks you to "set up this project" or "apply these principles":
- Read
README.mdfirst - it maps principles to the problems they solve - Read
principles/README.mdfor the maturity-level map (L1 -> L2 -> L3) - Do NOT bulk-copy everything. Pick what matches the user's actual project:
- Any project: Principle 09 (Supply Chain Defense), Principle 10 (Agent Security), Principle 11 (Documentation Integrity)
- Long sessions expected: Principle 07 (Codified Context) +
alternatives/context-management.md - Long-running project:
templates/long-run-project/, a Git worktree with anoriginremote, and an agent-facing KB before creatingfeature_list.json(that marker enables the completion gates) - Multi-agent work: Principle 01 (Harness Design) + Principle 06 (Multi-Agent Decomposition)
- Iterative optimization: Principle 03 (Autoresearch)
- Before copying a principle, verify the user's stack matches the examples
- After setup, run
scripts/validate_config.py --strictand the relevant hook self-tests to catch drift in the freshly assembled config
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.
- yesterday Changed · +15 lines · +228 tokens per session 7848fcc77da7
- 5d ago First seen · 145 lines · 1,710 tokens per session scan A a66514e2e290
codex-claude-code-config AGENTS.md is an instructions file published in the GitHub repository AnastasiyaW/codex-claude-code-config (147 stars, last pushed 2d ago), licensed MIT. It adds 1,938 tokens to every session, about $0.0097 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-30.
Other instructions, from other repositories
learn-harness-engineering CLAUDE.md
Instructions for walkinglabs/learn-harness-engineering, covering claude.md, project overview, commands, documentation site and run lecture code examples.
pydantic-ai AGENTS.md
AGENTS.md instructions for pydantic/pydantic-ai, covering your primary responsibility is to the project and its users, gathering context on the task, ensuring the task is ready for implementation, philosophy and requirements of all contributions.
ratel AGENTS.md
AGENTS.md instructions for ratel-ai/ratel, covering agents.md — working in the ratel repo, build & test, rust, ts and python (from src/sdk/python/; needs uv).
agent-harness-kit AGENTS.md
AGENTS.md instructions for enmanuelmag/agent-harness-kit, covering available research tools, agents.md — @cardor/agent-harness-kit, project, health check (run before making codebase changes) and harness data (source of truth).
san AGENTS.md
AGENTS.md instructions for genai-io/san, covering san agent guide, start here, repository shape, rules and common commands.
browser-agent AGENTS.md
Instructions for uiuing/browser-agent, covering agents.md — guide for ai coding agents, setup & commands, tests — run these before claiming done, repository layout and architecture invariants (do not break these).