DigestAI news desk

Cut through the AI noise.

Agents & Tools4 min read

Claude Code loads agents.md only when telemetry is enabled

A Hacker News post reports that Claude Code 2.1.277 introduced support for AGENTS.md, but the built‑in agents‑md plugin is disabled by default (isOnByDefault false). The plugin checks a remote feature flag, and when the flag cannot be fetched the file is never read. The author tested an empty directory containing an AGENTS.md with a canary word and found that setting either…

1 source HN 68

Key points

  • Claude Code 2.1.277 adds AGENTS.md support, but the agents‑md plugin is off by default.
  • Disabling telemetry via CLAUDECODEDISABLENONESSENTIALTRAFFIC=1 or DISABLETELEMETRY=1 blocks AGENTS.md loading with no warning.
  • A session‑level override or CLAUDE.md @import can restore functionality, but adds extra files per repo.

A session‑level override that clears the environment variables works from the second session onward, and using a CLAUDE.md file with an @AGENTS.md import also bypasses the gate. The workaround requires an extra file per repository, which defeats the purpose of the AGENTS.md feature. The author argues that privacy settings should not silently disable local instruction files and suggests a startup warning or a global AGENTS.md location to avoid the problem.

Full story from blog.szypowi.cz · via Hacker NewsOpen source ↗

Claude Code reads AGENTS.md only when telemetry is on

blog.szypowi.cz · 23 September 2026

Loading the full article…

This text was published by blog.szypowi.cz. It is reproduced here with attribution so you can read it in full; the rights remain with the publisher. Read it at the source ↗

Coverage and discussion

1source
Topics · follow one to build your own front page

The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.

Comments

via GitHub Discussions

More in Agents & Tools

All →

Related stories