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.
Wowfunhappy · · focus · HN ↗
I'm this person, I am actively doing this! I have some instructions which the Claude models need and OpenAI models will do by themselves. If the OpenAI models see the Claude instructions, they will go way overboard in a way I don't want.
Mind, the change does not affect me at all, because when both instructions are present Claude continues to read CLAUDE.md and Codex continues to read AGENTS.md. But if Claude started preferring AGENTS.md, that would be mildly annoying.
californical · · focus · HN ↗
Wowfunhappy · · focus · HN ↗
markhahn · · focus · HN ↗
californical · · focus · HN ↗