[BUG] agents-md: don't report when AGENTS.md was loaded instead of CLAUDE.md

Status Open
Reported on v2.1.281
Maintainer reply None cached
Activity 0 comments · opened Sep 24, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When launching claude in a repo with only AGENTS.md, it logs this noisy useless message:

⏺ agents-md: no CLAUDE.md found; AGENTS.md loaded: /my/dir

What Should Happen?

No message should be shown, it should silently read the file like it does for every other files without informing the user it did.

Error Messages/Logs

See above

Steps to Reproduce

  1. mkdir foo && touch AGENTS.md && claude
  2. Observe useless message

Claude Model

Opus

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.1.281 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

iTerm2

Additional Information

_No response_

View original on GitHub ↗