logoalt Hacker News

Claude Code now reads AGENTS.md if there is no Claude.md

556 pointsby datadrivenangelyesterday at 9:00 PM202 commentsview on HN

Comments

perganomolytoday at 2:09 AM

The fact that it took this long to add such a basic feature is a disgrace. I’m not even remotely satisfied. Bailed on Claude ages ago. Rolling Codex, Gemini, and Qwen3.8 30B. The only way I’m going back to Anthropic is if they drop and Culture Series mind.

show 1 reply
stillpointlabyesterday at 9:29 PM

I recently had Claude Fable set up a new project for me and I pointed it at some existing projects to use as a guide on how I like to structure things. It created, unprompted, an AGENTS.md file and a CLAUDE.md symlink to AGENTS.md

I didn't even have that symlink in any other project - it just did it. I think it saw that one of the projects I already had was set up by Codex and that project had an AGENTS.md so perhaps it inferred that I was using both Claude and Codex, so it was politely covering both? Or maybe a recent change made this behavior default?

I was surprised and I hope they continue to seek standards.

show 2 replies
clutter55561yesterday at 9:18 PM

Don’t get too excited, Claude code still won’t detect skills on .agents/skills.

show 3 replies
rukuu001yesterday at 9:50 PM

Once I asked, puckishly, Claude Code to “follow the instructions in this directory” when there was only an AGENTS.md there.

In the manner of someone finding a dead mouse and holding it up for examination CC said it could find no instructions but perhaps it should check this AGENTS.md file.

show 3 replies
throwaw12yesterday at 9:25 PM

Remember they didn't do this because they wanted to help community, they did it because community was angry and they were losing users to other harnesses.

Doesn't look like Anthropic care about dev community

chr15mtoday at 12:02 AM

This is simply the obvious, non-stupid thing to do, like Apple switching to USB-C.

albatross79today at 2:47 AM

CC is such a bloated POS by this point that only full on AGI could have implemented this feature. Congrats guys. Maybe with Super Intelligence they will be able to make it actually respect the instructions in there too.

budosoyesterday at 9:50 PM

This just be a recession indicator

show 1 reply
jtbakeryesterday at 9:53 PM

LOL https://thenewstack.io/shopify-claude-code-agentsmd/

> “I’m thinking about banning Claude Code at Shopify until they change their mind and read AGENTS.md and .agents/skills etc.,” Lütke posted Tuesday on X.

show 2 replies
TomGardenyesterday at 9:21 PM

Caught myself about to praise this, but it's the absolute bare minimum.

Time to delete the symlinks

show 2 replies
stbenjamtoday at 3:43 AM

Everyone sharing the 513 ways you can already do this is entirely missing the point. Standards matter and there's very few things in the AI world everyone agrees on and this is one of them. .agents/skills is another and anthropic is still holding out there.

mitchitizedyesterday at 9:52 PM

Claude also checks your settings.json first, and if it sees a default there it then prefers that over anything in CLAUDE.md. This is particularly nefarious as they ship logic to presume a default if a setting is not there in settings.json, even if there are instructions in CLAUDE.md for exactly that.

For instance, say you added "do not add 'Made with Claude Code' in any issues, pull requests or wiki entries" in your CLAUDE.md. So far, so good.

Well the latest update now looks for something in your settings.json. Since you don't know about it, it is not set. Claude then says "not explicitly set, so now it is true by default". It completely ignores your CLAUDE.md.

Wait, what?

You shouldn't be shipping logic that arbitrarily redefines the behavior of the program, especially if your new logic actually ignores your own configuration or directives.

show 1 reply
seaalyesterday at 9:24 PM

The madlads finally did it, now if only I could use my Claude sub in other harnesses without risking getting banned.

show 1 reply
sscaryterryyesterday at 9:36 PM

Still can't read what their models vomit at me.

bcoriglianoyesterday at 10:48 PM

Finalllyyyy!! We need industry wide standards. I come from the 3d industry and oh god changing softwares and adapting to different hotkeys it's a pain. I have always thought every industry should be standardized for the sake of the users.

cjonastoday at 12:09 AM

Meanwhile, I just setup codex for the first time (to try Astra) and it offered to load my Claude and Cursor conversations and claims to even do it in a way where it says in sync if you use both. The only reason to use Claude Code is the 20x usage of the 200$ plan is ridiculous value if you have the need for that volume.

show 1 reply
askonommyesterday at 9:11 PM

Finally doing something standards-compliant instead of forcing users into a proprietary workflow.

show 4 replies
marcelo-earthyesterday at 11:59 PM

Oh, finally! Time to delete symlinks

That said, AGENTS.md doesn't seem like a good name, right?, technically, it's an instructions file read by a single agent, not necessarily for agents, so it always struck me as a bit odd

But until the next standardization, keeping just AGENTS.md is the best approach.

show 1 reply
dingayesterday at 9:28 PM

My claude.md:

# CLAUDE.md

This project uses `AGENTS.md` as its agent instruction file (kept provider-agnostic). Treat any `AGENTS.md` file exactly as you would a `CLAUDE.md` file — at the root level and in any subdirectory you are working in.

@AGENTS.md

show 1 reply
nullbiotoday at 3:11 AM

People still use Claude?

orlpyesterday at 10:33 PM

I wonder when they'll finally fix the VS Code plugin to not constantly dump your current file into the context.

getnormalitytoday at 12:19 AM

I gotta hand it to programmers (or whatever we call ourselves now) for sticking to principle on something this trivial.

It was either this or Claude had to become a generic term like sheetrock.

show 1 reply
aromanyesterday at 9:27 PM

Finally, I can delete `sync-agent-docs.sh`, which recursively symlinked AGENTS.md to GEMINI.md and CLAUDE.md...

winwangyesterday at 11:54 PM

Gotta say, it is hilarious that this is the current top HN post. I feel like it's gotta say something about our current AI zeitgeist, that there is such vigorous attention on a seemingly-minor change. Feels like something is on the tip of my tongue but I can't name it at the moment.

If anyone wants to write/link a much better-thought-out post, I'm all ears!

show 2 replies
laluneodysseeyesterday at 11:24 PM

Just to touch on the wording of "in a project with no CLAUDE.md" does that mean user-level ~/AGENTS.md or ~/.agents/AGENTS.md isnt supported?

neverrrootyesterday at 9:16 PM

Thanks guys, you did the right thing.

osr00yesterday at 11:49 PM

Better late than never... Now it's time for Claude Code to load skills from .agents/skills!

mococayesterday at 9:47 PM

This is not a news to celebrate, they must follow standards

getpokedagainyesterday at 9:46 PM

Wow..... Progress and technical innovation right here!!!

mrkpdlyesterday at 11:26 PM

Wild that it didn’t already do this

anukinyesterday at 9:19 PM

Thank you Tobi Lutke.

show 1 reply
Bluesteinyesterday at 10:24 PM

AGENTS.md is the new autoexec.bat.-

show 1 reply
datadrivenangelyesterday at 9:18 PM

This allows us to remove our one line Claude.md files that just say "AGENTS.MD"

show 1 reply
jampekkayesterday at 10:58 PM

Commoditization commoditizes commodities.

vindex10yesterday at 9:11 PM

First feature to borrow after peaking into openai repos? ))

egorfineyesterday at 10:07 PM

Hell froze over?

orliesaurusyesterday at 10:27 PM

finally! Now this might sound sorta off-topic but i really wonder how people feel about skills.md, skill.md, skills.sh domains...

the fact that they're owned by different companies (ok vercel is a little less random) still leaves me with a sour taste in my mouth when thinking about the fact that they should all point to 1 place about how to create and find skills for ai agents?!

csomaryesterday at 11:08 PM

Before anyone even contemplates if Anthropic has any good intentions, remember, this is how petty and small minded they are.

Truly the last people you want with this kind of power.

bakugoyesterday at 10:34 PM

Forcing their own proprietary filename was clearly a business decision (it's free advertising, along with commit co-authorship). I wonder what made them go back on it.

show 1 reply
moecablesyesterday at 10:08 PM

great, one less step for me.

I was using my claude.md file as a pointer to my agents.md file

SrslyJoshyesterday at 9:54 PM

Truly incredible innovation.

zapstoday at 12:29 AM

Thank Christ

Art9681yesterday at 10:43 PM

Great. Now if they could support the `~/.agents/skills` path next like everyone else does that would be even better.

cmrdporcupineyesterday at 9:19 PM

Only took them a year and a half of everyone complaining to finally do the right thing.

Congrats.

skeptic_aitoday at 12:05 AM

I just wiped all agents and it’s always readme.md

aussieguy1234yesterday at 11:58 PM

So far I've been managing this with a symlink.

Same with skills, symlink to skills at .claude/skills

Havocyesterday at 10:35 PM

Sanity prevails

show 1 reply

🔗 View 22 more comments