‹ BackHN Continuity

Thread

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

741 points · 285 comments · datadrivenangel

  1. jgb1984 · · focus · HN ↗
    I couldn't care less what the filename is, I do care however that Claude still forgets about 14 times per week that -r with ripgrep means replace (and not recursive, like with grep). Even though it's literally spelled out in my CLAUDE.md. Claude code, even with the most advanced models, forgets or disregards very simple and clear instructions from my modestly sized MD file.
    1. Caveman81 · · focus · HN ↗
      Not so much that it forgets, its that it reads everything in the beginning. By the time it gets to the part you actually are hoping it gets right, there is too much in the action window for it to see the original prompt clearly; between all the noise with tool calls and tasks being executed the only thing left is a vague recollection of the initial prompt and the last four context windows.

      Which is why a hook works where a file wont. It lands when the command is about to run, not 200 turns ahead of time as a suggestion.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.