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

hermes-agent / hermes_platform

NousResearch/hermes-agent/hermes_platform/AGENTS.md

Applies on top of the root AGENTS.md. Machine facts and resource lookup go through hermes_platform. hermes_platform.host is the one answer for OS family, native architecture (IsWow64Process2 → platform.machine(); never PROCESSOR_ARCHITECTURE alone, it reads AMD64 under x64-on-ARM64 emulation), CPU identity, and WSL/container/Termux. Facts are cached per process and take no environment-variable input, so a hardware recognizer (host/products.py) cannot be set from a shell. Distinguish the control host (where this Python runs) from the terminal execution target (SSH/container) and the Desktop client…

Steady3 mentions in 2 weeks

No other project uses it yet

267k19d agoReviewMountCreate a free account to mount
n8n-ioAGENTS.md

n8n / skills

n8n-io/n8n/.agents/skills/AGENTS.md

Shared n8n skills live in .agents/skills. These are the canonical source for skills that should work across Claude Code, OpenCode, and future agent harnesses. Claude plugin skills should usually be…

Steady4 mentions in 2 weeks

No other project uses it yet

212k5d agoReviewMountCreate a free account to mount
MicrosoftAGENTS.md

vscode

microsoft/vscode/.eslint-plugin-local/AGENTS.md

See README.md for how to add a rule. The rules here run in oxlint (CI, the pre-commit hook, pnpm run oxlint, the oxc editor extension and the rule tests, through oxlint's RuleTester), which loads them as JS plugins. They use oxlint's ESLint-compatible rule API with the types of @oxlint/plugins, imported with import type, and eslint.config.js configures them. Don't add a dependency on ESLint packages. oxlint runs all JS plugin rules of a process on one thread, and the rules run…

No other project uses it yet

196k20d agoReviewMountCreate a free account to mount
Significant-GravitasAGENTS.md

AutoGPT

Significant-Gravitas/AutoGPT/docs/AGENTS.md

docs/engineering/ is not private. The repository is public and AutoPilot's documentation search indexes the folder, so keep secrets and confidential material out of it, as with any file in the…

Steady5 mentions in 2 weeks

No other project uses it yet

188k14d agoReviewMountCreate a free account to mount
langgeniusAGENTS.md

dify / cli

langgenius/dify/cli/AGENTS.md

This package is the ESM TypeScript implementation of difyctl. Use the Node.js version pinned in package.json. Development also requires the Bun version pinned in .bun-version; command-tree generation and the dev,…

No other project uses it yet

162k8d agoReviewMountCreate a free account to mount
VercelAGENTS.md

next.js / evals

vercel/next.js/evals/AGENTS.md

Do not export evals with "publish": false to next-evals-oss or publish their results on nextjs.org/evals.

No other project uses it yet

144k7mo 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

128k56d 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
JuliusBrusseeAGENTS.md

caveman / engine

JuliusBrussee/caveman/engine/AGENTS.md

Detect a payload's type → route to a safety-classed compressor → count the token reduction → store the original for recovery. The stable four-call API (Compress/Retrieve/Detect/Stats) is what the proxy, CLI, SDKs, MCP, and WASM build all share. Everything it reports is inferred; it never says verified.

Steady19 mentions in 2 weeks

No other project uses it yet

110k8mo agoReviewMountCreate a free account to mount
addyosmaniAGENTS.md

agent-skills

addyosmani/agent-skills/docs/agents.md

Specialist personas that play a single role with a single perspective. Each persona is a Markdown file consumed as a system prompt by your harness (Claude Code, Cursor, Copilot, etc.). Three layers, each with a distinct job: The user (or a slash command) is the orchestrator. Personas do not call other personas. Skills are mandatory hops inside a persona's workflow. This is the only orchestration pattern this repo endorses. See references/orchestration-patterns.md for the full pattern catalog and anti-patterns. /ship is…

Steady21 mentions in 2 weeks

1 project uses a version of this

101k2mo agoReviewMountCreate a free account to mount
DeepSeekAGENTS.md

deepseek-harness

deepseek-ai/deepseek-harness/.github/AGENTS.md

Run jobs on Windows runners (windows-* labels) under native pwsh. Native Windows pull-request jobs live in ci-windows.yml and Python pull-request jobs in ci-python.yml, so each PR workflow can be re-run independently; their checks feed the required windows checks passed and python checks passed verdicts, as Linux jobs in ci.yml feed all checks passed; Wine runs Windows Node on hosted Linux only in ci-master.yml. Python runtime CI checks Linux/Windows x64 on pull requests and Linux ARM64 plus both macOS architectures on…

Steady3 mentions in 2 weeks

No other project uses it yet

289k4mo agoReviewMountCreate a free account to mount
NousResearchAGENTS.md

hermes-agent / plugins

NousResearch/hermes-agent/plugins/AGENTS.md

Applies on top of the root AGENTS.md. Authoring guide + canonical compat contract: website/docs/developer-guide/plugins/index.md. Per-kind guides: memory-provider-plugin.md, model-provider-plugin.md, context-engine-plugin.md, image-gen-provider-plugin.md, ... Plugins live in their own directory and work within the ABCs / hooks / ctx surface we provide. A plugin MUST NOT modify run_agent.py, cli.py, gateway/run.py, hermes_cli/main.py, etc. If it needs a capability the framework lacks, widen the generic plugin surface (new hook, new ctx method) and have the plugin use it — never hardcode plugin-specific logic into core…

Steady3 mentions in 2 weeks

No other project uses it yet

267k19d agoReviewMountCreate a free account to mount
MicrosoftAGENTS.md

vscode / agentHost

microsoft/vscode/src/vs/platform/agentHost/AGENTS.md

Before adding or changing protocol constructs or _meta, follow AHP interoperability: use existing protocol constructs first, raise unmet requirements upstream, and preserve compatibility with alternate hosts and UIs. Node runtime service construction is documented separately in node/serviceBootstrapping.md. Host startup timings, process-lifetime correlation, and session workload counts are documented in PERFORMANCE.md. Status: COMPLETE (2026-07-01) All waves A–D and gates G-B1, G-C1, G-C2, G-D1 are done. Codex, Claude, and Copilot all use the unified orchestrator path. Codex advertises multipleChats: { fork: true,…

No other project uses it yet

196k20d agoReviewMountCreate a free account to mount
Significant-GravitasAGENTS.md

AutoGPT / local_executor

Significant-Gravitas/AutoGPT/local_executor/AGENTS.md

This file guides coding agents working in local_executor/. It holds autogpt-shim, the companion people install on their own computers so Otto can work in a folder there (the Local PC…

Steady5 mentions in 2 weeks

No other project uses it yet

188k14d agoReviewMountCreate a free account to mount
langgeniusAGENTS.md

dify / dify-agent

langgenius/dify/dify-agent/AGENTS.md

Read surrounding docstrings and non-obvious comments before changing behavior. They are local contracts; update them only when their owned behavior changes, and keep them aligned with the current code. Read…

162k8d agoReviewMountCreate a free account to mount
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
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
JuliusBrusseeAGENTS.md

caveman / extension

JuliusBrussee/caveman/extension/AGENTS.md

The consumer top-of-funnel: a toggle that, on ChatGPT / Claude / Gemini, prepends the caveman skill directive to each message you send and re-fires the send, so the AI replies in a compact, high-density style intended to preserve technical substance. It only ever adds text to your outgoing message; it never reads replies, never touches network requests. Savings are inferred. (This is the directive-injector product; an earlier revision shipped a local WASM compress button — EXT removed it after Chrome…

Steady19 mentions in 2 weeks

No other project uses it yet

110k8mo agoReviewMountCreate a free account to mount
DeepSeekAGENTS.md

deepseek-harness / packages

deepseek-ai/deepseek-harness/packages/AGENTS.md

These package-specific rules supplement the repo-wide conventions.

Steady3 mentions in 2 weeks

No other project uses it yet

289k4mo agoReviewMountCreate a free account to mount
NousResearchAGENTS.md

hermes-agent / pm

NousResearch/hermes-agent/pm/AGENTS.md

Applies on top of the root AGENTS.md (which carries the short form of the pinning rule). All dependencies carry upper bounds (litellm compromise #2796/#2810; Mini Shai-Hulud worm, May 2026). PyPI: >=floor,<next_major ("httpx>=0.28.1,<1"); pre-1.0: <0.(minor+2) (>=0.29,<0.32). Git URLs: 40-char commit SHA. GitHub Actions: SHA + # vN comment. CI-only Python requirements: ==exact. A bare >=X.Y.Z is rejected by CI and reviewers. After changing pyproject.toml, run hermes pm lock, re-source ./activate, and commit pyproject.toml with uv.lock. Reference: #2810 (bounds), #9801 (SHA pinning…

Steady3 mentions in 2 weeks

No other project uses it yet

267k19d 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.