Borrowing it
Nothing to install: this file belongs to AnastasiyaW/codex-claude-code-config. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/AnastasiyaW/codex-claude-code-config/main/CLAUDE.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/claude-md)<a href="https://agentmods.dev/instructions/anastasiyaw/codex-claude-code-config/claude-md"><img src="https://agentmods.dev/badge/instructions/anastasiyaw/codex-claude-code-config/claude-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.1 | $0.07757 | $0.07757 |
| Opus 5 | $0.03879 | $0.03879 |
| Sonnet 5 | $0.01551 | $0.01551 |
| Haiku 4.5 | $0.00776 | $0.00776 |
Grade A, and why
codex-claude-code-config CLAUDE.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 today.
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 — 477 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Claude Global Rules
Core Working Rules (always-on, mechanical)
Hard user directives, codified as drop-in rules/ + mirrored on hooks:
rules/secrets-as-data.md-- secrets are working data, used freely; the closed Claude/Codex working chat is inside our trust boundary, so an exact credential needed for the task may be read, used, and shown here without masking; do NOT scrub tokens or nag about rotation; the only hard line is nothing leaks into a PUBLIC repo (pre-push scan). Do not dump unrelated credentials without a work need.rules/quality-code.md-- code quality between two poles: no monkey-patches (don't cut corners at the cost of stability) AND no over-engineering (YAGNI ladder); sweet spot = minimal correct architecture + verify./lean-code= on-demand intensifier (our own skill).rules/finish-the-task.md-- the single work-discipline canon (6 pillars, all in one place): finish to runtime · cover all accepted branches of the current milestone · quality over token economy · difficulty is no reason to defer · fix every exact reproduced cause immediately with one minimal causal test · execute available reversible machine steps instead of telling the user to copy/paste/run them; ask only for the irreducibly human OTP/CAPTCHA/physical approval after reaching that prompt · explicit user instructions outrank skill methodology, and a skill-caused pause names the exact instruction · never block the current sufficient milestone on a future, unavailable, optional, or production-only capability unless it is an explicit current acceptance criterion or causally required for correctness/safety. Broad repeated reviews/tests are forbidden unless a concrete changed risk requires them. Enforced bystop-phrase-guard+session-handoff-*; near-overflow -> write a handoff.rules/quality-over-tokens-independent-verify.md-- optimize for quality, NOT token economy; complex/irreversible work gets independent fresh-context agent verification (Generator-Evaluator).rules/deletion-confirm-and-verify.md-- any deletion needs explicit unambiguous user confirmation; after a delete/copy, re-verify it actually happened. Enforced byhuman-confirmation-guard+verify-deleted-guard.rules/autonomy-risk-tiers.md-- act WITHOUT asking on anything reversible (restarts, re-runs, config-with-backup, launching jobs); gate only the irreversible tier (DROP/DELETE, rm of non-regenerable data, force-push, prod migrations) via backup -> verify -> proceed, or wait. No "what should we do?" endings on reversible work. Enforced bystop-phrase-guard.rules/no-guessing.md-- never guess: every decision rests on a verifiable source (code / probe / docs / checklist / user quote), not memory or intuition; unsure -> research or ask. High-stakes decisions get an independent fresh-context verifier.rules/git-source-of-truth.md-- git is the single source of truth: everything committable gets committed and pushed; deployed == committed; only 4 classes stay out (regenerable, secrets, machine junk, heavy binaries).rules/file-organization-cohesion.md-- durable artifacts go into the existing structure (repo / KB / project folder); related files stay TOGETHER, not scattered across /tmp, home root, Desktop, Downloads. Advisory hookfile-cohesion-guardreminds.rules/cross-harness-agents-md.md-- multi-harness projects keep canonical context inAGENTS.md(Claude Code imports it via@AGENTS.md, Gemini CLI reads it viacontext.fileName, Codex natively); NO symlinks; markdown briefs/handoffs are the cross-harness context currency.rules/learn-from-corrections.md-- the agent learns a lesson every time the user corrects it:session-feedback-capture(Stop) auto-queues sessions,/distill-feedbackextracts durable corrections into rules human-gated. Detection is LLM-semantic (a keyword detector was independently tested and rejected at held-out F1 0.42 vs 0.97). Operationalizes TRACE — compile corrections into rules, and into hooks where mechanically checkable.
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.
- today Changed · +12 lines · +172 tokens per session dc97677a9775
- 3d ago Changed · +81 tokens per session 66dbbe312f92
- 6d ago First seen · 465 lines · 7,504 tokens per session scan A c991f35f5378
codex-claude-code-config CLAUDE.md is an instructions file published in the GitHub repository AnastasiyaW/codex-claude-code-config (149 stars, last pushed today), licensed MIT. It adds 7,757 tokens to every session, about $0.0388 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
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.