---
title: "Discussion on \"AGENTS.md ignored in a monorepo? Claude Code and Codex walk the tree in opposite directions\" | Hashnode"
description: "Discussion on \"AGENTS.md ignored in a monorepo? Claude Code and Codex walk the tree in opposite directions\". Start Codex at the root of a monorepo and the AGENTS.md in your package stays out of that run. Leave a CLAUDE.md in any folder above your working directory and Claude Code, under its default setting,"
url: "https://hashnode.com/posts/agents-md-ignored-in-a-monorepo-claude-code-and-codex-walk-the-tree-in-opposite-directions/6af228404d2db0ccfb19a5a6"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [AGENTS.md ignored in a monorepo? Claude Code and Codex walk the tree in opposite directions](https://iliyaoblakov.hashnode.dev/agents-md-ignored-in-a-monorepo-claude-code-and-codex-walk-the-tree-in-opposite-directions?utm_source=hashnode&utm_medium=feed)

Start Codex at the root of a monorepo and the AGENTS.md in your package stays out of that run. Leave a CLAUDE.md in any folder above your working directory and Claude Code, under its default setting,

1d ago · 8 min read · iliyaoblakov.hashnode.dev  
Read the article

-   [#ai](https://hashnode.com/tag/ai)
-   [#claudecode](https://hashnode.com/tag/claudecode)
-   [#codex](https://hashnode.com/tag/codex)
-   [#monorepo](https://hashnode.com/tag/monorepo)

## Written by

[Iliya Oblakov](https://hashnode.com/@iliyaoblakov)

@iliyaoblakov

  
[View profile](https://hashnode.com/@iliyaoblakov)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
