‹ BackHN Continuity

Thread

Claude Code reads AGENTS.md only when telemetry is on [fixed]

486 points · 284 comments · pszypowicz

  1. mpoteat · · focus · HN ↗
    Sorry folks, this is a rollout artifact, we needed a way to turn this off remotely via feature flags if it broke something, and with telemetry off you don't get those. It's already been fixed as part of v2.1.281 releasing today.

    The mod is source available here: <a href="https:&#x2F;&#x2F;github.com&#x2F;anthropics&#x2F;claude-code&#x2F;tree&#x2F;main&#x2F;mods&#x2F;agents-md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;anthropics&#x2F;claude-code&#x2F;tree&#x2F;main&#x2F;mods&#x2F;age...

    Apologies again folks, this was a fully human error on my part - I should&#x27;ve found a better way to launch with a kill-switch.

    1. mpoteat · · focus · HN ↗
      The AGENTS.md support was implemented via our new extensibility system for CC, called Mods, which is launching soon-ish. A mod is a plugin with a new type of hook, which we call a function hook.

      If folks play around with it, I would love feedback on the relevant issue: <a href="https:&#x2F;&#x2F;github.com&#x2F;anthropics&#x2F;claude-code&#x2F;issues&#x2F;91870" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;anthropics&#x2F;claude-code&#x2F;issues&#x2F;91870

      Mods allow quite a bit more customizability and control. I really believe in the idea.

      1. rickette · · focus · HN ↗
        The only difference between CLAUDE.md and AGENTS.md is the filename. Do you really need a whole plugin system to support that use case? Feels like this could have been a one line change.
        1. locknitpicker · · focus · HN ↗
          &gt; The only difference between CLAUDE.md and AGENTS.md is the filename. Do you really need a whole plugin system to support that use case? Feels like this could have been a one line change.

          I don&#x27;t think this is a reasonable assumption. The document format in CLAUDE.md is whatever Anthropic specifies, where AGENTS.md is a common ground format that is expected to be supported by any agent, be it from Anthropic or not.

          <a href="https:&#x2F;&#x2F;agents.md&#x2F;" rel="nofollow">https:&#x2F;&#x2F;agents.md&#x2F;

          You might argue that differences are small or negligible, but that is just an expectation.

          1. BowBun · · focus · HN ↗
            I think you&#x27;re giving these files too much credit. There are no specs, they are freeform text. In this sense they are the same. The expectation of what could be in it by each vendor means nothing unless it&#x27;s enforced.
          2. ljm · · focus · HN ↗
            It&#x27;s not a format though is it? it&#x27;s literally just an extension to the system prompt in plain markdown.

            There is no rhyme or reason to the structure of this file, just like with most things in AI. It&#x27;s best effort human language.

          3. logifail · · focus · HN ↗
            &gt; The document format in CLAUDE.md is whatever Anthropic specifies

            Q: Do Anthropic actually specify a document format?

            1. taormina · · focus · HN ↗
              No, they do not.
            2. Diti · · focus · HN ↗
              Nope! Claude is even able to understand AsciiDoc just fine (which is a blessing). But it will always insist on the Markdown extension.
          4. sunaookami · · focus · HN ↗
            There is no &quot;specification&quot;, it&#x27;s literally just a text file that gets loaded into context. You don&#x27;t even need to write markdown. It&#x27;s not that hard man.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.