‹ BackHN Continuity

Thread

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

741 points · 285 comments · datadrivenangel

  1. askonomm · · focus · HN ↗
    Finally doing something standards-compliant instead of forcing users into a proprietary workflow.
    1. swyx · · focus · HN ↗
      fwiw, i am with thariq <a href="https:&#x2F;&#x2F;x.com&#x2F;trq212&#x2F;status&#x2F;2092302273099796842" rel="nofollow">https:&#x2F;&#x2F;x.com&#x2F;trq212&#x2F;status&#x2F;2092302273099796842 in that prompts should be tuned for models and in fact blindly applying agents.md is probably an antipattern unless you want all models to basically converge to some common ill defined of instruction following - good local minima, bad global minima for model diversity and exploration of intelligence.

      aka, sometimes it really is too early to force a standard

      1. orlp · · focus · HN ↗
        If you want this it&#x27;s trivial to add an AGENTS.md that simply says &quot;if you&#x27;re Claude read CLAUDE.md, if you&#x27;re Astra read ASTRA.md&quot;. A common entry point is good regardless.
        1. jwolfe · · focus · HN ↗
          This wastes both tokens and turns. But yes it&#x27;s probably the best option we have today.
          1. recursivegirth · · focus · HN ↗
            Wasting turns? That is silly, use a better harness. Also token usage can mitigated by incremental discovery instead of stuck 5k+ worth of tokens in the AGENT&#x2F;Claude md file.
            1. jwolfe · · focus · HN ↗
              Every turn means more tokens in ways that are not obvious to most people and lead to tons of unnecessary cache reads.

              No harness can batch your agents.md read with the reads the contents of the file tell it to read.

          2. pishpash · · focus · HN ↗
            It can try its own file and fall back to generic like here. What&#x27;s wrong with that?
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.