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

next.js

vercel/next.js/.github/AGENTS.md

Set permissions: {} at the workflow level and grant the minimum needed per-job. Prefer GitHub-provided (actions/*) and Vercel-owned actions. For third-party actions: ${{ ... }} is interpolated into the script before bash runs, so untrusted values (PR title, branch name, issue body) can break out and execute. Route them through an env var and quote on use:

144k7mo agoReviewMountCreate a free account to mount
VercelAGENTS.md

next.js / next

vercel/next.js/packages/next/AGENTS.md

This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in dist/docs/ before writing any code. Heed deprecation notices.

144k7mo agoReviewMountCreate a free account to mount
VercelAGENTS.md

next.js / test

vercel/next.js/test/AGENTS.md

Tests for behavior that affects deployed applications must live in test/e2e/ and exercise the real deployment path. This applies to new features and regressions. Reserve test/production/ for behavior inherently specific to self-hosted servers or the local CLI. Simulating minimal mode is an exception. Use private switches such as NEXT_PRIVATE_MINIMAL_MODE and NEXT_PRIVATE_TEST_HEADERS only when a real deployment cannot exercise the protocol invariant under test. Explain that constraint in the test. A simulation must not replace real deployment coverage of behavior that…

144k7mo agoReviewMountCreate a free account to mount
VercelAGENTS.md

next.js / turbopack

vercel/next.js/turbopack/AGENTS.md

Turbopack is a general-purpose bundler that is built and designed for Next.js, but is not necessarily Next.js-specific. Keep Next.js concepts out of it. These apply to all Rust code in this directory tree. For building, testing, snapshot updates, and benchmarking, use $rust-turbopack. These rules apply throughout this directory tree when developing with turbo_tasks:

144k7mo agoReviewMountCreate a free account to mount
MicrosoftAGENTS.md

PowerToys

microsoft/PowerToys/AGENTS.md

Top-level AI contributor guidance for developing PowerToys - a collection of Windows productivity utilities

No other project uses it yet

142k39d agoReviewMountCreate a free account to mount
OpenAIAGENTS.md

codex / sandbox_integrity

openai/codex/codex-rs/exec-server/src/sandbox_integrity/AGENTS.md

These checks currently emit telemetry only. Findings and preparation errors must not change sandbox construction, permissions, approvals, or command execution. Supported backends are Seatbelt, bubblewrap, and MXC; legacy Windows is out of scope. - Backends supply complete dependency inventories and interpret the request's original filesystem policy: resolve command temp directories and MXC volumes, and reuse the backend's deny-glob expansion where enforcement expands globs. - The runner prepares dependency facts and invokes each checker per dependency. Checkers remain independent of inventories…

No other project uses it yet

128k54d agoReviewMountCreate a free account to mount
OpenAIAGENTS.md

codex / bottom_pane

openai/codex/codex-rs/tui/src/bottom_pane/AGENTS.md

When changing the paste-burst or chat-composer state machines in this folder, keep the docs in sync: - Update the relevant module docs (chat_composer.rs and/or paste_burst.rs) so they remain a readable, top-down explanation of the current behavior. - Keep implementations/docstrings aligned unless a divergence is intentional and documented. Practical check: - After edits, sanity-check that docs mention only APIs/behavior that exist in code (especially the Enter/newline paths and disable_paste_burst semantics).

No other project uses it yet

128k54d agoReviewMountCreate a free account to mount
SupabaseAGENTS.md

supabase

supabase/supabase/AGENTS.md

pnpm 11 + Turborepo monorepo. Requires Node >= 22.13. Every PR must pass typecheck + lint (one workflow), Prettier, and a typos check. Other checks are path-filtered: Studio unit tests/build and the lint ratchet (ESLint warning count must not increase) run on apps/studio/** changes and the Tailwind class rules (shadcn/*) for www, docs, design-system, ui-library, and learn; app-specific test suites run on their own paths. Never hand-edit generated files: packages/api-types/types/**, **/routeTree.gen.ts, **/__generated__/**

No other project uses it yet

111k2mo agoReviewMountCreate a free account to mount
SupabaseAGENTS.md

supabase / apps

supabase/supabase/apps/docs/AGENTS.md

Next.js app router + MDX. Dev server: pnpm dev:docs → http://localhost:3001/docs (the bare / 404s). style-guide/ holds the docs style guide as plain markdown. Load the file you need rather than the whole directory. No tool enforces the guide, so applying it is the author's job, or the skill's. Load these before working. pm-the-docs, write-the-docs, edit-the-docs, ask-the-docs, and review-the-docs back the docs authoring process. See CONTRIBUTING.md for which stage each covers. They apply the style guide above. For architecture questions…

No other project uses it yet

111k2mo agoReviewMountCreate a free account to mount
SupabaseAGENTS.md

supabase / kb

supabase/supabase/apps/kb/AGENTS.md

When starting the dev server, run: Full documentation: https://docs.astro.build Consult these guides before working on related tasks: To run a full production build, run: Content lives under src/content/guides/*.{md,mdx}. Keep it plain GitHub-Flavored Markdown: - No custom/JSX components in guide bodies — content is also exported as plain .md (see below), and a component wouldn't survive that export. - For callouts, use GitHub's native alert syntax (> [!NOTE], > [!TIP], > [!IMPORTANT], > [!WARNING], > [!CAUTION]) — the build renders these…

No other project uses it yet

111k2mo agoReviewMountCreate a free account to mount
SupabaseAGENTS.md

supabase / studio

supabase/supabase/apps/studio/AGENTS.md

Next.js pages router + TanStack Start (mid-migration, see below), React 19. Dev server: pnpm dev:studio → http://localhost:8082. Load the skills matching the task; stack them when a task spans areas: Studio is migrating from the Next.js pages router (pages/**) to TanStack Start (routes/**). Both runtimes ship side-by-side; the STUDIO_FRAMEWORK env var selects which one pnpm dev/build runs (default: next, resolved in scripts/dispatch.js). Full route map and strategy: TANSTACK_MIGRATION.md.

111k2mo agoReviewMountCreate a free account to mount
MicrosoftAGENTS.md

terminal

microsoft/terminal/AGENTS.md

These rules apply to all public contributions and interactions, no matter how they're done. The entity operating or authorizing the contributions and interactions is responsible for them. AI assistance does not relieve contributors of responsibility for their work. "The AI did it" is not an excuse. Violations may result in contributions being closed without further comment. Cases of deception, evasion, or repeat violations may result in account bans. Allowed: - All AI usage that remains non-public (e.g. questions, reviews, local…

No other project uses it yet

105k3mo agoReviewMountCreate a free account to mount
Model Context ProtocolAGENTS.md

servers / everything

modelcontextprotocol/servers/src/everything/AGENTS.md

The Everything Server is designed to be extended at well-defined points. See Extension Points and Project Structure. The server factory is src/everything/server/index.ts and registers all features during startup as well…

No other project uses it yet

91k8mo agoReviewMountCreate a free account to mount
AstralAGENTS.md

uv

astral-sh/uv/AGENTS.md

- Read CONTRIBUTING.md for guidelines on how to run tools - ALWAYS ensure that new tests use the same style as existing tests for all parts of the test - ALWAYS check whether the behavior of a new test is already covered by an existing test - PREFER integration tests, e.g., at it/... over unit tests - PREFER running specific tests over running the entire test suite - PREFER insta snapshots following patterns in nearby tests over substring assertions -…

No other project uses it yet

90k4mo agoReviewMountCreate a free account to mount
ElasticAGENTS.md

elasticsearch

elastic/elasticsearch/AGENTS.md

Stateless Elasticsearch is a distribution where shard data is stored in an object store (e.g., S3, GCS, Azure) rather than local disk. Nodes carry no durable local state. The cluster…

No other project uses it yet

78k7mo agoReviewMountCreate a free account to mount
ElasticAGENTS.md

elasticsearch / benchmarks

elastic/elasticsearch/benchmarks/AGENTS.md

Run from the benchmarks/ directory using the run task with --args. Always use the fully-qualified class name including package to avoid ambiguity. Always pipe through tee /tmp/bench/<descriptive_name> using a filename…

No other project uses it yet

78k7mo agoReviewMountCreate a free account to mount
ElasticAGENTS.md

elasticsearch

elastic/elasticsearch/docs/AGENTS.md

Always run docs-builder from the root of the checkout, not from a subdirectory. Running from a subdirectory will only validate that subdirectory's links and may silently miss errors in cross-document…

No other project uses it yet

78k7mo agoReviewMountCreate a free account to mount
OpenAIAGENTS.md

openai-cookbook / migration_agent

openai/openai-cookbook/examples/agents_sdk/sandboxed-code-migration/migration_agent/AGENTS.md

You are migrating the mounted repo under repo/. - Migrate the repo according to repo/MIGRATION.md. - Preserve the public function signatures and behavior. - Run the baseline test command before editing. - Edit the app code and its tests. - Run the check command named in repo/MIGRATION.md after editing. - Run the final test command named in repo/MIGRATION.md after editing. - Return structured output that includes the exact commands, pass/fail summaries, changed files, a Markdown migration report, and the patch…

No other project uses it yet

76k5mo agoReviewMountCreate a free account to mount
ClineAGENTS.md

cline / sdk

cline/cline/sdk/AGENTS.md

Development reference for the Cline SDK workspace.

No other project uses it yet

70k7mo agoReviewMountCreate a free account to mount
ClineAGENTS.md

cline / llms

cline/cline/sdk/packages/llms/AGENTS.md

Development guidance for the @cline/llms package.

No other project uses it yet

70k7mo 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.