Skip to content

BuildNot yet confirmed elsewhere1 publisher2 min readPublished

Claude Code 2.1.277 to 2.1.280 waited on a remote flag before reading AGENTS.md

Claude Code 2.1.277 through 2.1.280 read AGENTS.md only when a remote feature flag resolved true, and 2.1.281 fixed it. Repos relying on the file got no project instructions with telemetry off or on Bedrock, Vertex, Foundry and gateways, according to a dev.to write-up.

The Engineer · Build desk

How we use AISend a correction

Illustration accompanying Claude Code 2.1.277 to 2.1.280 waited on a remote flag before reading AGENTS.md
Generated illustration
Telemetry-off, Bedrock and gateway users lost AGENTS.md Who the remote-flag gate on Claude Code's AGENTS.md loader reached on the affected builds, and how, according to a dev.to write-up.

Anthropic gated the AGENTS.md loader on a remote flag, off by default. Telemetry-off users: either opt-out variable blocked it. Bedrock, Vertex, gateway users: flag never resolved true. Developers may rewrite prompts the model never saw. Workaround teams pay one extra file per repo.

Telemetry-off, Bedrock and gateway users lost AGENTS.md
WhoHowKindClaim
AnthropicShipped the AGENTS.md loader as a built-in plugin, off by default, gated on remote flag tengu_agents_md_moddecision3
Telemetry-off usersDISABLE_TELEMETRY=1 or CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 alone stopped AGENTS.md loadingexposure5
Bedrock, Vertex, gateway usersTraffic could not resolve the flag to true, so the gate skipped their AGENTS.mdexposure20
Developers debugging promptsLikely to rewrite prompts while the file never reached the modelcost13
Teams using the workaroundOne extra file per repo, the file AGENTS.md support was meant to deletecost15

What happened

  • The loader is a built-in plugin named agents-md whose default is off; its availability check queries a remote flag called tengu_agents_md_mod and falls back to that default when the fetch fails.
  • Either CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 or DISABLE_TELEMETRY=1 was enough to disable the feature, and both had to be cleared before the file loaded.
  • The write-up's author confirmed it with a canary: an empty directory holding an AGENTS.md with the word PERIWINKLE, queried through claude -p with file reads forbidden.
  • A one-line CLAUDE.md containing @AGENTS.md worked around the gate, because @path imports do not depend on the flag.
  • According to Anthropic's docs, interactive sessions now show a startup line reading 'no CLAUDE.md found; AGENTS.md loaded' along with the file's path, and print nothing when a file is skipped.

Why it matters

  • cost A skipped file costs debugging time. The write-up's author expects people to rewrite prompts while the file never reaches the model.
  • exposure Gateway, Bedrock and Vertex users were caught, and the author says these are the setups most likely to disable nonessential traffic by policy and to share one AGENTS.md across several tools.
  • decision Teams on an affected build can upgrade to 2.1.281 or add the @AGENTS.md stub. The stub costs one extra file per repo, the file AGENTS.md support was meant to delete.
  • constraint Sharing instructions across agents is still partial: there is no user-level AGENTS.md on 2.1.280, and a copy made with /import does not follow later edits.

The fallback is the defect. Version 2.1.277 added AGENTS.md support, and in a repo with no CLAUDE.md the file is supposed to load in its place [1]. Instead the plugin's availability check handed the decision to a server, and an unreachable server meant the default, and the default is off [3]. That is a defensible failure mode for a staged rollout. Reading a markdown file from the working directory needs no network, yet this read waited on one [3].

The off-switch is easy to misjudge. Any value at all counts as set, so `DISABLE_TELEMETRY=0` still keeps the feature off [8]. A project-level `env` block in `.claude/settings.json` that clears both variables does nothing, so a repo has no way to repair its own loading [9]. A `--settings` flag on the command line does work, but only from the second session onward [10].

Nothing on those builds said a file was skipped. The session started and the model answered without project instructions [11].

The test behind these claims is clean. Because file reads were forbidden, the word could reach the answer only through loaded instructions [6]. Each configuration took two sessions, since the first only fetches the flag and the second acts on it [7]. A single run can therefore miss a setup that works on the second.

The write-up's author argues conditionally: if the flag is necessary for a staged rollout, a client that cannot fetch it should fall back to the documented behavior, or failing that, print a startup message when it finds an AGENTS.md and skips it [16]. We agree, for a read-only local file. A flag should decide who gets a feature early. It should not decide whether a documented feature works for people who cannot fetch the flag. If loading the file carried a risk the rollout was meant to contain, we would weigh it differently, and the write-up describes none.

Version 2.1.281 fixed it the same day the write-up first ran [18]. Its changelog reads: "Changed AGENTS.md support to also work on Amazon Bedrock, Google Vertex AI, Microsoft Foundry, LLM gateways, and sessions with telemetry disabled" [4]. Any install still on 2.1.277 through 2.1.280, four releases in all, carries the gate [19].

What to watch

  • Whether Anthropic says why the plugin was gated on tengu_agents_md_mod, since the 2.1.281 changelog line states only what changed.
  • Whether a startup message for skipped instruction files ships; the docs currently say nothing is printed when a file is skipped.
  • Whether Claude Code adds a user-level AGENTS.md, which the plugin on 2.1.280 does not look for.

Clarity's read

What the record supports and how the coverage leans. The claims behind it follow.

Reality

Evidence68
Adoption
Insufficient
Hype gap−10
Incentives
Insufficient
Confidence70
Why these scores

Claim ledger

Ranked by verification strength, evidence, and original report placement.

  1. [1]

    Claude Code 2.1.277 added support for AGENTS.md; in a repo with no CLAUDE.md, it is supposed to load AGENTS.md instead.

    ReportedSupportedSource: dev.to write-up 'Your telemetry toggle was a file access control'2 sources— create a free account to open themView cited source
  2. [2]

    On Claude Code 2.1.277 through 2.1.280, AGENTS.md loaded as long as telemetry was on; 2.1.281 fixed it.

  3. [3]

    The AGENTS.md loader ships as a built-in plugin named agents-md. In the 2.1.280 bundle its isOnByDefault value is false, and its isAvailable check queries a remote feature flag called tengu_agents_md_mod and falls back to that default when the flag cannot be fetched.

    ReportedSupportedSource: dev.to write-up author's reading of the 2.1.280 bundle2 sources— create a free account to open themView cited source

Sources

1 independent publisher whose own reporting we read for this story.

  1. dev.to

    1 article · October 11, 2026

    Your telemetry toggle was a file access control

Share your take

Let Clarity write the post for you.

Signed-in readers get a short post drafted on this story in the register they choose — narrative, analytical, or a direct position — editable to the last word before it goes anywhere. The share buttons at the top of this story work without an account.

Topics and entities

Follow any of these and your For You feed starts watching them — no settings page required.

Loading related stories