logoalt Hacker News

rukuu001yesterday at 9:50 PM3 repliesview on HN

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.


Replies

ryandrakeyesterday at 10:13 PM

Had a silly exchange with Codex: I had an AGENTS.md file in a directory that was a symlink to an already-created CLAUDE.md. On my first prompt to Codex, it decided to point to me that my AGENTS.md specifically calls out directions to Claude, and that it would generously re-interpret them as directions to itself, and that maybe I should fix my AGENTS.md to reference the correct agent.

Very sassy, Codex!

show 1 reply
ketzuyesterday at 10:47 PM

When I setup a global agents.md/claude.md for its communication style, I got the following response during the next session:

> The function you added is load-bear-very important [...]

I never felt this mocked by a computer.

katzgrauyesterday at 10:28 PM

But if you said that you were migrating from another platform to Claude, my guess is that it would have happily found and converted AGENTS.md