AGENTS.md vs CLAUDE.md vs MCP: What Goes Where (2026)
Direct answer: Put shared repo commands and coding rules inAGENTS.md, keep Claude-specific workflows inCLAUDE.md, and connect a remote MCP vault like Multiplist when architectural conversations and settled decisions need to travel across Codex, Claude Code, and web chats.
You open OpenAI Codex in one terminal and Claude Code in another. Both tools know how to run your test suite, yet neither knows why you rejected a caching library in yesterday's ChatGPT or Claude design conversation. Pasting meeting notes or chat transcripts into AGENTS.md or CLAUDE.md only bloats startup context and burns through your instruction budget.
Each layer solves a different job. Keeping repo rules separate from cross-tool conversation memory keeps every coding agent fast and consistent.
Add Multiplist to Claude or start a free Multiplist vault to retrieve saved decisions across terminal and browser sessions.
Official AGENTS.md Specification, OpenAI Codex AGENTS.md Guide, Claude Code Memory Docs, Claude Code MCP Docs, and Multiplist docs checked November 24, 2026.
# Side-by-Side: AGENTS.md vs CLAUDE.md vs Remote MCP
| Layer | AGENTS.md (AGENTS.override.md) | CLAUDE.md (+ Auto Memory) | Remote MCP (Multiplist) |
|---|---|---|---|
| Primary home | ~/.codex/ & repo root/subdirs | ./CLAUDE.md, .claude/rules/, ~/.claude/ | Hosted vault (multiplist.ai/mcp) |
| Best suited for | Cross-agent build, lint, test & repo norms | Claude Code instructions & session notes | Saved web conversations, specs & decisions |
| Who writes it | You / team in git | You (CLAUDE.md) / Claude (MEMORY.md) | You choose what to save or import |
| How it loads | Root-to-leaf merge at session start | Loaded at startup + path-scoped rules | On-demand MCP search & read tools |
| Practical cap | project_doc_max_bytes (32 KiB default) | Target <200 lines; MEMORY.md 200 lines / 25KB | Deliberate save & retrieval per source |
| Cross-tool reach | Codex, Cursor, VS Code, Zed, Claude Code & more | Claude Code | Claude Code, Claude Chat, ChatGPT & MCP clients |
# What AGENTS.md Does Best (and Where It Stops)
According to the AGENTS.md specification, AGENTS.md is a plain-Markdown "README for agents" adopted across more than 60,000 open-source projects and supported by OpenAI Codex, Cursor, VS Code, Zed, Aider, Gemini CLI, and other tools.
Per OpenAI's Codex AGENTS.md guide, Codex discovers guidance in a strict root-to-leaf chain once per run:
- Global scope first:
~/.codex/AGENTS.override.md(if present), otherwise~/.codex/AGENTS.md. - Project scope down to your working directory: Starting at the Git root, Codex checks each folder for
AGENTS.override.md, thenAGENTS.md, then configured fallback names—taking at most one file per directory. - Proximity wins and size is capped: Closer nested files appear later in the combined prompt and override earlier guidance. Codex stops adding files once the combined size reaches
project_doc_max_bytes(32 KiB by default).
Where it stops: AGENTS.md is built for stable repository instructions, not long design discussions. Stuffing architecture debates or product specs into AGENTS.md eats into the 32 KiB cap and still leaves browser conversations stranded in ChatGPT or Claude Chat.
# What CLAUDE.md and Auto Memory Do Best
Per Anthropic's Claude Code memory documentation, Claude Code pairs two local memory layers:
CLAUDE.md(human-written): Loaded at startup for coding standards, non-obvious architecture notes, and commands. Anthropic recommends keeping each file under 200 lines and moving specialized rules into.claude/rules/*.md. Claude Code can also read repositoryAGENTS.mdfiles.- Auto Memory (Claude-written): Notes Claude records locally under
~/.claude/projects/.../MEMORY.md(loading the first 200 lines or 25KB at startup) to remember corrections and project patterns across sessions.
Claude treats both files as contextual guidance rather than hard blocks; when you need strict enforcement, Anthropic recommends using Hooks.
Where it stops: Local CLAUDE.md and MEMORY.md files stay tied to your machine and coding repo. They do not carry decisions made in Claude Chat or ChatGPT browser threads, and other assistants cannot query Claude's private local MEMORY.md.
# When to Add Remote MCP with Multiplist
Use a remote MCP vault when the context you need is a settled decision, framework, or original conversation—not a lint command:
- Save only what matters. Export a key Claude or ChatGPT thread with the free Multiplist Chrome extension, unpack a bulk vendor export at rescue.multiplist.ai, or paste a working spec into your vault.
- Connect your tools deliberately. Add
https://multiplist.ai/mcpin Claude (or check/mcpin Claude Code), and authorizehttps://multiplist.ai/mcp/chatgptin ChatGPT or your MCP client. - Pull exact passages on demand. Ask your coding agent to search your vault for the saved decision by title and inspect the supporting wording before writing code—without adding a single line to
AGENTS.mdorCLAUDE.md.
Boundary: Connecting Multiplist never watches your repository or collects past conversations automatically. You choose what to save, authorize each connector, and verify returned passages. Saved vault content uses Multiplist's hosted service (privacy policy).
# A Simple Rule of Thumb
- Shared build, lint, and test rules for any coding agent: Put them in
AGENTS.md(withAGENTS.override.mdfor subfolder exceptions). - Claude-specific workflows and hooks: Keep them lean in
CLAUDE.md(<200lines). - Architecture tradeoffs, specs, and conversations reused across Codex, Claude Code, Claude Chat, and ChatGPT: Save them in Multiplist and retrieve them on demand via MCP.
Related: CLAUDE.md vs Claude Projects vs MCP (2026), Cursor Rules vs CLAUDE.md vs MCP (2026), ChatGPT Custom Instructions vs Memory vs MCP (2026), and How to Set Up Shared Context Between ChatGPT and Claude Code.