pudo-code-system / codex
AGENTS.md5 starsChanged 6 months agoMITView on GitHub
Template: copy this file to your project repository root as AGENTS.md. Default workflow: Plan -> Understand -> Develop -> Optimize (PUDO). Use the smallest workflow that safely solves the task. Default limit before first patch: - Inspect up to 5 relevant files. - Expand only when blocked by missing context. Use the cheapest sufficient verification. If checks are skipped, state the reason briefly. Use this format by default: Changed: - ... Verified: - ... Notes: - Only assumptions, risks, skipped…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository38 other files it gives its agents.
- AGENTS.mdAGENTS.md
- claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- fastapiSkill
- rustSkill
- backend-codeSkill
- frontend-codeSkill
- javascript-codeSkill
- java-codeSkill
- python-codeSkill
- codeSkill
- crash-analysisSkill
- memory-debugSkill
- network-debugSkill
- performance-debugSkill
- debugSkill
- argo-cdSkill
- dockerSkill
- github-actionsSkill
- gitlab-ciSkill
- jenkinsSkill
- kubernetesSkill
- devopsSkill
- terraformSkill
- nextjsSkill
- react-nativeSkill
- api-design-planSkill
- architecture-planSkill
- database-planSkill
- security-planSkill
- planSkill
- e2e-testSkill
- integration-testSkill
- testSkill
- tddSkill
- unit-testSkill
- smart-contractsSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
25 rules. About 0 are common, 23 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈23
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 5
Default workflow: Plan -> Understand -> Develop -> Optimize (PUDO).
- Distinctive: line 9
Keep responses concise by default.
- Distinctive: line 10
Avoid dumping large file contents.
- Very specific: line 11
Prefer targeted search (rg) and small file slices over broad scans.
- Distinctive: line 15
Use the smallest workflow that safely solves the task.
- Distinctive: line 25
Search first, read second.
- Very specific: line 26
Prefer rg, file tree, and targeted snippets over opening whole files.
- Distinctive: line 27
Read only files needed for the current task.
- Distinctive: line 28
Stop expanding context once the implementation path is clear.
- Distinctive: line 29
Avoid dumping full file contents unless replacing the whole file.
- Distinctive: line 31
Default limit before first patch:
- Distinctive: line 38
Do not rewrite unrelated files.
- Distinctive: line 39
Do not reformat files unless formatting is the task.
- Distinctive: line 40
Do not add dependencies without explicit justification.
- Distinctive: line 41
Do not change public contracts unless required.
- Distinctive: line 42
If the plan becomes wrong, stop and re-plan briefly.
- Distinctive: line 46
Use the cheapest sufficient verification.
- Distinctive: line 52
If checks are skipped, state the reason briefly.
- Distinctive: line 56
Use this format by default:
- Distinctive: line 65
Only assumptions, risks, skipped checks, or follow-ups.
- Distinctive: line 70
Ask before destructive, high-risk, or ambiguous changes.
- Distinctive: line 74
Read the relevant files before editing.
- Distinctive: line 80
Add or update tests when the change is risky or user-facing.
- Distinctive: line 81
If the plan fails, stop and re-plan instead of forcing it.
- Distinctive: line 86
Run the most relevant available checks, or explain why they were skipped.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Codex AGENTS.md (PUDO, Lean)
Template: copy this file to your project repository root as AGENTS.md.
Default workflow: Plan -> Understand -> Develop -> Optimize (PUDO).
Token-Efficient Defaults
- Keep responses concise by default.
- Avoid dumping large file contents; summarize and reference paths.
- Prefer targeted search (
rg) and small file slices over broad scans.
Token and Time Budget
Use the smallest workflow that safely solves the task.
Task Modes
- Micro: typos, one-line fixes, small docs/config edits. Skip full PUDO. Inspect only directly relevant files. Run the cheapest relevant check.
- Standard: normal features, bugs, and refactors. Use compact PUDO: brief plan, targeted understanding, small patch, relevant verification.
- Critical: auth, payments, database, migrations, security, public APIs, data loss risk. Use full PUDO with assumptions, edge cases, tests, rollback notes, and quality gate status.
Context Budget
- Search first, read second.
- Prefer
rg, file tree, and targeted snippets over opening whole files. - Read only files needed for the current task.
- Stop expanding context once the implementation path is clear.
- Avoid dumping full file contents unless replacing the whole file.
Default limit before first patch:
- Inspect up to 5 relevant files.
- Expand only when blocked by missing context.
Patch Discipline
- Make the smallest patch that satisfies the task.
- Do not rewrite unrelated files.
- Do not reformat files unless formatting is the task.
- Do not add dependencies without explicit justification.
- Do not change public contracts unless required.
- If the plan becomes wrong, stop and re-plan briefly.
Verification Tiers
Use the cheapest sufficient verification.
- Tier 1: format, lint, typecheck, or targeted syntax check.
- Tier 2: targeted tests for changed modules.
- Tier 3: full test/build only for critical, cross-cutting, release, or risky changes.
If checks are skipped, state the reason briefly.
Final Response Budget
Use this format by default:
Changed:
- ...
Verified:
- ...
Notes:
- Only assumptions, risks, skipped checks, or follow-ups.
Plan
- For non-trivial tasks, propose a short plan with scope, constraints, and success criteria.
- Ask before destructive, high-risk, or ambiguous changes.
Understand
- Read the relevant files before editing.
- Match existing patterns, conventions, and architecture.
Develop
- Make small, reviewable patches.
- Add or update tests when the change is risky or user-facing.
- If the plan fails, stop and re-plan instead of forcing it.
Optimize
- Self-review for correctness, readability, and maintainability.
- Run the most relevant available checks, or explain why they were skipped.
- Summarize what changed and how it was verified.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

