Hacker News new | ask | show | jobs
by blevinstein 105 days ago
Workaround: local symlink from CLAUDE.md to AGENTS.md, inside each repo.

It's not pretty, but it works, and it has become my standard practice, so that I get consistent behavior between claude cursor codex etc.

2 comments

I put “@AGENTS.md” in a sibling CLAUDE.md which makes it a bit more explicit and don’t want to run into compatibility issues with the different types of OS’es / filesystems people are using.

But yeah, I think the ultimate goal of Anthropic is just to have a CLAUDE.md in every repository for marketing.

You can also use .claude/CLAUDE.md which will be found. I symlink that to my AGENTS.md which keeps my top level dir clean
Is there a way to make this with for both window and Linux users through git?
"read AGENTS.md and follow it" in the first line of CLAUDE.md should work