How to stop duplicating rules across AGENTS.md, CLAUDE.md and Cursor rules
saurabh53 · reddit · 2026-11-23
Managing instruction files across multi-tool teams often means duplicated guidelines in AGENTS.md, CLAUDE.md and .cursor/rules/.mdc. The author breaks down file roles, scoping, imports, and cross-tool support, with a starter template. Key takeaways: when both AGENTS.md and CLAUDE.md exist, Claude Code may prioritize CLAUDE.md — fix by adding @AGENTS.md at the top; and keep shared instructions short, focused only on details agents can't infer from the repo itself.
More from coding & agent
- Gary Marcus: Claude Code's core is symbolic AI — neurosymbolic route vindicated — GaryMarcus · 2026-11-23
- Personal Agents Hackathon 2nd place: Pantry is an MCP-powered grocery agent for shared homes — HowDevelop · 2026-11-23
- AI agents play a 3D murder mystery: GPT-6.2 solves it in 3m14s — venturetwins · 2026-11-23
- Open-source AI Hedge Fund 3.0 finds, researches and builds its own portfolio — virattt · 2026-11-23
- Tool descriptions are MCP's overlooked attack surface: poisoning and metadata manipulation — Necessary-Sir-3681 · 2026-11-23
- Open-source MCP memory server gives Claude Code, Codex and OpenCode a shared brain — JoeBro121211 · 2026-11-23