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...
bakugo · · focus · HN ↗
> Some people might have a different CLAUDE.md and AGENTS.md
How exactly do these two conflict? If you have both, nothing changes.
arcfour · · focus · HN ↗
We're talking about changing default behaviors here in ways that can be surprising to users. It's reasonable to try and accommodate existing setups, future setups, and - yes - careless users.
scottyah · · focus · HN ↗
bakugo · · focus · HN ↗
dylan604 · · focus · HN ↗
you're really over thinking this, and i'm wondering if you're risking pulling something stretching like that to pick this up shilling for Anthropic.
arcfour · · focus · HN ↗
dylan604 · · focus · HN ↗
cgriswald · · focus · HN ↗
Instead we get the implicated assertion that users’ existing workflows shouldn’t matter to Anthropic and accusations that someone you don’t agree with is a shill. When called on that you avoided the question.
To answer your question, although it wasn’t directed at me: YES. I want people to be able to discuss that exact issue even if it isn’t personally interesting to me.
troupo · · focus · HN ↗
Anthropic is the last company I would trust to make any decisions. Look at any discussions surrounding their "Claude is a tiny game engine" idiocy, numerous bugs that a junior can discover, a full "plugin system" in which they neeeed a dozen files in the worst Clean Code manner to read one of two files etc.
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 ↗
dylan604 · · focus · HN ↗
troupo · · focus · HN ↗
amluto · · focus · HN ↗
arcfour · · focus · HN ↗
dotancohen · · focus · HN ↗
0x457 · · focus · HN ↗
> And I say this as someone that loves the Unix philosophy dearly.
Unix way would be just to tell users to `ln -s` and stop bothering with this.