agenthood
AGENTS.md3 starsChanged 2 months agoMITView on GitHub
This file is the agent-agnostic convention source for the Agenthood. All AI coding agents (Claude Code, Copilot, Codex) should read this file to understand the Society's standards before taking any action in a repository. Load skills from skills/ to activate specialized agents: All routing de
- Reads credentials
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 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 repository60 other files it gives its agents.
- accessibility-auditorSkill
- awsSkill
- bug-fix-teammateSkill
- cleanup-specialistSkill
- code-reviewSkill
- commit-messagesSkill
- concept-explainerSkill
- context-economySkill
- cross-provider-translationSkill
- datadogSkill
- debugging-and-error-recoverySkill
- debugging-tutorSkill
- dockerSkill
- elasticsearchSkill
- emailSkill
- githubSkill
- gitlabSkill
- goal-refinementSkill
- implementation-plannerSkill
- institutional-knowledgeSkill
- issue-managerSkill
- jiraSkill
- kubernetesSkill
- linearSkill
- mongodbSkill
- mysqlSkill
- onboarding-planSkill
- postgresSkill
- pull-request-assistantSkill
- redisSkill
- release-notesSkill
- rememberSkill
- runtime-healthSkill
- security-and-hardeningSkill
- sentrySkill
- society-integritySkill
- spec-driven-developmentSkill
- telegramSkill
- test-driven-developmentSkill
- the-architectSkill
- the-auditorSkill
- the-builderSkill
- the-debuggerSkill
- the-doormanSkill
- the-envoySkill
- the-heraldSkill
- the-inspectorSkill
- the-librarianSkill
- the-mailmanSkill
- the-mediatorSkill
- the-operatorSkill
- the-oracleSkill
- the-reviewerSkill
- the-scribeSkill
- the-sentinelSkill
- the-stewardSkill
- the-strategistSkill
- the-testerSkill
- the-wardenSkill
- validation-and-enforcementSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
18 rules. About 0 are common, 13 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 4
All AI coding agents (Claude Code, Copilot, Codex) should read this file to understand the Society's standards before taking any action in …
- Distinctive: line 11
Follow Conventional Commits strictly
- Very specific: line 16
Never write: fix stuff, wip, update, changes, misc, asdf
- Very specific: line 17
Never add Co-Authored-By footers — commits carry the author's identity only
- Distinctive: line 23
Never commit directly to main
- Very specific: line 28
Every PR links to an issue via Closes #N or Fixes #N
- Distinctive: line 37
If CI fails after merge conflicts are resolved, you must re-run CI and wait for green before merging.
- Distinctive: line 41
Always create a branch before making changes
- Distinctive: line 42
Always run tests before considering a task complete
- Distinctive: line 43
Always prefer editing existing files over creating new ones
- Distinctive: line 44
Never add comments that explain *what* — only *why* when non-obvious
- Distinctive: line 45
Never introduce abstractions beyond what the task requires
- Distinctive: line 46
Never push to remote without explicit user confirmation
- Distinctive: line 47
Never merge without explicit user confirmation
- Distinctive: line 77
All routing decisions follow a confidence cascade — obvious requests route instantly, ambiguous requests surface to refinement.
- Distinctive: line 90
If complexity confidence < 80%: run parallel evaluation before committing to a tier
- Very specific: line 92
Every routing decision produces a type-safe record in .agenthood/routing/.
- Very specific: line 131
Every agenthood run records one decision and one provenance entry (success or failure) — the audit trail in .agenthood/decisions/ and …
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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
AGENTS.md — The Member Registry
This file is the agent-agnostic convention source for the Agenthood. All AI coding agents (Claude Code, Copilot, Codex) should read this file to understand the Society's standards before taking any action in a repository.
Commit Standards
- Follow Conventional Commits strictly
- Format:
type(scope)!: subject—!marks breaking changes - Types:
feat,fix,docs,test,refactor,ci,chore,revert - Subject: imperative, lowercase, ≤150 chars, no trailing period
- One logical change per commit — if in doubt, split it
- Never write:
fix stuff,wip,update,changes,misc,asdf - Never add
Co-Authored-Byfooters — commits carry the author's identity only
Branch Standards
- Always start a new branch from the latest default branch:
git fetch origin && git checkout main && git pull origin main && git checkout -b type/issue-NUMBER-description - One branch per issue:
type/issue-NUMBER-short-description - Never commit directly to
main - Branch names are lowercase, hyphenated, no spaces
Pull Request Standards
- Every PR links to an issue via
Closes #NorFixes #N - PR title follows the same Conventional Commits format as commits
- PR description answers: what changed, why, how to test
- HARD GATE: Never merge unless ALL of the following are green:
- All CI checks (GitHub Actions workflows — every job, every check)
- Tests (
npm testor equivalent — zero failures) - Build (
npm run buildor equivalent — zero errors) - Lint (
npm run lintor equivalent — zero warnings/errors)
- A red CI run is a blocking failure. No exceptions. Rebase, fix, re-run. Do not merge on a previous green run if the latest run is red.
- If CI fails after merge conflicts are resolved, you must re-run CI and wait for green before merging.
Agent Behavior Rules
- Always create a branch before making changes
- Always run tests before considering a task complete
- Always prefer editing existing files over creating new ones
- Never add comments that explain what — only why when non-obvious
- Never introduce abstractions beyond what the task requires
- Never push to remote without explicit user confirmation
- Never merge without explicit user confirmation
- Never merge a PR with failing CI — verify
gh pr checksshows ALL green before merging
The Members
Load skills from skills/ to activate specialized agents:
the-scribe— commit messages, PR descriptions, changelogsthe-architect— spec-driven development, planning, ADRsthe-builder— coding, implementation, refactoring, test updates, local validationthe-reviewer— code review, quality gatesthe-tester— TDD, test generation, coveragethe-debugger— error triage, root cause analysisthe-auditor— security review, dependency auditthe-herald— semantic versioning, release notesthe-librarian— documentation, knowledge managementthe-doorman— validation, health checks, enforcementthe-oracle— institutional knowledge, member authoring templates, naming guidancethe-envoy— cross-provider translation, bootstrap generation, convention validationthe-sentinel— Society document integrity, cross-member contradiction detection, structural driftthe-warden— code smell detection, complexity enforcement, architectural boundary violationsthe-steward— context economy, member routing, provider cache strategy, session triagethe-mediator— first-in-line intent routing, handoff sequencingthe-operator— runtime health, deployment, incidents, rollback, monitoringthe-strategist— goal refinement, requirement discovery, ambiguity resolutionthe-mailman— message delivery, content scheduling, notification dispatch, cross-postingthe-inspector— visual-reasoning benchmarking, pixel-level analysis, multi-panel correspondence
Confidence-Gated Routing
All routing decisions follow a confidence cascade — obvious requests route instantly, ambiguous requests surface to refinement. No request pays the same routing cost.
The Mediator scores every intent classification (0-100%):
= 90%: route directly to the specialist
- 70-89%: route with stated confidence — the receiving member can reclassify
- 50-69%: run Parallel Evaluation (Strategist + Doorman) before routing
- < 50%: escalate to The Strategist for refinement
The Steward scores every task's complexity (0-100%) before model tier routing:
- 0-39%: budget tier (Haiku, Flash, mini)
- 40-69%: standard tier (Sonnet, GPT-4o, Gemini Pro)
- 70-100%: frontier tier (Opus, o1, Gemini 2.0)
- If complexity confidence < 80%: run parallel evaluation before committing to a tier
Every routing decision produces a type-safe record in .agenthood/routing/.
intent is one of ambiguous, capacity-sensitive, entry-violation,
clear-specialist; confidence is an integer 0-100; target is a registered
member; reasoning is the only free-text field. agenthood verify enforces
all of it and reports every violation at once. The full record shape is in
skills/the-mediator/SKILL.md — do not duplicate
it here, or the two drift.
Binary classification without confidence is a guess. Calibrated confidence with a cascade is a decision.
Autonomous Runtime (agenthood run)
Members can also be executed as real LLM agents via the TypeScript runtime. This is optional and additive — the prompt-driven workflow above continues to work unchanged.
# Build the runtime (once, after install)
npm run build
# Set the LLM provider key in your environment (do NOT commit it)
# Set GROQ_API_KEY in your shell profile or CI secrets (free at console.groq.com)
# or use Ollama for fully offline execution — no key required
# List available members
npx agenthood list
# Invoke any member against a task
npx agenthood run the-scribe "write a commit message for the current diff"
npx agenthood run the-reviewer "review the open PR"
npx agenthood run the-architect "plan the implementation for issue #42"The runtime reads .agenthood/config.json (written by npx agenthood init) and respects
the same members configuration. The default LLM provider follows the providers list
in the config (currently opencode, with Groq among the fallbacks). See
ADR-008
and ADR-009 for design decisions.
Every agenthood run records one decision and one provenance entry (success or
failure) — the audit trail in .agenthood/decisions/ and
.agenthood/provenance/, with tamper-evident hash-chain integrity and causal
links between decisions. See
ADR-015 and
decision-intelligence.md.
ADR-008 supersedes the earlier Python/DeepAgents runtime approach. The TypeScript CLI in this repo is the single supported runtime for
agenthood run.
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.

