Skip to content

Load module AGENTS.md files in Claude Code - #77

Merged
Sottti merged 1 commit into
developfrom
agents/nested-claude-md
Nov 11, 2026
Merged

Sottti merged 1 commit into
developfrom
agents/nested-claude-md

Conversation

@Sottti

@Sottti Sottti commented Nov 11, 2026

Copy link
Copy Markdown
Owner

Requested by Pablo · project thread

Summary

Each module here has its own AGENTS.md, but Claude Code reads CLAUDE.md, not AGENTS.md, so it never saw those module rules (Codex did). This adds a CLAUDE.md beside each module AGENTS.md that imports it, so Claude Code picks up the module rules when it works in that folder. Files added: app/CLAUDE.md, data/CLAUDE.md, domain/CLAUDE.md, domain/settings/CLAUDE.md, utils/CLAUDE.md.

Verification

  • Tested revision: b9d9250
  • Markdown-only change. No build script, workflow or test reads these files.
  • Independent review: pending; one local peer review runs before merge.

🤖 Generated with Claude Code

https://claude.ai/code/session_014qmD18Ey4Bg4N8ov8ro45Q

Claude Code reads CLAUDE.md, not AGENTS.md, so the module instructions were
invisible to it. Each module now has a CLAUDE.md that imports its AGENTS.md.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014qmD18Ey4Bg4N8ov8ro45Q
@Sottti Sottti self-assigned this Nov 11, 2026
@Sottti
Sottti marked this pull request as ready for review November 11, 2026 10:22
@Sottti
Sottti merged commit 159fc85 into develop Nov 11, 2026
4 checks passed
@Sottti
Sottti deleted the agents/nested-claude-md branch November 11, 2026 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant