okforest/claude-md
Instructions for AI agents are in AGENTS.md, which agents of every provider read (Claude Code too, since 2.1.277), not CLAUDE.md, which only Claude Code reads.
AGENTS.md is the open convention for the instructions people write for AI agents that work on a repository, and most coding agents read it. Claude Code does too, since version 2.1.277 (September 18, 2026), so a CLAUDE.md beside an AGENTS.md, or one that only imports it (@AGENTS.md), is no longer needed. Instructions kept only in CLAUDE.md speak only to Claude Code: other agents, and OKForest’s AI, which reads AGENTS.md whatever provider it runs on, don’t see them. Rename CLAUDE.md to AGENTS.md, or, where an AGENTS.md is already beside it, move what it says there and delete it. A folder can have its own AGENTS.md for the files under it; the nearest one wins. This rule checks the tree’s own folders: a CLAUDE.md above the tree, elsewhere in its repository, isn’t part of it. A tree at its repository’s root lists both in ignore:, as here, since neither is a concept.
Example
Section titled “Example”This file breaks the rule:
# Instructions for agents
Write each concept's description in one sentence.okforest validate reports:
CLAUDE.md 1:1 warning Rename `CLAUDE.md` to `AGENTS.md`: agents of every provider read `AGENTS.md`, Claude Code too since 2.1.277, while only Claude Code reads `CLAUDE.md`. okforest/claude-mdFixed, renamed to AGENTS.md:
# Instructions for agents
Write each concept's description in one sentence.