‹ 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. amluto · · focus · HN ↗
        I skimmed a couple pages of the docs at:

        <a href="https:&#x2F;&#x2F;github.com&#x2F;user-attachments&#x2F;files&#x2F;31802150&#x2F;EXTERNAL.Function.Hooks.Core.Architecture.pdf" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;user-attachments&#x2F;files&#x2F;31802150&#x2F;EXTERNAL....

        Might I gently suggest that you have a model at least as capable as Opus 5.5 translate that from Claudish to English? Or, even better, have an actual human work on the docs a bit? As it stands, they are fairly egregious, and they seem to devote at least as much space to little AI-generated quips that convey no meaning than to actually explaining what’s going on.

        Also, maybe a human should decide whether these are “function” hooks or “module” hooks. All of this marketing calls them “function” hooks, but the json config seems entirely unaware of this.

        (Has anyone else noticed that half the sentences in Claudish aren’t merely weird: they are noun phrases and not sentences at all? I’m pretty sure that any decent pre-LLM NLP-based grammar checker would correctly flag half the sentences in Claudish. Also, whatever variant of Claude wrote this thing can’t even capitalize around semicolons consistently with itself, let alone consistently with how English has been written for at least a century.)

        edit: Fixed the link. Thanks, kaszanka.

        1. mpoteat · · focus · HN ↗
          Ouch! Much of this verbiage was dictated by me personally; I just have a fairly distinct register some might consider inscrutable. My English teachers in grade school always said the same :)

          Rest assured I&#x27;ll inject a bit less soul into the official docs once Mods are launched; re your feedback on the JSON key, what would you recommend?

          1. massagedpelican · · focus · HN ↗
            Out of curiosity, I ran the PDF through pangram and it seemed to flag nearly the entire thing as AI. I recognize these aren&#x27;t perfect detectors, but they can give signals if nothing else. Perhaps it needs more soul injected!

            <a href="https:&#x2F;&#x2F;www.pangram.com&#x2F;history&#x2F;93f9ec71-f7b3-4680-86b1-ff129549cb16?ucc=VlhV1svqmKk" rel="nofollow">https:&#x2F;&#x2F;www.pangram.com&#x2F;history&#x2F;93f9ec71-f7b3-4680-86b1-ff12...

            1. KurtMueller · · focus · HN ↗
              Perhaps these &quot;ai detectors&quot; are snake oil
              1. sebmellen · · focus · HN ↗
                There’s definitely a snake oil component, but Pangram is unbelievably accurate. Creepily so in my opinion
                1. computomatic · · focus · HN ↗
                  How do you evaluate that?
                  1. sebmellen · · focus · HN ↗
                    Well, I&#x27;ve tried to get around it for our corporate SEO blogging strategy, and I&#x27;ve found that it&#x27;s just not possible to do it (even with really crazy techniques where you have different models combined to produce the output, or you change your prompting style massively). The minute I take the same article that the LLM gave me and I rewrite it in my own voice (meaning just take the information and topics, but rewrite it from scratch), the post works immediately and passes as 100% human on Pangram.

                    The only thing that gets around that is StealthGPT, but it mangles your intent in the output so badly that it&#x27;s easier to just write the thing yourself.

            2. karagenit · · focus · HN ↗
              Yeah, this doc is really interesting. It has some absolutely claude-fried lines like:

              &gt; A hook is Koa-style middleware: it reifies an endomorphic continuation

              &gt; Five forms, each on tool.call;

              But on the other hand uses distinctly human phrases like “one may” and “etc.&#x2F;e.g.” that I rarely see LLMs use. Not sure what to think.

              1. echoangle · · focus · HN ↗
                Maybe Claude is RLHFd primarily on texts by mpoteat and that’s why it talks this way
                1. thinkingemote · · focus · HN ↗
                  I know it&#x27;s a joke but if you look at many of the key AI researchers papers (written pre-LLM mass adoption) you can see some similarities with how LLMs structure their output.

                  I&#x27;d love to do some stylometry on this...

              2. bmitc · · focus · HN ↗
                I have found that Opus 5 and Fable love bringing up category theory at the drop of a hat.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.