writing-execution-plans

writing-execution-plans is a skill for Claude Code from haiggoh/run-to-completion. It costs 161 tokens per session (1,109 once invoked), scanned A, original, MIT.

A safety guide for writing execution plans that someone else, another model, or an unattended process will follow. It adds the context, checks, and permission boundaries that a handoff needs.

In plain words
What is it for?
Use it for delegated work, overnight runs, handoffs, publishing, merging, releases, deployments, or changes to shared and live state.
Why use it?
A plan writer and executor may not share the same chat history or permissions. The guide reduces guesswork around unknowns, live systems, and operations beyond local edits.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the run-to-completion plugin — 7 skills, 1 hook shipped together

Good fit Use it for delegated work, overnight runs, handoffs, publishing, merging, releases, deployments, or changes to shared and live state.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/haiggoh/run-to-completion/writing-execution-plans
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add haiggoh/run-to-completion --skill writing-execution-plans
Clone the repo
git clone --depth 1 https://github.com/haiggoh/run-to-completion

Made for: Claude Code.

Or install run-to-completion, the plugin that ships this one along with the rest of its 7 skills, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for writing-execution-plans

README.md
[![agentmods](https://agentmods.dev/badge/skills/haiggoh/run-to-completion/writing-execution-plans/github.svg)](https://agentmods.dev/skills/haiggoh/run-to-completion/writing-execution-plans)
Your own site
<a href="https://agentmods.dev/skills/haiggoh/run-to-completion/writing-execution-plans"><img src="https://agentmods.dev/badge/skills/haiggoh/run-to-completion/writing-execution-plans/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for writing-execution-plans

Your own site · 80×15
<a href="https://agentmods.dev/skills/haiggoh/run-to-completion/writing-execution-plans"><img src="https://agentmods.dev/badge/skills/haiggoh/run-to-completion/writing-execution-plans.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 161 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,109 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00161 $0.01109
Opus 5.5 $0.00064 $0.00444
Sonnet 5.5 $0.00032 $0.00222
Haiku 4.5 $0.00016 $0.00111

Measured today against content hash ab913a0bd18c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

writing-execution-plans scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/writing-execution-plans/SKILL.md · 67 lines

How it starts

The opening of the file, as written. The whole thing — 67 lines — stays where its author put it; the contents beside it link to each section on GitHub.

writing-execution-plans — the execution-safety layer on top of a plan

A general plan-writing skill decides what gets built: decomposition, tasks, interfaces, test steps, self-review, execution handoff. This layer does not restate any of that. It adds what a plan needs when the reader is not its author: the executor has no chat history, may be a smaller model, and cannot ask. Template: references/plan-template.md.

When the layer is needed (any one is enough)

  • Different executor. Someone other than this session runs it: a handoff, a successor, a delegated model, an unattended run.
  • Permission boundary. Any operation past edit + local commit: publishing, merge, tag, release, deploy, live services or APIs, money, large downloads, killing or restarting processes, user config.
  • Shared or live state. A checkout other tooling resolves through, uncommitted work that is not the executor's, a runtime that other sessions use.

None of these? The base plan is enough; do not add this layer for ceremony.

What the layer adds

  1. Self-contained context. Label every fact confirmed live, dated observation, decision or unknown to inspect. Never present a guessed path or command as proven. No secrets.
  2. Authority matrix. For each operation: allowed now / allowed after a named gate / needs separate user permission / prohibited. Silence is not permission. Clearance for one boundary never implies the next: publishing a branch does not authorize a merge, a merge does not authorize a release. State the highest granted boundary in the opening rules AND in the final phase.
  3. Phase 0, forced preflight. Before any mutation, the executor writes exactly three sentences connecting the first phase to the final outcome, then does read-only discovery: the right source (not a build output, cache or similarly named copy), dirty and untracked paths, the test command and a baseline run, tool availability. A new worktree starts from committed history; uncommitted work does not come along. Unverifiable prerequisite ⇒ pause the dependent work.
  4. Receipts, not checkboxes. Every phase ends with the command run, its expected observation and exit status, and the state invariant checked. "Not tested" is said as such, never as passed. On an unexpected failure: stop that phase, diagnose, fix, rerun, show both runs.
  5. A known-bad discriminant per important behaviour. A planted bad fixture or an isolated temporary mutation must turn the check red before the good case counts as green. Never plant faults in live files or services. If an assertion contradicts a verified fact, inspect the instrument; never weaken the test.
  6. Side-effect classification. Name every step that can spend, download, change credentials, kill processes, overwrite data or alter terminal state, and route its routine verification through mocks, stubs, temp dirs, scratch ports and synthetic credentials. A --dry-run is not presumed harmless: the plan says how its implementation was checked.
  7. Adversarial review. For each credible risk, one line: tempting shortcut → plausible false success → concrete harm → preventive rule → the test or receipt that detects it. Always consider: wrong checkout, dirty work missing from a worktree, guessed tool schema, a pipeline hiding a non-zero exit, a rewrite from a fragment, a green-but-inert test, secrets in receipts, one entry point updated while others are not, and a lower permission read as a higher one.
  8. Final delivery questions. What is implemented versus only planned? Which receipts actually ran? Is user work preserved? Did the run stop at its authority boundary? State blockers plainly.

Read the full file on GitHub · 67 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 67 lines · 161 tokens per session scan A ab913a0bd18c

Subscribe to this mod's changes

writing-execution-plans is a skill published in the GitHub repository haiggoh/run-to-completion (1 stars, last pushed today), licensed MIT. It adds 161 tokens to every session and 1,109 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-25.