Team uses a single AGENTS.md to share rules across Codex and Claude Code
11/28/2026 — 11/28, 22:17·1 sources (all)·1 reports (all)
Key takeaways
- A team running both Codex and Claude Code in one repository relies on a root-level AGENTS.md so the two agents follow the same rules. Codex,…
- nested files take effect closest-first.
Background & analysis
On November 28, 2026, a DEV Community article described how one team runs Codex and Claude Code side by side in the same repository, so that two different coding agents follow a single set of rules. Their approach relies on an AGENTS.md file at the top of the repository. According to the article, once that file is placed at the repository root and committed, it is read by Codex, Cursor, GitHub Copilot's coding agent, Gemini CLI and a long list of other tools. Claude Code also reads it, but only as long as the repository contains no CLAUDE.md. When one part of the codebase needs its own rules, another AGENTS.md can be added in that folder, with the file in the subdirectory taking effect locally. The article further notes that the format is plain Markdown with no required fields, and that it is maintained by the Agentic AI Foundation under the Linux Foundation. The available material stops at this description of the shared-rules setup; it does not cover any earlier origin or later developments.
AI-generated from 1 reports · updated 14 hours ago
Related AI tools
- Heat index
- 66
- All sources
- 1
- All reports
- 1
- First seen
- 15 hours ago
Reports on this story headlines open the original
A team running Codex and Claude Code side by side on one repository uses a committed AGENTS.md at the root to keep both agents on the same rules. Codex, Cursor, GitHub Copilot's coding agent, Gemini CLI and many others read it, while Claude Code reads it only when no CLAUDE.md exists; a nested AGENTS.md in a subfolder takes precedence. The format is plain Markdown with no required fields and is stewarded by the Agentic AI Foundation under the Linux Foundation.
DEV Community · AIAI score 54
Other stories people are talking about
- Heat index 47Claude Code team cuts rollback rate by 40% with AI code review1 sources
- Heat index 74Go console bridges Claude Code and Codex sessions to phones1 sources
- Heat index 64Connecting Claude Code to local Ollama models1 sources
- Heat index 172RisingClaude Code adds /ship command for automated PR review3 sources
- Heat index 28Developer open-sources explainroo video tool for Claude Code explainer videos1 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

