architect-os
AGENTS.md1 starsChanged 7 months agoMITView on GitHub
This repository is designed to be agent-aware, but humans retain responsibility for design, validation, and release decisions. Agents should operate as guided contributors, not autonomous maintainers. All AI agents operating in this repository must: - Skills (skills/) come in two kinds. User-invoked /aos-* commands are triggered explicitly. Model-invoked disciplines (aos-implementing-features, aos-debugging, aos-tdd, aos-hardening) should be applied proactively when the work matches their description — don't wait to be asked. - Subagents (agents/) are dispatched by /aos-generate via the Task tool.…
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,337 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.
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
24 rules. About 0 are common, 20 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈20
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 7
All AI agents operating in this repository must:
- Very specific: line 9
follow ArchitectOS standards (standards/, rules/, playbooks/)
- Distinctive: line 11
avoid security anti-patterns and insecure defaults
- Distinctive: line 14
avoid unnecessary dependencies and avoid scope creep
- Distinctive: line 15
keep changes focused, minimal, and aligned with the feature goal
- Distinctive: line 16
document non-trivial decisions in code comments or repo docs
- Very specific: line 20
Read CONTEXT.md for the shared vocabulary and layering model every skill assumes.
- Distinctive: line 21
Read README.md to understand the project scope and intent.
- Distinctive: line 40
Prefer updating existing files over creating new duplicates.
- Distinctive: line 41
When adding code, follow the existing naming, folder, and module conventions.
- Distinctive: line 42
Use feature-based organization for new functionality.
- Distinctive: line 43
Keep each change scoped to a single feature, module, or fix.
- Distinctive: line 44
Do not add new top-level folders without explicit approval.
- Distinctive: line 49
Run repository validation rules when available.
- Distinctive: line 50
If a rule or standard is unclear, ask for clarification instead of guessing.
- Distinctive: line 51
Avoid producing code that relies on unvetted experimental syntax or libraries.
- Distinctive: line 55
When the prompt asks for architecture, answer with the repo's current folder and standard structure.
- Distinctive: line 56
If asked for implementation, prefer code that is immediately usable, not abstract pseudo-code.
- Distinctive: line 63
Avoid drafts or partial prototypes unless explicitly requested.
- Very specific: line 64
Leave no placeholder comments such as TODO unless the task is explicitly to create a work-in-progress.
- Distinctive: line 68
If a requirement conflicts with existing repo standards.
- Distinctive: line 69
If a proposed dependency is not already in the target stack or repo.
- Distinctive: line 70
If the task could change the architecture or cross-cut major layers.
- Very specific: line 71
If the needed information is missing from README.md, ARCHITECTURE.md, or playbooks.
≈ “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
AI Agent Operating Instructions
This repository is designed to be agent-aware, but humans retain responsibility for design, validation, and release decisions. Agents should operate as guided contributors, not autonomous maintainers.
Required behavior
All AI agents operating in this repository must:
- follow ArchitectOS standards (
standards/,rules/,playbooks/) - prioritize maintainability, readability, and consistency
- avoid security anti-patterns and insecure defaults
- generate strongly-typed code when the target stack supports it
- reuse existing abstractions before adding new ones
- avoid unnecessary dependencies and avoid scope creep
- keep changes focused, minimal, and aligned with the feature goal
- document non-trivial decisions in code comments or repo docs
What agents should do first
- Read
CONTEXT.mdfor the shared vocabulary and layering model every skill assumes. - Read
README.mdto understand the project scope and intent. - Review
ARCHITECTURE.mdandENGINEERING_PRINCIPLES.mdfor repository-level expectations. - Inspect the relevant
playbooks/folder for stack-specific guidance. - Consult
standards/andrules/before writing or changing code. - Confirm the target output format and directory structure before generating files.
Skills, subagents, and hooks
- Skills (
skills/) come in two kinds. User-invoked/aos-*commands are triggered explicitly. Model-invoked disciplines (aos-implementing-features,aos-debugging,aos-tdd,aos-hardening) should be applied proactively when the work matches their description — don't wait to be asked. - Subagents (
agents/) are dispatched by/aos-generatevia the Task tool. Prefer launching the specialised subagent over doing every role yourself in one context. - Git guardrails (
hooks/) block irreversible git operations. If a command is blocked, read the guidance and follow the safe alternative rather than overriding the hook.
File and change conventions
- Prefer updating existing files over creating new duplicates.
- When adding code, follow the existing naming, folder, and module conventions.
- Use feature-based organization for new functionality.
- Keep each change scoped to a single feature, module, or fix.
- Do not add new top-level folders without explicit approval.
Validation and review
- Generate tests for all new behavior: unit, integration, or API-level as appropriate.
- Run repository validation rules when available.
- If a rule or standard is unclear, ask for clarification instead of guessing.
- Avoid producing code that relies on unvetted experimental syntax or libraries.
Prompting and interaction
- When the prompt asks for architecture, answer with the repo's current folder and standard structure.
- If asked for implementation, prefer code that is immediately usable, not abstract pseudo-code.
- For refactoring tasks, preserve behavior while improving clarity.
- For documentation tasks, keep content concise, actionable, and aligned with the repository's terminology.
Deliverables
- Work should be commit-ready and repository-aligned.
- Avoid drafts or partial prototypes unless explicitly requested.
- Leave no placeholder comments such as
TODOunless the task is explicitly to create a work-in-progress.
When to escalate
- If a requirement conflicts with existing repo standards.
- If a proposed dependency is not already in the target stack or repo.
- If the task could change the architecture or cross-cut major layers.
- If the needed information is missing from
README.md,ARCHITECTURE.md, or playbooks.
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.

