Know a great AI tool or AI news source? Submit it to AiByts
claude10 min read

AGENTS.md and CLAUDE.md in a Monorepo: Where Instruction Files Go and Which One Wins

Coding agents resolve nested instruction files differently: AGENTS.md uses the closest file, Claude Code stacks every CLAUDE.md from the root down. How to lay out instruction files in a monorepo, what goes at each level, and how to stop them contradicting each other.

By The Moxie Docs teamMoxie Docs Blog
AGENTS.md and CLAUDE.md in a Monorepo: Where Instruction Files Go and Which One Wins

Read the full story

Originally published by Moxie Docs Blog on Sep 24, 2026.

Read on Moxie Docs Blog(opens in a new tab)

Comments

Sign in to join the discussion.

No comments yet — be the first to share your thoughts.