azhou-ai-hub
AGENTS.md3 starsChanged 4 days agoMITView on GitHub
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,117 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 repository58 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- agent-experienceSkill
- a-philosophy-of-software-designSkill
- architecture-governanceSkill
- clean-architectureSkill
- clean-codeSkill
- code-completeSkill
- cordis-styling-nitpickingSkill
- delete-commentSkill
- dep-refsSkill
- designing-data-intensive-applicationsSkill
- domain-driven-design-distilledSkill
- domain-driven-designSkill
- dsh-archive-agent-notesSkill
- dsh-ci-test-reliabilitySkill
- dsh-client-ui-uxSkill
- dsh-code-reviewSkill
- dsh-create-upgrade-guideSkill
- dsh-docSkill
- dsh-error-handlingSkill
- dsh-find-simplificationsSkill
- dsh-pre-push-checksSkill
- dsh-prose-standardSkill
- dsh-responsive-uiSkill
- dsh-speed-up-perfSkill
- dsh-translate-docsSkill
- dsh-trim-cot-leakageSkill
- e2e-case-lifecycleSkill
- feature-boundary-plannerSkill
- implementing-domain-driven-designSkill
- patterns-of-enterprise-application-architectureSkill
- record-browser-gifSkill
- refactoring-guruSkill
- refactoringSkill
- release-itSkill
- the-pragmatic-programmerSkill
- working-effectively-with-legacy-codeSkill
- super-arch-docSkill
- super-archifySkill
- super-asd-ste100Skill
- super-ask-azhouSkill
- super-azhou-doctorSkill
- super-azhou-infoSkill
- super-azhou-setupSkill
- super-azhou-verifySkill
- super-brainstormingSkill
- super-diagram-designSkill
- super-eli5Skill
- super-excalidraw-diagramSkill
- super-frontend-designSkill
- super-gh-axiSkill
- super-grill-meSkill
- super-i-have-adhdSkill
- super-imagegenSkill
- super-lavishSkill
- super-rederiveSkill
- super-repo-pedantSkill
- super-session-insightsSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
15 rules. About 0 are common, 9 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 5
Follow product principles and the roadmap for direction.
- Distinctive: line 6
Avoid unnecessary secondary labels and descriptions.
- Distinctive: line 10
When a contributor asks Ask Azhou to choose a skill in this checkout, use the project router.
- Very specific: line 11
Keep every canonical skill independently installable under skills/<canonical-name>/.
- Very specific: line 14
Do not add agents/openai.yaml or other model-specific package identity.
- Very specific: line 15
Every canonical package carries one restrained Azhou identity anchor in its SKILL.md.
- Very specific: line 30
Use type(scope): imperative summary.
- Distinctive: line 32
Do not rewrite public default-branch history or let bots create statistics-only commits.
- Distinctive: line 34
Keep versioned docs in the repository rather than a competing Wiki.
- Distinctive: line 41
Never return a dirty, unmerged, unverified or in-use worktree.
- Very specific: line 42
Before returning a lease, cd the host shell out of the worktree and have persistent agent shells do the same.
- Distinctive: line 49
Treat code and machine-readable configuration as current behavior.
- Distinctive: line 52
Keep raw agent history, excerpts, local inventory, hook state, and evolution candidates out of Git.
- Distinctive: line 56
Before merging or releasing a user-visible website, Skill, or CLI change to functionality, copy, or interaction, complete the pre-release …
- Very specific: line 68
Use uv run --with pyyaml python <skill-creator>/scripts/quick_validate.py skills/<skill> only for development validation.
≈ “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
Azhou AI Hub agent rules
Repository shape
- Follow product principles and the roadmap for direction; they do not override current runtime contracts, support evidence or legal grants.
- Avoid unnecessary secondary labels and descriptions. Let the layout do the explaining.
docs/skill-standard.mdis the project authority for every skill's package, setup, brand lifecycle, evidence, evaluation, evolution, and closeout.docs/integrations.mdgoverns the optional pstack-agent-harness and azhou-agent-inspector projects underpackages/. Maintain their canonical package sources, preserve original-import provenance, and fingerprint currentruntime_pathsinputs for each plan. Keep native installation ownership and installation/discovery/invocation evidence distinct. They do not become canonical Skills or bypass the orchestrator composition rule.- When a contributor asks Ask Azhou to choose a skill in this checkout, use the project router.
- Keep every canonical skill independently installable under
skills/<canonical-name>/; project-local engineering workflows remain in.agents/skills/. Keep development-only evaluation material under repository-levelbenchmarks/. README.mdis the English public entry andREADME.zh-CN.mdits Chinese reader mirror. Material product, install, evidence, compatibility, security, or license changes update both in one commit.- Public support claims must match
docs/support-matrix.md. Portable runtime does not imply identical hooks, memory APIs, or tool access across harnesses. - Do not add
agents/openai.yamlor other model-specific package identity. Harness adapters must call a neutral core or stay in documented examples. This restriction applies to public repository files; untracked, Git-ignored local tool installations under.agents/skills/may retain their upstream metadata. - Every canonical package carries one restrained Azhou identity anchor in its
SKILL.md; interactive skills additionally broadcast one restrained Azhou anchor per material stage with a stable receipt. Emoji stays out of schema keys, enums, digests, paths, commands, tests, and raw evidence. - Adapted or vendored material requires an immutable source, license, retained notice, local boundary and reproducible update path. Public code without a license is not reusable source.
- Long-range plans and ticket drafts live under
.planning/, which is git-ignored and therefore absent from Treehouse worktrees; read them from the maintainer checkout by absolute path whenever a task references them. Maintainer-requested, reviewed design references may be promoted to tracked packagedocs/design/directories. Mark proposals and unverified behavior explicitly. Keep raw transcripts, private inventories, installation receipts and lease state in ignored local evidence.
Change scope
- Separate authorized change targets, mechanism references, protected objects and evaluation subjects before work; none grants authority over another. Follow scope and attribution and the stable-source update rules.
- pstack is excluded from Hub Skill upgrades and autonomous evolution, including its bundled skills. Do not enhance, upgrade, regenerate, install or reconfigure it in a Skill task, or use pstack maintenance tasks as in-scope benefit evidence. Upstream maintenance requires a separate explicit task under the existing source and generation contract; preserve its pristine sources, recorded patch queue and adapters rather than asserting assembled byte parity or deleting them.
- Protect actual shared-dependency effects without expanding scope. Unattributed host/configuration drift is an observation, not automatically a task-caused defect or a global blocker. A hold must name the affected action, dependency/evidence, owner and release condition; pause the affected action when safety cannot be established and continue independent work. Never repair excluded objects or write back shared host configuration without authorization.
- Host-side operations on managed installs (plugin installs, migrations, uninstalls) close out by aligning
docs/support-matrix.mdand the provenance contract with the new reality and recording a dated receipt; the closeout pass treats support-matrix as a required review surface for such tasks.
For change planning or review with an explicit base and head, use the experimental Foundation scope command to separate committed, staged, unstaged and non-ignored untracked paths. Recheck the complete result before relying on it and stop if concurrent changes cannot be excluded. Trace owners and consumers in the semantic impact record; path lists are not semantic closure or proof of an atomic snapshot.
Git and GitHub
- Use
type(scope): imperative summary. One commit answers one reason; code, its test and necessary contract update may stay together. Preserve frozen/reviewed candidates; governance or report corrections use a new commit. Changed content requires a fresh exact-diff binding, not reuse of an earlier approval. - Merging to
mainis squash-only and stays blocked until the ruleset's required checks pass and every review thread (including CodeQL and bot comments) is resolved. - Do not rewrite public default-branch history or let bots create statistics-only commits.
- GitHub Actions use least privilege, full commit-SHA action pins, bounded timeouts and no untrusted
pull_request_targetcheckout. - Keep versioned docs in the repository rather than a competing Wiki. Security reports use private advisories, never public issues.
Treehouse worktrees
- Treehouse
v2.3.0or newer is the default for temporary, concurrent, experimental and coding-agent implementation work in maintainer checkouts. Acquire a durable lease withtreehouse get --lease --json --lease-holder <task-id>. - Record the returned path, lease ID and holder in task evidence. Use one task, one lease and one
codex/<task>branch; verify the leased path belongs to this repository before writing. One active writer owns a worktree; a lease is not a writer lock. Resume only after identifying or handing off that owner; reviewers use read-only snapshots. - Direct
git worktree addis reserved for an explicitly approved, long-lived manual worktree. If Treehouse is unavailable, do not install or upgrade it implicitly; report the blocker or obtain approval for the fallback. - Never return a dirty, unmerged, unverified or in-use worktree. Never prune or destroy dirty, unlanded, in-use or leased work. Keep the lease until work is landed or preserved by a separately verified recovery point.
- Before returning a lease,
cdthe host shell out of the worktree and have persistent agent shells do the same; a shell left inside the deleted directory failsgetcwdafterward. - Automated return requires both
--if-lease-idand--if-lease-holder. Do not use path-only automation ortreehouse return --force. - Destructive Treehouse operations stay dry-run-first.
--include-unlanded,--include-in-useand--include-leasedrequire explicit user authorization for the exact path. - Treehouse provides workspace and lifecycle isolation, not a security sandbox, identity proof or approval boundary. Follow
docs/worktree-policy.mdfor acquisition, migration, recovery and closeout.
Super Repo Pedant invariants
- Treat code and machine-readable configuration as current behavior. Keep unimplemented spec intent in reminders.
- Preserve every
neat-freakcapability unlessskills/super-repo-pedant/references/neat-freak-compatibility.mdrecords a tested safety conflict or implementation disadvantage. - Never let lifecycle hooks or history observers mutate the live skill. Evolution candidates require deterministic checks, paired majority, no safety regression, and exact-diff human approval bound to actual patch/source/result bytes; see the evolution contract. Declare integrity repair, task-quality gain and recursive improvement separately; a receipt or vote alone is not effect evidence.
- Keep raw agent history, excerpts, local inventory, hook state, and evolution candidates out of Git.
Verification
Before merging or releasing a user-visible website, Skill, or CLI change to functionality, copy, or interaction, complete the pre-release experience review and record evidence for the final candidate.
Freeze writes during version-bound verification: capture HEAD, index, complete changed-file bytes, runtime and evaluator/input identities before and after. A concurrent edit, commit or rebase invalidates that version-bound verdict even if the command exits zero; preserve it and rerun on a stable isolated revision. Do not rerun an evaluator in its frozen evidence directory. See worktree verification and evaluation rules.
Run before handoff:
python3 scripts/verify.pyThis runs repository policy, the source comment ratchet, the retired-surface reverse scan, Hub unit tests, package manifest/lifecycle suites, every registered benchmark-integrity suite, and working/staged Git whitespace checks. For Excalidraw runtime changes, also execute the render/export/visual gates in skills/super-excalidraw-diagram/references/setup.md.
Use uv run --with pyyaml python <skill-creator>/scripts/quick_validate.py skills/<skill> only for development validation; PyYAML is not a runtime dependency of these skills.
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.

