← Back to context

Comment by zahlman

23 days ago

> Just one line in AGENTS.md and CLAUDE.md: "Start by reading PROJECT.md" .

> And PROJECT.md contains...

…Why not just use that PROJECT.md as the AGENTS/CLAUDE.md?

Doing that would mean copying and keeping in-sync two files: AGENTS.md and CLAUDE.md since I use both, claude, and others intercheangeably in one project.

Also, I dont want to keep my project's details in those files, but, keep it separate.

With current setup/way, a single line in both satisifies all constraints and requirements.

  • I use AGENTS.md as the "global" agent file, then use CLAUDE.md as a light wrapper with Claude-specific instructions which ends in an instruction to read AGENTS.md .

    • That works better. I just personally avoid touching global configs, hence, the project specific copy-pasting of two files.