problem is that claude doesn't actually read those or keep them in context unless you prompt it to. it has to be in CLAUDE.md or it'll quickly forget about the contents
I've added these instructions in CLAUDE.md and .windsurfrules, and yes sometimes you have to remind it, but overall it works quite well.
Re:Cursor CLI
by MrGreenTea on Friday August 08, 2025 @02:04AM
(#44833952)
Habe you though about adding a Session start hook that reads this file and adds it to the context?
Not yet, but that sounds like a good suggestion.
Sounds like a job for a symlink
> it has to be in CLAUDE.md or it'll quickly forget about the contents
And then it will promptly forget about CLAUDE.md as well (happened to me on several occasions)
CLAUDE.md is placed in front of the first input for your session, right after the system prompt. That’s all. It’s not given any more weight than the rest of the context, and idk what compacting the conversation does to it.
You could create a CLAUDE.md that just contains:
@AGENTS.md
Still messy, but at least it means it's using the same contentWhat about
ln -s AGENTS.md CLAUDE.md # repeat for all
?
---