overnight-setup
Skill2 starsChanged 3 months agoMITView on GitHub
Interactively install or upgrade the Overnight autonomous orchestration system in a repository. Use when the user asks to set up Overnight, install the skill library, port overnight orchestration, configure AGENTS.md, wire plan preflight, choose plan roots, or make another repo ready for autonomous implementation-plan work.
In this repository40 other files it gives its agents.
- AGENTS.mdAGENTS.md
- 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
- prd-to-task-queueSkill
- pr-review-loopSkill
- stacked-pr-orchestratorSkill
- tddSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. About 0 are common, 9 are distinctive, and 8 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.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this skill to set up the whole Overnight system in a target repo.
- Distinctive: line 14
Ask only what you cannot infer safely:
- Distinctive: line 16
Target repo path: if not already clear.
- Very specific: line 19
Base branch: default origin/main if the repo uses it.
- Distinctive: line 31
Do not ask a question if local files answer it.
- Very specific: line 45
If running from the packaged repo, prefer dist/overnight/install.sh <target>.
- Very specific: line 49
Use non-destructive install by default.
- Distinctive: line 54
Add or update a package script:
- Very specific: line 58
If the repo has no package scripts, document the direct node command instead of inventing a package manager.
- Distinctive: line 62
Add a concise AGENTS.md / CLAUDE.md section pointing to:
- Very specific: line 69
If the quality layer was installed, set the quality lens source to docs/quality-lenses.md + .claude/skills/.
- Very specific: line 78
Run the configured preflight with --no-write-state.
- Distinctive: line 79
Run git diff --check scoped to setup files.
- Distinctive: line 89
Never install a board, dispatcher, polling daemon, or required status file.
- Very specific: line 90
Do not make a scheduled heartbeat wake an agent before the local preflight says ACTION_REQUIRED.
- Distinctive: line 92
Do not silently loosen branch, PR, credential, cloud, spend, or external-send rules.
- Distinctive: line 94
Keep setup changes separate from product implementation changes.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill 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 Setup
Use this skill to set up the whole Overnight system in a target repo. It is the interactive entrypoint: inspect the repo, ask only the missing questions, copy or upgrade the library, and wire the repo-specific commands/instructions.
Setup Questions
Ask only what you cannot infer safely:
- Target repo path if not already clear.
- Plan root + plan slug: e.g.
implementation_plans/my_planor000_implementation_plans_all/crm_revamp. - Base branch: default
origin/mainif the repo uses it. - PR/review surface: GitHub
gh, local-only, or another provider. - Harness choice for orchestrators: Codex, Claude, OpenCode, or future native harness.
- Quality layer: whether to install the portable quality skills
(
engineering-quality-lens,tdd,diagnose,architecture-review,code-structure). Default to yes for implementation-plan repos; skip them only if the target repo already has an equivalent local quality system or the user wants the smallest possible runtime. - Branch/PR authorization: whether agents may create branches/draft PRs now, or must remain on the current branch.
Do not ask a question if local files answer it. Prefer one short question at a time when a choice is actually blocking.
Workflow
- Inspect the target.
git status --short --branch- root
AGENTS.md/CLAUDE.md package.json- plan folders and
TASK_QUEUE.md - existing
.claude/skills,scripts/agent-signals.sh, andscripts/implementation-plan-orchestrator-preflight.mjs
- Install or upgrade the library.
- If running from the packaged repo, prefer
dist/overnight/install.sh <target>. - Install the quality layer by default. If the user opts out, pass
--without-quality-lensesand make sure AGENTS/CLAUDE instructions do not require the skipped quality skills. - Use non-destructive install by default. Use
--forceonly when the user explicitly asks to replace existing library files. - Preserve unrelated dirty work. Do not overwrite product files.
- If running from the packaged repo, prefer
- Wire repo-specific commands.
- Add or update a package script:
"plan:orchestrator:preflight": "node scripts/implementation-plan-orchestrator-preflight.mjs --plans-root <root> --plan <slug>" - If the repo has no package scripts, document the direct
nodecommand instead of inventing a package manager.
- Add or update a package script:
- Patch instructions.
- Add a concise
AGENTS.md/CLAUDE.mdsection pointing to:.claude/skills/implementation-plan-builder/SKILL.md.claude/skills/overnight-agent-runbook/SKILL.md.claude/skills/stacked-pr-orchestrator/SKILL.mdscripts/agent-signals.shnpm run plan:orchestrator:preflight
- Fill the knobs table with the repo's real values.
- If the quality layer was installed, set the quality lens source to
docs/quality-lenses.md + .claude/skills/. If it was skipped, point to the target repo's existing quality docs or recordnone. - Preserve existing branch policy. If the repo says “do not create branches unless explicitly asked,” the Overnight section must repeat that constraint.
- Add a concise
- Validate.
node --check scripts/implementation-plan-orchestrator-preflight.mjsbash -n scripts/agent-signals.sh- Run the configured preflight with
--no-write-state. - Run
git diff --checkscoped to setup files.
- Close out.
- List installed/updated files.
- Show the preflight verdict.
- State whether any files were skipped to avoid overwriting.
- State whether the repo was left uncommitted because of unrelated dirty work.
Guardrails
- Never install a board, dispatcher, polling daemon, or required status file.
- Do not make a scheduled heartbeat wake an agent before the local preflight says
ACTION_REQUIRED. - Do not silently loosen branch, PR, credential, cloud, spend, or external-send rules.
- Keep setup changes separate from product implementation changes.
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.

