Guide

Three tools.
One version of what your team decided.

Most teams now use more than one coding agent, and each one reads its own file: CLAUDE.md, AGENTS.md, .cursorrules, plus whatever the tool remembers on its own. Keeping those copies in step by hand does not last. The reliable fix is to stop copying: serve every tool from one record, and generate the files from that record for the tools that still need them.

Options

Three ways teams try to keep tools aligned

All three are reasonable. Only the last one removes the copy that drifts.

Symlink one file to the others
Point AGENTS.md and CLAUDE.md at the same file. It works for two tools that read plain markdown the same way. It stops working once a tool needs its own format, such as Cursor rules with frontmatter, or tool-specific overrides.
Generate every file from one source
Keep one canonical document and generate each tool’s file from it in CI. This keeps the files consistent, but somebody still has to keep the canonical document current, and that is the part that drifts.
Serve one record over MCP
Every tool that supports the Model Context Protocol asks the same server for context when a session starts. Nothing is copied between tools, so there is nothing to keep in sync. Files can still be generated for tools that do not support MCP.
How to

Serve every tool from one record

About five minutes for the first repository.

npx decispher@latest init
01
Wire the repository once

Run the command below in the repository. It signs you in through the browser and installs the hooks for Claude Code, Cursor, Codex and Grok Build in one pass.

02
Add the same server to each tool

Each tool gets one MCP entry that names your credentials with DECISPHER_LINK instead of holding a key, so the config is safe to commit and identical across tools.

03
Let the record keep the files current

Decispher regenerates CLAUDE.md, AGENTS.md, .cursorrules and the Copilot instructions file from the record by pull request, so tools that read files see the same thing as tools that use MCP.

Questions

What people ask about using several coding tools

Do Claude Code, Cursor and Codex share memory?

Not by default. Each keeps its own memory and reads its own rules file. A preference saved in one tool does not reach the others unless it lives in a file all of them read, or in a server all of them query.

Should I use AGENTS.md or CLAUDE.md?

If your team uses more than one tool, use both and make them resolve to the same content. The bigger risk is not which file you pick but that each copy drifts from the code over time.

Does serving context over MCP replace the rules files?

It removes the need to maintain them by hand. The record is the source, and the files are generated from it by pull request, so a tool without MCP support still gets a current version.

Stop keeping three copies of the same context.

Wire your repository once, add one server entry per tool, and let the record keep every file current.

Read the setup guideAGENTS.md vs CLAUDE.md