agents-md
Skill1 starsChanged 3 months agoMITView on GitHub
Create, review, rewrite, or enforce a high-quality AGENTS.md (the open “README for coding agents” format). Use when the user invokes $agents-md, says AGENTS.md, agents.md, agent instructions, project agent context, nest AGENTS.md, or asks to scaffold, audit, improve, or standardize repository guidance for AI coding agents. Always include the ASD-STE100 Communication block in new or existing root AGENTS.md files.
42 other projects use a version of this.
Adopted by
Most recently taken up by
- GravionLabs/skillstheir own version, first seen Nov 29, 2026
- gromov0737/skillstheir own version, first seen Nov 29, 2026
- Firna-AI/skillstheir own version, first seen Nov 29, 2026
- Integralist/agent-skillstheir own version, first seen Nov 26, 2026
- eugeniughelbur/agents-mdtheir own version, first seen Nov 22, 2026
- douglaz/skillstheir own version, first seen Nov 22, 2026
Used with
Projects with it also use how, adr and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
jaydubya818Skillhow
Use for runtime, ownership, layering, code-walkthrough, and placement questions.
Also in 4 projects that use this
asterkinSkilladr
Create Architecture Decision Records (ADRs) following project standards. Guides template usage, process, and best practices for documenting architecturally significant decisions.
Also in 4 projects that use this
jaydubya818Skillwhy
Use when design rationale must be recovered from source history and available records.
Also in 4 projects that use this
MicrosoftSkilljira
Jira issue workflows for search, issue updates, transitions, comments, field discovery, and interactive credential setup via the Jira REST API. Use when you need to configure Jira access, search with JQL, inspect an issue, create or update work items, move an issue between statuses, post comments, or discover required fields for issue creation.
Also in 3 projects that use this
photon-groveSkillunslop
Detects and rewrites generic, overly polished, or AI-sounding prose while preserving meaning. Use when the user asks to "unslop", humanize, de-AI, tighten, or review whether writing sounds generated.
Also in 4 projects that use this
AWSSkillwait-what
Stop. That last message did not land: re-pitch it.
Also in 3 projects that use this
Other versions42 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 42
- agent-substrate/substrate★ 8.6ksame name
- Devolutions/IronRDP★ 3.4ksame name
- getsentry/skills★ 1.2ksame name
- mblode/agent-skills★ 227same name
- cumbucadev/cinemaempoa★ 145same name
- devbrother2024/skills★ 91same name
- Integralist/agent-skills★ 30same name
- arfar-x/agent-skills★ 14same name
- eugeniughelbur/agents-md★ 13same name
- getsentry/webvitals.com★ 12same name
32 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository81 other files it gives its agents.
- AGENTS.mdAGENTS.md
- base-uiSkill
- better-authSkill
- brainstormSkill
- bullmqSkill
- bunSkill
- clickhouseSkill
- clone-to-tempSkill
- compound-uiSkill
- copywritingSkill
- create-durable-planSkill
- d3Skill
- date-fnsSkill
- decimal-jsSkill
- deduplicateSkill
- design-engineerSkill
- designSkill
- drizzle-ormSkill
- effectSkill
- elysia-architectureSkill
- elysiaSkill
- evlogSkill
- feedsmithSkill
- grokSkill
- handoffSkill
- heyapiSkill
- impitSkill
- intlayerSkill
- jsdocSkill
- kafkaSkill
- kill-legacySkill
- legend-stateSkill
- loopSkill
- mantine-hooksSkill
- mobbinSkill
- motionSkill
- oxfmtSkill
- oxlintSkill
- permixSkill
- plain-languageSkill
- playwrightSkill
- react-boundariesSkill
- react-emailSkill
- reactSkill
- reorganizeSkill
- researchSkill
- schema-dtsSkill
- sentrySkill
- seoSkill
- setup-competitors-mdSkill
- setup-copywriting-mdSkill
- setup-icp-mdSkill
- setup-project-mdSkill
- simplify-layoutSkill
- storybookSkill
- subagentsSkill
- tailwindSkill
- tailwind-variantsSkill
- takumiSkill
- tanstack-chartsSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. 0 are common, 15 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 38 edited versions we read keep these.
15
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 29
If ambiguous, ask once: create, review, improve, or nest?
- Distinctive: line 33
Prefer one root AGENTS.md.
- Distinctive: line 34
Required: every root AGENTS.md must include the Communication (ASD-STE100) block from references/communication.md.
- Distinctive: line 35
Every other line must earn its keep.
- Distinctive: line 37
Put exact executable commands early (with flags/filters the project actually uses).
- Distinctive: line 38
Prefer pointers and an orientation table over pasting architecture essays, full style guides, or README clones.
- Distinctive: line 39
Document what agents cannot infer: package manager, odd layouts, silent invariants, forbidden paths, security gotchas, and “ask first” …
- Distinctive: line 40
Use concrete examples (short snippets or canonical paths) instead of vague style prose.
- Distinctive: line 43
Never put secrets, tokens, private keys, or real credentials in AGENTS.md.
- Distinctive: line 44
Treat the file as living docs: when the user reports a repeated agent mistake, encode the fix here (or in a linked doc).
- Very specific: line 45
Prefer the project’s real package manager and scripts from package.json / Makefile / justfile / CI — do not invent commands.
- Very specific: line 46
Prefer bun / bunx in *this skill’s* examples only when the target repo already uses Bun.
- Very specific: line 70
Read existing AGENTS.md, README.md, CONTRIBUTING.md, CI workflows, and package scripts.
- Distinctive: line 76
Use references/template.md as a starting shape.
- Distinctive: line 77
Always paste the Communication block from references/communication.md into the root file.
- Distinctive: line 78
Put high-frequency commands near the top.
- Distinctive: line 95
Create / Improve / Nest: write the file(s) at the agreed path(s), usually repo-root AGENTS.md.
- Distinctive: line 101
Document these for maintainers when relevant (do not lecture inside every file):
“Common” is measured: kept by at least 6 in 10 of the 38 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md
Overview
Produce or harden a project AGENTS.md: concise, actionable, harness-neutral instructions that coding agents load as always-on project context. Optimize for agent success, not human onboarding (that stays in README.md).
This skill targets the open AGENTS.md format (plain Markdown, no required fields). Do not confuse it with GitHub Copilot custom-agent personas under .github/agents/ (frontmatter + persona files). Lessons about commands, examples, and boundaries still apply; personas do not.
Modes
Pick one:
- Create — no usable
AGENTS.md(or user asked to scaffold). - Review — audit an existing file against the quality bar; report gaps without rewriting unless asked.
- Improve — rewrite or edit so the file meets the quality bar.
- Nest — add or fix package/subdir
AGENTS.mdfiles in a monorepo.
If ambiguous, ask once: create, review, improve, or nest?
Core Rules
- Prefer one root
AGENTS.md. Nest only when a subtree has different commands, boundaries, or conventions. - Required: every root
AGENTS.mdmust include the Communication (ASD-STE100) block from references/communication.md. Paste it as-is. Nested files skip it unless they override writing rules. - Every other line must earn its keep. Litmus: Would removing this cause the agent to make a mistake it would not otherwise make? If no, delete it.
- Target ≤150 lines for a root file; 30–50 is enough for small repos. Split or index when larger.
- Put exact executable commands early (with flags/filters the project actually uses). Agents will re-run these.
- Prefer pointers and an orientation table over pasting architecture essays, full style guides, or README clones.
- Document what agents cannot infer: package manager, odd layouts, silent invariants, forbidden paths, security gotchas, and “ask first” changes.
- Use concrete examples (short snippets or canonical paths) instead of vague style prose.
- State boundaries in three tiers when useful: Always / Ask first / Never.
- Stay harness-neutral: no dependence on one product’s tool names, UI, or hidden behavior. Optional capabilities (plan mode, approvals, subagents) may be mentioned generically with a manual fallback.
- Never put secrets, tokens, private keys, or real credentials in
AGENTS.md. - Treat the file as living docs: when the user reports a repeated agent mistake, encode the fix here (or in a linked doc).
- Prefer the project’s real package manager and scripts from
package.json/Makefile/justfile/ CI — do not invent commands. - Prefer
bun/bunxin this skill’s examples only when the target repo already uses Bun; otherwise match the repo.
Quality Bar (must pass)
A great AGENTS.md covers these when they apply (omit empty sections; do not pad). Communication is not optional on the root file.
- Stack — languages, frameworks, key libs with versions when non-obvious.
- Commands — install, dev, test, lint/typecheck, build; scoped variants for monorepos.
- Communication — the ASD-STE100 block from references/communication.md (required on root files).
- Layout — where source, tests, configs, and generated output live (only if non-standard).
- Conventions — project-specific style/architecture rules agents get wrong; link to lint/format otherwise.
- Testing — how to run focused tests, what “done” means, whether to add tests unprompted.
- Git / PR — commit/PR norms that differ from defaults (title format, required checks).
- Boundaries — always / ask first / never (secrets, vendor dirs, prod config, schema, deps).
- Index — links or a table to deeper docs (architecture, ADRs, security model) instead of inlining them.
Full checklist: references/quality-bar.md.
Workflow
1. Inspect the repo
Before writing:
- Read existing
AGENTS.md,README.md,CONTRIBUTING.md, CI workflows, and package scripts. - Note package manager, test runner, lint/format tools, monorepo layout, and unsafe areas.
- Skim for prior agent instruction files (
CLAUDE.md,.cursor/rules,GEMINI.md, etc.) to migrate unique content — do not blindly duplicate.
2. Draft or edit
- Use references/template.md as a starting shape; delete unused sections.
- Always paste the Communication block from references/communication.md into the root file.
- Put high-frequency commands near the top. Put Communication next.
- Encode only project-specific constraints; strip generic advice agents already know. Do not strip Communication.
- For monorepos, follow references/nesting.md.
3. Validate
Check against:
- Quality bar above and references/quality-bar.md.
- Communication block present and unmodified: references/communication.md.
- Anti-patterns in references/anti-patterns.md.
- Good/bad patterns in references/examples.md.
Confirm every linked path exists. Confirm commands match scripts/CI. Confirm no secrets.
4. Deliver
- Create / Improve / Nest: write the file(s) at the agreed path(s), usually repo-root
AGENTS.md. - Review: return a short report — passes, failures, suggested edits — without rewriting unless asked.
- End with a brief note: line count, sections present, and any intentional omissions.
Conflict and Precedence Notes
Document these for maintainers when relevant (do not lecture inside every file):
- Closest nested
AGENTS.mdto the edited files wins over parent guidance when agents resolve conflicts that way; user chat always overrides files. - Some agents concatenate root → cwd (later/more specific wins). Keep nested files additive and explicit about overrides.
- Soft size caps exist in some tools (for example Codex’s project-doc byte limit). Prefer splitting/nesting over one huge root file.
- For Claude Code compatibility when needed, a thin
CLAUDE.mdthat includes@AGENTS.md(plus any Claude-only extras) avoids duplicating the whole guide.
Out of Scope
- Replacing path-scoped IDE rule systems (for example
.cursor/ruleswith globs) when the user wants fine-grained, file-pattern rules —AGENTS.mdis the simple, portable default. - Authoring Copilot custom-agent persona packs under
.github/agents/unless the user explicitly asks for those. - Copying the entire human README into
AGENTS.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

