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
SentryAGENTS.md

sqlish

getsentry/sqlish/AGENTS.md

- sqlish grammar import uses generated JS file: \SQLishParser.ts\ imports from \./sqlish-grammar.js\ which is generated by \scripts/compile-grammar.mjs\ during \prebuild\. A corresponding \src/sqlish-grammar.d.ts\ provides types. The generated file is gitignored, so you must run \pnpm run prebuild\ (or \pnpm run build\ which triggers it) before TypeScript compilation or IDE type-checking will work. <!-- End lore-managed section -->

08mo agoReviewMountCreate a free account to mount
SentryReads credentialsAGENTS.md

wif

getsentry/wif/AGENTS.md

This file provides guidance for AI coding agents working with the wif repository (Express + Node.js). This project uses Conventional Commits 1.0.0 for all commit messages. Commit Message Structure: Line…

09mo 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.