Claude Code now reads AGENTS.md if there is no Claude.md
Thread
Unofficial Hacker News client; not affiliated with Y Combinator.
Claude Code now reads AGENTS.md if there is no Claude.md
Unofficial Hacker News client; not affiliated with Y Combinator.
askonomm · · focus · HN ↗
swyx · · focus · HN ↗
aka, sometimes it really is too early to force a standard
arcanemachiner · · focus · HN ↗
I'll just use my one-size-fits-all AGENTS.md file and tweak it when the one of the clankers screw up. I don't have time for such busywork.
Actually, I will append extra rules to CLAUDE.md (which imports AGENTS.md) since there is a hook there, and Claude has its own foibles. So I'll backpedal a bit there.
atonse · · focus · HN ↗
willsmith72 · · focus · HN ↗
on the other hand if it's just a local coding/"use my computer" agent, i highly doubt the effort in maintaining different prompts is worth any gain in performance
groby_b · · focus · HN ↗
In a "one LLM only" environment, your instructions are by default tuned for said LLM.
In a multi-LLM environment, roughly nobody will keep separate sets of instructions for each. It's not a realistic take.
On top of that: If your LLM is so bad at reading that it can't follow a set of instructions that wasn't specifically written just for that one single precious LLM, I sure wonder what that says about your employers repeated statements that ASI is definitely right around the corner.
TomGarden · · focus · HN ↗
swyx · · focus · HN ↗
[deleted] · · focus · HN ↗
[deleted]
TomGarden · · focus · HN ↗
esikich · · focus · HN ↗
[deleted] · · focus · HN ↗
[deleted]
orlp · · focus · HN ↗
jwolfe · · focus · HN ↗
recursivegirth · · focus · HN ↗
jwolfe · · focus · HN ↗
No harness can batch your agents.md read with the reads the contents of the file tell it to read.
pishpash · · focus · HN ↗
hadlock · · focus · HN ↗
sumedh · · focus · HN ↗
smartwordworld · · focus · HN ↗
[dead]
qlte · · focus · HN ↗
deaux · · focus · HN ↗
Tariq is wrong and it's not an antipattern. Reason being that a good AGENTS.md impacts all models in a positive manner. If it affects certain models negatively, it means you're putting the wrong things in it.