Common file names to migrate from
AGENT.md— the predecessor to AGENTS.mdCLAUDE.md— used by Claude / Anthropic toolingCURSOR.md— used by Cursor- Agent sections embedded in
README.md
Migrating from AGENT.md
If you already have anAGENT.md, migration is a single command. The symlink keeps any tooling that looks for the old name working.
Create a symlink for backward compatibility
Point the old name to the new file so any tools or scripts that reference
AGENT.md continue to work:Migrating from CLAUDE.md or CURSOR.md
If your instructions live in a tool-specific file, copy the content into AGENTS.md and keep the original for tools that require it.Copy the content
Copy your existing instructions into a new Or, if you want a single source of truth, replace the original with a symlink after creating
AGENTS.md:AGENTS.md:Review the content
Open
AGENTS.md and check that the instructions are still accurate. This is a good time to add any missing sections — build commands, test instructions, or code style rules.Migrating from a README.md agent section
Some projects document agent instructions insideREADME.md under a heading like “For AI assistants” or “Copilot instructions.”
Extract the section
Copy the relevant section(s) from
README.md into a new AGENTS.md at the project root.Remove or replace the section in README.md
Either delete the section from
README.md or replace it with a short note pointing to AGENTS.md:Configuring other tools to read AGENTS.md
Some tools need explicit configuration to pick upAGENTS.md.
Aider — add to .aider.conf.yml:
.gemini/settings.json:
Why migration is low-risk
- AGENTS.md is plain Markdown — no schema, no required fields, no validation to pass.
- A symlink means old tooling keeps working without any changes.
- Agents that already read
AGENT.mdor similar files will pick upAGENTS.mdonce configured. - You can migrate incrementally: start with a minimal file and expand it over time.
Treat AGENTS.md as living documentation. Update it whenever build commands, test runners, or workflows change — just like you would a README.
