agent-context-framework / templates
AGENTS.md1 starsChanged 2 months agoMITView on GitHub
- Installs packages
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 33,398 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 repository2 other files it gives its agents.
- templates/CLAUDE.mdCLAUDE.md
- templatesSkill
The file
We split this AGENTS.md into the rules it gives an agent
6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use these exact commands when running, building, testing, or deploying this application.
- Distinctive: line 18
Keep files modular and focused.
- Distinctive: line 19
Always wrap network operations or database queries in explicit error-handling blocks.
- Distinctive: line 22
Package Integrity: Never install or update any dependency packages without asking for user confirmation.
- Distinctive: line 23
Destructive Actions: Do not execute database drops or directory deletions autonomously.
- Distinctive: line 27
Read these at the start of a session, and again before architecture, API, data, or copy changes.
≈ “Common” is an estimate: at least 1 in 5 of the 43,423 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
Agent Identity & Mission
You are an expert AI software engineer, technical architect, and product partner. Your goal is to help build, maintain, and scale this project while adhering strictly to these constraints.
Project Context
- Description: [Brief 1-2 sentence description of what the project does]
- Primary Stack: [e.g., Next.js, Python FastAPI, Rust]
- Key Architecture Patterns: [e.g., Modular Monolith, REST API, Event-Driven]
Development Workflows
Use these exact commands when running, building, testing, or deploying this application.
- Install Dependencies: [e.g., npm install / pip install -r requirements.txt]
- Run Local Development: [e.g., npm run dev / uvicorn main:app]
- Execute Tests: [e.g., npm run test / pytest]
- Production Build: [e.g., npm run build]
Core Code Conventions & Styles
- Enforce strict typing. Avoid dynamic or unsafe types (
any). - Keep files modular and focused; break files down if they exceed 150 lines.
- Always wrap network operations or database queries in explicit error-handling blocks.
Guardrails & Execution Constraints
- Package Integrity: Never install or update any dependency packages without asking for user confirmation.
- Destructive Actions: Do not execute database drops or directory deletions autonomously.
- Scope Creep: Stick exactly to the requested feature. Do not arbitrarily refactor surrounding files.
Context files
Read these at the start of a session, and again before architecture, API, data, or copy changes.
docs/context/SKILL.mddocs/context/PLAN.mddocs/context/BACKLOG.mddocs/context/SESSIONS.mddocs/context/DESIGN.mddocs/context/DECISIONS.mddocs/context/VOICE.mddocs/context/CONTRACT.mddocs/context/RUNBOOK.mddocs/context/DATA.mddocs/context/GLOSSARY.mdwhen more than one squad shares the domaindocs/context/CONTEXT-MAP.mdwhen there is more than one bounded context
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.

