Skip to content

AGENTS.md Examples: Cross-Platform Rules Files

AGENTS.md is a universal rules file format that works across Cursor, Claude Code (Anthropic), and Codex (GitHub). Write your project instructions once in AGENTS.md and every major AI coding agent can read them. These packs include production-ready AGENTS.md files for specific stacks, plus platform-specific rules (.mdc for Cursor, SKILL.md for Claude Code). Each is test-first, includes examples, and lists contents.

Available packs

Frequently asked questions

What is AGENTS.md and why use it?
AGENTS.md is a rules file that sits in your repo root. It tells AI agents how to work on your project: structure, testing, deployment, and guardrails. All major agents (Cursor, Claude Code, Codex) support it, so you write once.
How does AGENTS.md differ from CLAUDE.md?
CLAUDE.md was an earlier Anthropic-specific format. AGENTS.md is the cross-platform successor: same structure, broader support. Our packs include both when useful, but prioritize AGENTS.md.
Can I use AGENTS.md alongside .cursor/rules?
Yes. Cursor reads both. AGENTS.md covers project-wide instructions; .cursor/rules/*.mdc can add Cursor-specific commands or overrides. Our packs include both so you get full coverage.
Do these examples cover testing and CI?
Every pack is test-first: it lists which commands to run, how to verify changes, and what CI gates apply. AGENTS.md makes testing workflows explicit and reproducible.
Are these templates or working examples?
Working examples. Each AGENTS.md is copied from a real project or built for a specific stack (Flutter, React, Unreal) with concrete commands and file paths. Adapt them to your repo.

Related resources