Skip to content

docs: drop CLAUDE.md now that Claude Code reads AGENTS.md - #19

Merged
polakamtejas merged 2 commits into
mainfrom
tejas/remove-claude-md
Oct 1, 2026
Merged

polakamtejas merged 2 commits into
mainfrom
tejas/remove-claude-md

Conversation

@polakamtejas

@polakamtejas polakamtejas commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

CLAUDE.md held only an @AGENTS.md import. Claude Code v2.1.277 and later read AGENTS.md on their own when a repository has no CLAUDE.md, so the file isn't needed. AGENTS.md stays the single instruction file for every coding agent. Its first line also said "CLAUDE.md imports this file", so that sentence is removed.

Claude Code's docs (Remove an earlier AGENTS.md workaround) recommend removing a CLAUDE.md that holds nothing but that import.

What changes for contributors:

  • On Claude Code v2.1.281 or later, nothing. The session prints no CLAUDE.md found; AGENTS.md loaded: ….
  • On v2.1.277 to v2.1.280, Bedrock and telemetry-disabled sessions don't read AGENTS.md directly. Upgrade Claude Code.
  • A contributor who keeps a personal CLAUDE.local.md in their clone stops Claude from reading AGENTS.md, unless they set Project instructions to claude-md-and-agents-md in /config.

🤖 Generated with Claude Code

RetriggerConfidence Score: 5/5

The PR appears safe to merge; the earlier documentation mismatch is fixed.

Summary

This PR removes the repository’s import-only CLAUDE.md because Claude Code can read AGENTS.md directly when that file is absent. AGENTS.md stays the shared guide for coding agents and contributors.

  • Removes the CLAUDE.md shim.
  • Removes references to that shim from AGENTS.md and the README.

Reviews (2) · Last reviewed commit: "docs: stop saying CLAUDE.md imports AGEN..."

@polakamtejas
polakamtejas requested review from a team as code owners September 30, 2026 18:44
Comment thread AGENTS.md
@polakamtejas
polakamtejas requested a review from a team as a code owner September 30, 2026 21:27
polakamtejas and others added 2 commits September 30, 2026 17:27
CLAUDE.md held only an `@AGENTS.md` import. Claude Code v2.1.277 and later
read AGENTS.md directly when a repository has no CLAUDE.md, and its docs
recommend removing a CLAUDE.md that holds nothing but that import. AGENTS.md
stays the one instruction file for every coding agent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CLAUDE.md is gone, so the README's contributor paragraph no longer says it
imports AGENTS.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@polakamtejas
polakamtejas merged commit f98fcb1 into main Oct 1, 2026
13 checks passed
@polakamtejas
polakamtejas deleted the tejas/remove-claude-md branch October 1, 2026 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants