From 22ad9014f6932f25fa39ec3b55dcfb45616d84f5 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Tue, 10 Nov 2026 11:45:00 -0500 Subject: [PATCH] docs: Claude Code reads AGENTS.md now Remove the CLAUDE.md pointer file and update the course text that said Claude Code needs a CLAUDE.md symlink. Assisted-by: ClaudeCode:claude-opus-5-5 --- CLAUDE.md | 1 - content/week02_agents/agents_md.md | 12 +++++------- slides/week-02-1.md | 3 +-- 3 files changed, 6 insertions(+), 10 deletions(-) delete mode 120000 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md deleted file mode 120000 index 47dc3e3..0000000 --- a/CLAUDE.md +++ /dev/null @@ -1 +0,0 @@ -AGENTS.md \ No newline at end of file diff --git a/content/week02_agents/agents_md.md b/content/week02_agents/agents_md.md index eec0d11..3b0a86a 100644 --- a/content/week02_agents/agents_md.md +++ b/content/week02_agents/agents_md.md @@ -45,13 +45,11 @@ You can also put an `AGENTS.md` in a subdirectory. The agent reads it when it works on files in that directory. This is useful for a monorepo, where each package has its own conventions. -```{attention} Claude Code -Claude Code does not read this standard file, so you need to either -`ln -s AGENTS.md CLAUDE.md` or make a `CLAUDE.md` that has `@AGENTS.md` -mentioned in it somewhere. Other {term}`harnesses ` also have custom -files too, but they do read AGENTS.md automatically. You can gitignore -`CLAUDE.md` or commit the symlink (also `.claude/`, Claude puts local stuff -there). +```{note} Claude Code +Older versions of Claude Code read only `CLAUDE.md`, so many projects have a +`CLAUDE.md` symlink to `AGENTS.md`, or a `CLAUDE.md` that has `@AGENTS.md` in +it. Current versions read `AGENTS.md`, so you do not need this. Claude puts +local files in `.claude/`; you can gitignore that directory. ``` ## To commit or not to commit diff --git a/slides/week-02-1.md b/slides/week-02-1.md index 004b530..c4cbee4 100644 --- a/slides/week-02-1.md +++ b/slides/week-02-1.md @@ -165,8 +165,7 @@ For local models, add `Use relative paths when possible.` - A fresh harness knows nothing — everything must be investigated - A project-level `AGENTS.md` speeds this up, cuts tokens, gives a big-picture view - Type `/init` to generate one; rename to `AGENTS.md` if needed -- Claude Code is the only tool not supporting `AGENTS.md`: - - `ln -s AGENTS.md CLAUDE.md` and gitignore `CLAUDE.md` (and `.claude`) +- All major harnesses read `AGENTS.md` (older Claude Code needed a `CLAUDE.md` symlink) - Review and edit anything it got wrong ---