Claude Code reads AGENTS.md only when telemetry is on [fixed]
Thread
Unofficial Hacker News client; not affiliated with Y Combinator.
Claude Code reads AGENTS.md only when telemetry is on [fixed]
Unofficial Hacker News client; not affiliated with Y Combinator.
mpoteat · · focus · HN ↗
The mod is source available here: <a href="https://github.com/anthropics/claude-code/tree/main/mods/agents-md" rel="nofollow">https://github.com/anthropics/claude-code/tree/main/mods/age...
Apologies again folks, this was a fully human error on my part - I should've found a better way to launch with a kill-switch.
mpoteat · · focus · HN ↗
If folks play around with it, I would love feedback on the relevant issue: <a href="https://github.com/anthropics/claude-code/issues/91870" rel="nofollow">https://github.com/anthropics/claude-code/issues/91870
Mods allow quite a bit more customizability and control. I really believe in the idea.
rickette · · focus · HN ↗
pdpi · · focus · HN ↗
As for the only difference being the file name, that's an untested assumption. Up until now, Claude hadn't supported AGENTS.md, and it's a simple application of Hyrum's Law that somebody, somewhere, was taking advantage of that to give one set of instructions to Claude, and a different set of instructions to some other provider. The correct behaviour in the presence of both files is not obvious, either.
Having a kill switch for the change is a perfectly reasonable safety measure in case something goes horribly wrong.
redox99 · · focus · HN ↗
Read CLAUDE.md if it doesn't exist read AGENTS.md you don't need to overthink it so much.
arcfour · · focus · HN ↗
And I say this as someone that loves the Unix philosophy dearly.
lunar_mycroft · · focus · HN ↗
arcfour · · focus · HN ↗
This is, to me, a completely reasonable and believable use case that could break if you implement this fix without "overengineering" it.
A setting to disable what? Be specific. See? Not so simple...
lunar_mycroft · · focus · HN ↗
Bonus forth point: why is this critical to solve for claude code, but not for all the other harnesses which have all converged on AGENTS.md for this purpose?
arcfour · · focus · HN ↗
lunar_mycroft · · focus · HN ↗
arcfour · · focus · HN ↗