overnight
AGENTS.md2 starsChanged 3 months agoMITView on GitHub
Before changing code, docs, scripts, or packaged skills, read: Fetch/prune before opening or updating a PR. Treat live GitHub PR state as newer than local notes. Use normal local-agent mode for ordinary human-steered work: one bounded branch, focused edits, local verification, clean diffs, and a draft PR when the branch is coherent. Do not spend the heavy overnight certification loop on every intermediate push. Use unattended/overnight mode only when the user asks for it or when a branch is being…
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,736 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 repository40 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- agent-workflow-modernizerSkill
- architecture-reviewSkill
- code-structureSkill
- diagnoseSkill
- engineering-quality-lensSkill
- implementation-plan-builderSkill
- implementation-plan-wikiSkill
- overnight-agent-runbookSkill
- overnight-setupSkill
- prd-to-task-queueSkill
- pr-review-loopSkill
- stacked-pr-orchestratorSkill
- tddSkill
- agent-workflow-modernizerSkill
- architecture-reviewSkill
- code-structureSkill
- diagnoseSkill
- engineering-quality-lensSkill
- implementation-plan-builderSkill
- implementation-plan-wikiSkill
- overnight-agent-runbookSkill
- overnight-setupSkill
- prd-to-task-queueSkill
- pr-review-loopSkill
- stacked-pr-orchestratorSkill
- tddSkill
- agent-workflow-modernizerSkill
- architecture-reviewSkill
- code-structureSkill
- diagnoseSkill
- engineering-quality-lensSkill
- implementation-plan-builderSkill
- implementation-plan-wikiSkill
- overnight-agent-runbookSkill
- overnight-setupSkill
- prd-to-task-queueSkill
- pr-review-loopSkill
- stacked-pr-orchestratorSkill
- tddSkill
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 5
Before changing code, docs, scripts, or packaged skills, read:
- Very specific: line 19
Use normal local-agent mode for ordinary human-steered work: one bounded branch, focused edits, local verification, clean diffs, and a …
- Very specific: line 24
Use unattended/overnight mode only when the user asks for it or when a branch is being certified as ready for downstream dependency or …
- Distinctive: line 64
When a changed skill has a validator available, run it.
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 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
Overnight Agent Contract
Orientation
Before changing code, docs, scripts, or packaged skills, read:
README.mddocs/how-it-works.mddocs/configuration.mddocs/autonomy-engine.md.agents/skills/agent-workflow-modernizer/SKILL.md- the specific skill or doc you are editing
Fetch/prune before opening or updating a PR. Treat live GitHub PR state as newer than local notes.
Development Workflow
Use normal local-agent mode for ordinary human-steered work: one bounded branch, focused edits, local verification, clean diffs, and a draft PR when the branch is coherent. Do not spend the heavy overnight certification loop on every intermediate push.
Use unattended/overnight mode only when the user asks for it or when a branch is
being certified as ready for downstream dependency or human landing. In that
mode, follow .agents/skills/overnight-agent-runbook/SKILL.md: exact head,
hosted CI where relevant, exact-head review, and a compact closeout.
Cloud sessions are disposable Linux worker lanes. They may work from pushed Git source plus synthetic fixtures, then push a branch or draft PR. They do not inherit local dirty files, browser state, private-network services, credentials, or human-gated provider actions. The local controller owns final certification, local-only checks, and landing decisions.
Local integration trains are diagnostic only. They can expose conflicts and run a combined local suite before hosted CI is spent, but they do not make a branch landable. Before landing, reconcile the branch to its real parent and run the repo's certification path.
Instruction Files And Skills
AGENTS.md is the shared contract for Codex, Claude Code, Cursor Agent,
OpenCode, and other coding agents. CLAUDE.md is only a Claude-specific overlay
that points back here.
Reusable procedures belong in skills, not root instruction files. Keep mirrored
skills byte-identical across .agents/skills/, .claude/skills/,
.cursor/skills/, .grok/skills/, and .opencode/skills/ unless a harness
genuinely requires different frontmatter. Hard rules belong in scripts, hooks,
CI, or branch protection.
Verification
For docs/skill changes, run the narrowest relevant checks:
git diff --check
bash -n install.sh scripts/agent-signals.sh
for h in .agents .claude .cursor .grok .opencode; do
diff -qr .claude/skills "$h/skills" >/dev/null || exit 1
doneWhen a changed skill has a validator available, run it. For script behavior changes, add or run the matching shell/Node checks before opening the PR.
Safety
Draft PRs only. Never merge a PR, push to main/origin/main, bypass branch
protection, rewrite history, delete branches, change credentials, mutate external
provider resources, spend money, touch real client data, or send external
communications unless the user explicitly performs or approves that action.
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.

