logoalt Hacker News

wfurneytoday at 12:08 AM1 replyview on HN

Claude code will only read the other .md files after you take a turn to prompt it, not when the session starts. So if I run `/clear` it will retain the CLAUDE.md context but not AGENTS.md.


Replies

morbicertoday at 8:53 AM

This plus auto-discovery of nested non-root CLAUDE.mds in a more complex setup (monnorepo or even a big project with different parts)