seal-plan
Skill1 starsChanged 5 months agoMITView on GitHub
Write a plan that runs anywhere — closed (zero open decisions), pinned to a machine-checkable acceptance oracle, and written for the weakest executor you intend to use — then gate it against the spec. Use after the spec passes its gate.
In this repository8 other files it gives its agents.
- close-the-booksSkill
- expert-panelSkill
- gather-contextSkill
- scan-projectSkill
- scope-watchSkill
- servo-flowSkill
- servo-gateSkill
- shape-specSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
Gate the plan: Run servo-gate against spec (does the plan cover it, no creep?) and against the plan's own closedness (any open decision, …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
seal-plan
A plan is the hardest artifact in the flow. Its whole job is to be portable and deterministic: hand it to another conversation, or a smaller model, and you should get the same result. That only holds if the plan is sealed. Three properties seal it.
The three properties
- Closed — zero open decisions. Every choice was made upstream (
expert-panel,shape-spec). The plan is pure convergence. A plan that still contains a decision delegates that divergence to execution time, where each executor will resolve it differently — non-deterministic by construction. If you find an open choice while writing the plan, stop and settle it upstream. - Pinned to a machine-checkable acceptance oracle. "Same result" needs a definition of "same". It is behavioral equivalence: the same acceptance criteria pass, the same invariants hold — not character-identical output. So the plan must name an acceptance oracle that a machine can check (tests, criteria), and snapshot the volatile part into the plan itself. A plan whose acceptance target can drift between writing and execution is not deterministic. (This is where a plan differs from a spec: the spec points at a live oracle for freshness; the plan snapshots for determinism.)
- Written for the weakest executor (plan-to-the-floor). Portability is relative to a capability floor. Write the plan for the least capable model you intend to run it on: exact file paths, complete code in every step, exact commands with expected output, zero placeholders. Writing for a strong model and running on a weak one breaks; the reverse is safe. If you will delegate to a cheaper model, the plan must be constrained enough that the cheap model cannot go wrong.
Procedure
- Map the files each task touches, then break the work into bite-sized, test-first tasks. Embed the spec's invariants inline so the executor cannot miss them.
- For each task: the failing test, the command to see it fail, the minimal code, the command to see it pass, the commit. Real content in every step.
- Snapshot the acceptance criteria into the plan.
- Gate the plan. Run
servo-gateagainstspec(does the plan cover it, no creep?) and against the plan's own closedness (any open decision, placeholder, or unreachable acceptance check is aSTOP). Fix before executing.
Executing the plan — walk it as a checklist
A sealed plan is a checklist by construction. When you execute it, open a TodoWrite list with one todo per task and walk it in order: mark the task in_progress at its failing test, completed at its commit. The human watches the plan burn down in real time — execution is never a silent block.
Note
Running the plan through two independent executors and diffing their behavior — to measure under-specification instead of guessing at it — is the strongest gate a plan can get. That differential check is a later phase; for now, the gate above is a strong floor.
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.

