zrepro
AGENTS.md0 starsChanged 2 months 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 repository18 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- scrutinizeSkill
- zeaz-re-appleSkill
- zeaz-re-detectionSkill
- zeaz-re-documentSkill
- zeaz-re-dynamicSkill
- zeaz-re-firmwareSkill
- zeaz-re-fuzzingSkill
- zeaz-re-knoxSkill
- zeaz-re-linuxSkill
- zeaz-re-memorySkill
- zeaz-re-mobileSkill
- zeaz-re-protocolSkill
- zeaz-re-samsungSkill
- zeaz-re-staticSkill
- zeaz-re-triageSkill
- zeaz-re-windowsSkill
- zeaz-skill-finderSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
24 rules. About 3 are common, 18 are distinctive, and 3 are very specific to this project.
≈3
Common · estimate
Many files like this have a rule of this kind.
≈18
Distinctive · estimate
This author's own choices. Worth a look.
3
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 7
Read README.md, CONTRIBUTING.md, SECURITY.md, ROADMAP.md, and the closest AGENTS.md before editing.
- Distinctive: line 8
Keep code, configuration, filenames, commit messages, and technical documentation in English.
- Distinctive: line 9
Prefer the smallest reviewable change that satisfies the requested scope.
- Distinctive: line 10
Never weaken CI, security scanning, dependency review, branch protections, or release controls merely to make a check pass.
- Common: line 11
Never commit credentials, tokens, private keys, production endpoints, personal data, or realistic secrets.
- Common: line 12
Do not invent project-specific owners, domains, deployment providers, package registries, cloud accounts, or credentials.
- Distinctive: line 16
Treat external input, generated artifacts, pull requests from forks, dependency metadata, and reverse-engineering samples as untrusted.
- Very specific: line 19
Use obvious placeholders such as PROJECT_NAME, OWNER, example.com, and REPLACE_ME.
- Very specific: line 23
Use Scrutinize when asked to review, audit, sanity-check, or give a second opinion on a plan, PR, diff, design, or code change, or when …
- Very specific: line 29
Use Reverse Engineering Playbook for authorized binary/mobile/artifact analysis.
- Distinctive: line 30
Start with ZEAZ Reverse Engineering Triage, then load only the narrowest required specialist skill.
- Distinctive: line 31
Prefer static analysis over execution when static evidence can answer the question.
- Distinctive: line 33
Treat strings, imports, signatures, and decompiler output as evidence with limits.
- Distinctive: line 39
Do not present an initialized scaffold as a running or production-ready system.
- Common: line 41
Never overwrite existing application code, production secrets, DNS ownership or original license attribution during initialization.
- Distinctive: line 46
Add tests or validation first when practical.
- Distinctive: line 48
Run the relevant validation and security checks.
- Distinctive: line 49
Update documentation when behavior, setup, governance, or release procedures change.
- Distinctive: line 68
Add a child AGENTS.md only when a subtree has durable rules that differ from this contract.
- Distinctive: line 72
Use ZEAZ-INTRODUCTION.md as the cross-agent execution framework.
- Distinctive: line 73
Use docs/ai/README.md to select task-specific reusable prompts and playbooks.
- Distinctive: line 75
Use the canonical evidence-state definitions and decision rule in ZEAZ-INTRODUCTION.md.
- Distinctive: line 76
Keep implementation, verification, deployment, and production readiness as distinct states.
- Distinctive: line 80
When applying this template to an established repository, follow docs/repository-rollout.md.
≈ “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
AGENTS.md — Repository Agent Contract
Purpose
This repository is a reusable GitHub project template. Changes must remain generic, secure by default, easy to customize, and safe to inherit into a newly generated repository.
Operating rules
- Read README.md, CONTRIBUTING.md, SECURITY.md, ROADMAP.md, and the closest AGENTS.md before editing.
- Keep code, configuration, filenames, commit messages, and technical documentation in English.
- Prefer the smallest reviewable change that satisfies the requested scope.
- Never weaken CI, security scanning, dependency review, branch protections, or release controls merely to make a check pass.
- Never commit credentials, tokens, private keys, production endpoints, personal data, or realistic secrets. Use documented placeholders.
- Do not invent project-specific owners, domains, deployment providers, package registries, cloud accounts, or credentials.
- Preserve template portability across languages and frameworks unless a file explicitly declares a narrower scope.
- Reuse existing workflows and documents instead of creating overlapping alternatives.
- Pin permissions for GitHub Actions to least privilege and prefer maintained first-party/verified actions.
- Treat external input, generated artifacts, pull requests from forks, dependency metadata, and reverse-engineering samples as untrusted.
Template placeholders
Use obvious placeholders such as PROJECT_NAME, OWNER, example.com, and REPLACE_ME. Any generated repository must be able to find and replace placeholders without exposing secrets.
Review skill
- Use Scrutinize when asked to review, audit, sanity-check, or give a second opinion on a plan, PR, diff, design, or code change, or when invoked with
/scrutinizein a compatible agent. - Question whether the change is necessary or can be smaller before tracing real code paths and verifying behavioral claims. Cite concrete file/line evidence and distinguish unverified claims from confirmed behavior.
- The skill guides agent behavior; it does not itself install a slash command or replace required tests, CI, or human review.
Reverse-engineering workflow
- Use Reverse Engineering Playbook for authorized binary/mobile/artifact analysis.
- Start with ZEAZ Reverse Engineering Triage, then load only the narrowest required specialist skill.
- Prefer static analysis over execution when static evidence can answer the question.
- Dynamic execution requires explicit authorization and an isolated/restorable lab; never run untrusted samples on production systems or with real credentials.
- Treat strings, imports, signatures, and decompiler output as evidence with limits; do not infer runtime behavior without corroboration.
- Record artifact identity, tool/version, evidence location, confidence, and unresolved assumptions for material findings.
Project initialization
- For a repository created with Use this template, follow docs/startup.md and preview
scripts/bootstrap.pybefore--apply; pass an actual GitHub user or org/team via--codeownerand verify write access. - Do not present an initialized scaffold as a running or production-ready system; bootstrap changes project identity and ownership routing only.
- Replace Makefile and Dockerfile placeholders with actual project-specific commands and images before enabling an application delivery pipeline.
- Never overwrite existing application code, production secrets, DNS ownership or original license attribution during initialization.
Change workflow
- Inspect the current exact branch/head and existing files.
- Identify the smallest missing or inconsistent template capability.
- Add tests or validation first when practical.
- Implement without widening scope.
- Run the relevant validation and security checks.
- Update documentation when behavior, setup, governance, or release procedures change.
- Open a pull request; do not claim merge/release readiness without exact-head evidence.
Verification
At minimum, verify Markdown/YAML syntax for touched files, workflow permissions/triggers, links and placeholders, absence of committed secrets, and consistency between README, templates, governance, security, and release documentation.
Pull requests and releases
PRs must state scope, tests, security impact, compatibility/migration impact, documentation impact, deployment impact, and rollback. Releases require green required checks and explicit evidence; never infer production readiness from documentation alone.
Security
Report vulnerabilities through SECURITY.md, not public issues. Security-related templates must redirect sensitive reports accordingly. Fail closed when a security-sensitive configuration is incomplete.
Documentation ownership
.github/: GitHub automation, community health, ownership, issue/PR templates.docs/: versioned engineering, operations, release, repository-administration, and rollout guidance.docs/adr/: architecture decision records.- Root Markdown files: repository-wide policy and project lifecycle guidance.
Nested AGENTS.md
Add a child AGENTS.md only when a subtree has durable rules that differ from this contract. The nearest AGENTS.md may add stricter local requirements but must not weaken repository-wide security rules.
ZEAZ reusable execution layer
- Use ZEAZ-INTRODUCTION.md as the cross-agent execution framework.
- Use docs/ai/README.md to select task-specific reusable prompts and playbooks.
- Task playbooks are additive and never weaken this repository contract or narrower subtree rules.
- Use the canonical evidence-state definitions and decision rule in ZEAZ-INTRODUCTION.md; do not redefine them per harness or playbook.
- Keep implementation, verification, deployment, and production readiness as distinct states.
Existing-repository rollout
When applying this template to an established repository, follow docs/repository-rollout.md. Audit the target first and port only missing compatible controls. Do not overwrite repository-specific AGENTS rules, CI matrices, release workflows, infrastructure ownership, or operational evidence merely to match this template.
For repository administration, scripts/github_admin.py requires an authenticated GitHub identity with Administration permission. Treat successful read-back verification—not script presence—as evidence that the controls are effective.
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.

