AGENTS.md generator
Answer questions about how you want Codex to plan edits, ask for approval, and check its work. This free generator turns your answers into working preferences in Markdown. Paste them into your repository’s AGENTS.md or download the file if you’re starting a new one. Your answers stay in this browser tab.
For one universal instructions file, use the full builder for every platform (survey as of ).
AGENTS.md
Paste these preferences into the AGENTS.md at your repository root.
What goes in AGENTS.md
Write down what a teammate needs to make a first change. Give the build or test command you actually use, the directory to run it from, and any files they should leave alone. If a package has its own test command, put it in that package’s AGENTS.md.
Add your working preferences alongside those project details. For example, you can tell Codex when to ask before expanding an edit and what you want to see when a check fails.
Start with the AGENTS.md template and examples. The file uses plain Markdown, as described in the AGENTS.md public specification (as of ).
Free vs Pro for Codex
Free. Copy or download a condensed set of working preferences. Your answers shape how Codex plans edits, explains decisions, and checks the result.
Pro. The offline builder produces a full AGENTS.md tuned for Codex, with sections on working in your repository, handling uncertainty, and responding when something goes wrong.
Other files included with Pro
- ChatGPT Free and Go
chatgpt-short.txt - ChatGPT paid plans
chatgpt.txt - Claude Projects
claude-project.txt - Claude Code
CLAUDE.md - Gemini Gem
gemini.txt - Grok
grok.txt - Cursor
working-style.mdc - OpenClaw
USER.md - Grok Bot
grok-bot.txt
Pro file inventory (as of ).
FAQ
Can I use this with an existing AGENTS.md?
Yes. Copy the preferences you want into the existing file. Keep your repository’s commands and conventions, and edit any generated rule that conflicts with them.
Which AGENTS.md does Codex read?
Codex reads global instructions first, then project instructions from the repository root down to the working directory. In each directory, AGENTS.override.md takes precedence over AGENTS.md. See the Codex AGENTS.md documentation (as of ).
Do I need an account to download my file?
You can generate, copy, and download the Markdown in this tab without signing in. Use Back to revise a choice or Edit answers after generating the file. Reloading the page starts a fresh survey.