agentleFS

AGENTS.md examples from real projects

How real projects brief Codex, Cursor and every other agent that reads AGENTS.md.

Worked for most · soon
anton-abyzovAGENTS.md

specweave

anton-abyzov/specweave/AGENTS.md

This is the source of the specweave npm package: a CLI plus a Claude Code plugin that plans work as increments (spec.md + ledger.jsonl) and hands it between AI tools. This file is for anyone changing SpecWeave itself; the file SpecWeave writes into user projects is src/templates/AGENTS.md.template. src/core/workspace/ owns planning context and in-place checkout adoption. Reuse it instead of scanning arbitrary parent directories or initializing adopted children. Use --workspace for explicit CLI authority; native hooks inherit SPECWEAVE_WORKSPACE. Never change existing…

16712mo agoReviewMountCreate a free account to mount
CLAUDE.md vs AGENTS.md

About AGENTS.md

What is AGENTS.md?

An open format for instructions to coding agents, read by Codex, Cursor and others. Think of it as a README written for agents.

Where does it go?

At the repository root, with more specific files in subdirectories. Agents read the one closest to the file they're editing.

What should it contain?

Setup and test commands, code style, and the rules a new contributor would need to know.

Does Claude Code read it?

Claude Code reads CLAUDE.md. A one-line CLAUDE.md that points at AGENTS.md covers both.