From 4a37ffcdc239772caedb17b03fcd2a284bef13d1 Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Mon, 27 Apr 2026 11:41:13 -0700 Subject: [PATCH] =?UTF-8?q?C0:=20CLAUDE.md=20=E2=80=94=20import=20AGENTS.m?= =?UTF-8?q?d=20instead=20of=20redirecting=20to=20it?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Claude Code only auto-loads CLAUDE.md. The prose shim told agents to go read AGENTS.md, which is easy to skip. Replacing the shim with `@AGENTS.md` inlines AGENTS.md content into the session prompt, so the startup rules (ai-docs, blumeops-tasks, change classification) land in context unconditionally. Co-Authored-By: Claude Opus 4.7 (1M context) --- CLAUDE.md | 8 +------- docs/changelog.d/+claude-md-import-agents.ai.md | 1 + 2 files changed, 2 insertions(+), 7 deletions(-) create mode 100644 docs/changelog.d/+claude-md-import-agents.ai.md diff --git a/CLAUDE.md b/CLAUDE.md index d825c0f..43c994c 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1,7 +1 @@ -# CLAUDE.md - -Claude Code compatibility shim. - -The canonical agent instructions for this repository now live in [`AGENTS.md`](AGENTS.md). - -If a tool specifically looks for `CLAUDE.md`, read `AGENTS.md` and follow that file as the source of truth. +@AGENTS.md diff --git a/docs/changelog.d/+claude-md-import-agents.ai.md b/docs/changelog.d/+claude-md-import-agents.ai.md new file mode 100644 index 0000000..f63231e --- /dev/null +++ b/docs/changelog.d/+claude-md-import-agents.ai.md @@ -0,0 +1 @@ +CLAUDE.md now imports AGENTS.md via `@AGENTS.md` instead of telling agents to go read it. Claude Code only auto-loads CLAUDE.md, so the prose shim was easy to skip; the import inlines AGENTS.md into the session prompt unconditionally.