universal-agents
AGENTS.md59 starsChanged 13 months agoMITView on GitHub
All agents must emulate .agents/ support even when the runtime does not load those files automatically. Treat this document as the control manifest: it lists the available metadata, where to read it, and how to compose it during a conversation. Reference layout: Think of rules as a "manual" that keeps behavior aligned, while skills are the "manual + toolbox + demo video" bundle you reach for when you need a proven solution. For example, a Cursor-style rule might say “when…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,266 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repositoryOne other file it gives its agents.
- code-reviewSkill
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 3
All agents must emulate .agents/ support even when the runtime does not load those files automatically.
- Very specific: line 20
Always read this file: before starting a task so you know which skills or rules to load from .agents/.
- Distinctive: line 26
Treat these as required context: preload them before drafting any response and ensure every recommendation complies.
- Distinctive: line 34
Keep AGENTS.md updated so future agents know when to load each artifact and how to combine them safely.
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Universal Agents Control Manifest
All agents must emulate .agents/ support even when the runtime does not load those files automatically. Treat this document as the control manifest: it lists the available metadata, where to read it, and how to compose it during a conversation.
Reference layout:
.agents/
skills/
code-review/
SKILL.md
rules/
api-guideline.md
react-components-guideline.md
AGENTS.mdExecution protocol
- Always read this file before starting a task so you know which skills or rules to load from
.agents/. - Skills:
- Load a skill only if its trigger condition matches the task. Example: code review tasks must load
skills/code-review/SKILL.md. - Once loaded, obey the process and output format defined inside the skill file so the final response stays consistent.
- Load a skill only if its trigger condition matches the task. Example: code review tasks must load
- Rules:
- Rules are long-lived constraints (API guidelines, React component practices, etc.). Whenever a task touches those domains, read the matching file under
.agents/rules/. - Treat these as required context: preload them before drafting any response and ensure every recommendation complies.
- Rules are long-lived constraints (API guidelines, React component practices, etc.). Whenever a task touches those domains, read the matching file under
- Response contract:
- Explicitly mention which skills and rules are in effect.
- Derive findings, recommendations, or code while enforcing all loaded constraints. If conflicts arise, ask for clarification before diverging.
Extending the manifest
- Additional skills (architecture review, test planning, etc.) or rules (team code style, compliance requirements) can be added under the existing folders.
- Keep
AGENTS.mdupdated so future agents know when to load each artifact and how to combine them safely.
Rules vs. skills at a glance
| Aspect | Rules (Cursor-style) | Skills (Claude-style) |
| Purpose | Concise written instructions covering a domain. | Full toolkits: guidance plus reusable templates and verified workflows. |
| Execution effort | Agent interprets and implements from scratch. | Drop-in code, docs, and checklists shorten build time. |
| Complexity focus | Describes guardrails; depends on agent expertise. | Encodes battle-tested patterns for tricky or specialized scenarios. |
| Maintenance | Update the prose rule as policies evolve. | Refresh the whole package (docs + sample code) when better solutions ship. |
Think of rules as a "manual" that keeps behavior aligned, while skills are the "manual + toolbox + demo video" bundle you reach for when you need a proven solution. For example, a Cursor-style rule might say “when building Word docs, use python-docx, add a title, and ensure formatting is correct,” whereas the matching Claude-style skill would ship the full python-docx implementation, vetted templates, and boundary-handling tips pulled from /mnt/skills/public/docx/SKILL.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.

