upvote
Having experimented with soft-linking AGENTS.md into CLAUDE.md and GEMINI.md, this lines up well with my experience. I now just let each time maintain it's own files and don't try to combine them. If it's something like my custom "## Agent Instructions" then I just copy-pasta and it's not been hard, and since that section is mostly identical I just treat AGENTS.md as the canonical and copy/paste any changes over to the others.
reply
[dead]
reply
Are there any good guides on how to write prompt files tailored to different agents?

Would also be interested in examples of a CLAUDE.md file that works well in Claude, but works poorly with Codex.

reply
Why would you settle for a guide when you can get a claude skill to do it for you?

https://github.com/nidhinjs/prompt-master

reply
Because that just does it for you, it doesn't help me understand how to write better prompts.

Actually, I can just read the skill with my own eyes and then I can also learn. So, thank you for sharing. It's interesting to read through what it suggests for different models - it fits for the ones I work with regularly, but there are many I don't know the strengths and weaknesses of.

reply
I think one of the main examples that i saw in a swyx article a while back is that using the sort of ALL CAPS and *IMPORTANT* language that works decently with claude will actually detune the codex models and make them perform worse. I will see if I can find the post
reply