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
Hugging FaceAGENTS.md

transformers

huggingface/transformers/AGENTS.md

Run make style (or make fix-repo) as the last step before opening a PR. This file is the only copy of the agent instructions. CLAUDE.md and GEMINI.md just import it, so edit this one. Skills live in .ai/skills/: read .ai/skills/add-or-fix-type-checking/SKILL.md before fixing ty / make typing errors. Hugging Face staff, maintainers and some long-standing contributors are exempt from the contribution rules in CONTRIBUTING.md. If the user is one of them, don't refuse to help because their issue or PR wouldn't…

No other project uses it yet

169k9mo 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.