Developer keeps AGENTS.md, CLAUDE.md and Cursor rules in sync
11/25/2026 — 11/27, 10:19·1 sources (all)·2 reports (all)
Key takeaways
- A developer who builds most client sites with coding agents places a single AGENTS.md at each repo root and symlinks CLAUDE.md and Cursor ru…
Background & analysis
On November 25, 2026, a developer writing on DEV Community described how he now builds most client sites with a coding agent, mostly Claude Code and Cursor when he wants to watch the diff. In the first few months, he said, the agent kept making the same mistakes on client repos: renaming image folders and breaking old URLs, hardcoding a phone number in five places, deleting a JSON file the client had just edited, and running a deploy from the wrong folder. His fix was to place an AGENTS.md file at the root of every client repository and symlink CLAUDE.md and the Cursor rules file to the same content, so Claude Code, Cursor and Codex all read one set of instructions. The file records rules aimed at those recurring mistakes.
Two days later, on November 27, another DEV Community post looked at how AGENTS.md, CLAUDE.md and Cursor rules drift apart when several coding tools share one repository. The article notes that Codex reads from ~/.codex/AGENTS.md down through the repository root and the current working directory, and that the default project_doc_max_bytes for the whole chain is only 32 KiB, so an oversized root file can silently truncate package-level rules further down. Copying a 400-line style guide into every tool's config file, it adds, not only doubles maintenance but can also silently cut nested package rules or add thousands of static tokens to every turn. The author lists three common traps and a minimal directory layout that keeps a single source of truth.
Both pieces stay at the level of individual developer practice and lessons learned; neither mentions any response from the tool makers or any product-level change.
AI-generated from 2 reports · updated 2 days ago
Latest turnWhen Claude Code, Cursor and Codex open the same repository, their instruction files drift apart fast. The write-up notes that Codex reads from ~/.codex/AGENTS.md down through the repo root to the working directory under a single 32 KiB project_doc_max_bytes budget, so an oversized root file can silently truncate package-level rules. It lays out three traps and a minimal single-source-of-truth layout.
Related AI tools
- Heat index
- 25
- All sources
- 1
- All reports
- 2
- First seen
- 4 days ago
Reports on this story headlines open the original
When Claude Code, Cursor and Codex open the same repository, their instruction files drift apart fast. The write-up notes that Codex reads from ~/.codex/AGENTS.md down through the repo root to the working directory under a single 32 KiB project_doc_max_bytes budget, so an oversized root file can silently truncate package-level rules. It lays out three traps and a minimal single-source-of-truth layout.
DEV Community · AIAI score 59
A developer who builds most client sites with coding agents now puts an AGENTS.md in every repo root before the agent touches anything, symlinking CLAUDE.md and Cursor's rules file to the same document so Claude Code, Cursor and Codex all get one brief. The file encodes the agency rules the agent kept breaking: renaming image folders and breaking old URLs, hardcoding a phone number in five places, deleting a JSON file the client had just edited, deploying from the wrong directory.
DEV Community · AIAI score 63
Other stories people are talking about
- Heat index 63Team uses a single AGENTS.md to share rules across Codex and Claude Code1 sources
- Heat index 45Developer finds compressing CLAUDE.md drops 21 rules, 6 reversed in meaning1 sources
- Heat index 28Developer uses MCP to connect Claude to voice outreach workflows1 sources
- Heat index 80Tutorial: estimating Claude token counts and costs with count_tokens1 sources
- Heat index 63Developer says bulk-installed Skills crowd out Claude Code's context window1 sources
How is heat calculated?About the methodHide
Heat counts how many independent sources covered a story in the last 48 hours: one source counts once no matter how many posts it published, decaying with a 24-hour half-life. What ranks first is what many people are talking about.
This page aggregates public feeds. Headlines and summaries are machine-organized and remain the property of the original authors; verify important facts at the source. If you believe a headline or summary infringes your rights, email the contact address in the footer with the page URL and basis of your claim, and we will remove or replace it after review.
- Surge
- Discussion rising fast
- New
- First report within 6 hours
- Rising
- Still gathering discussion

