DeepWorkPlan — Methodology Skill (Router)
Models matter; context matters more. The DeepWorkPlan skill turns any
repository into a structured environment — context, guardrails, and a durable
plan — where any coding agent executes reliably on long-horizon work. It makes
the repository "AI-first" — AGENTS.md + docs/ + per-module docs + .agents/
(with the .claude → .agents and .cursor → .agents symlinks) — and runs structured Deep Work
Plans: multi-task plans an AI agent drafts, refines, executes task-by-task,
and resumes. All plan and draft outputs land in a gitignored .dwp/ directory
at the repo root (.dwp/plans/, .dwp/drafts/).
Source of truth: https://deepworkplan.com. License: MIT.
Start here (first run)
This skill is a self-sufficient entry point: whether a developer arrives from
https://deepworkplan.com/init.md or simply installs this skill, the setup plan
is the same — and it lives here, so no network is required.
If the repository is not yet AI-first — there is no root AGENTS.md and no
.agents/ directory — the recommended first action is to onboard it, even if
the developer's request was vague ("set this up", "make this repo AI-first", or a
plain install). Before routing anywhere else:
- Read the standard locally. Read
spec/ (five RFC-2119
documents) and shared/adaptation.md. The overriding
rule is REASON, do not copy-paste: this skill is the reusable engine; what
you produce must be adapted to this repository, never templated.
- Run onboarding. Read
onboard/SKILL.md and execute it.
It is non-destructive: detect existing AGENTS.md, docs/, .agents/, or
CLAUDE.md, reconcile rather than overwrite, and ask the developer before
replacing anything. The result: AGENTS.md + CLAUDE.md symlink, a reasoned
docs/ tree, per-module docs, a .agents/ kit, and a gitignored .dwp/ — the
repository becomes the agent harness.
- Verify conformance. Read
verify/SKILL.md and run it to
confirm, objectively, that the repository now meets the standard (AGENTS.md with
real commands, the .agents/ catalog, the gitignored .dwp/, and so on).
- Then plan and execute. With the harness in place, create and execute Deep
Work Plans (below) — long-horizon, gated, resumable work an agent can run
autonomously for hours.
If the repository is already AI-first, skip onboarding and route by intent
silently — do not announce the detection or the routing decision (no "the repo
is already AI-first" / "routing to the create sub-skill" preamble). Just begin the
matched sub-skill's flow directly.
What it does
This is the router. It does not run any flow itself — it maps the
developer's intent to the right sub-skill and tells the agent to read that
sub-skill's SKILL.md and execute it there.
Trust boundary (write scope)
allowed-tools includes write-capable Edit, Write, and Bash because the
sub-skills this router delegates to need them; the router itself only reads
(the repo tree, the local spec/, shared/, and sub-skill files). Writes happen
inside the delegated sub-skill, each of which declares its own trust boundary:
- Onboard writes
AGENTS.md, docs/, per-module docs, .agents/, and
appends to .gitignore — reconciling with, never clobbering, what exists,
and asking before replacing anything.
- Create / refine write plan artifacts under the gitignored
.dwp/
directory only.
- Execute / resume write task outputs, progress, and per-task commits —
gated by each task's validation, never committing secrets, never pushing
without the developer's instruction.
- Addons install or configure anything only after the developer explicitly
accepts the offer, always via pinned, verified install paths.
It MUST NOT: make network calls in the core flow, read or commit credentials,
run installers unprompted, or write anywhere outside the surfaces above. The
full guarantees and a runnable self-audit live in
TRUST.md.
For the agent — routing rules
When the developer wants to plan, execute, or manage structured work, or make a
repo AI-agent-ready, match the intent below and read that sub-skill's
SKILL.md to execute it. Do not answer directly — each sub-skill carries the
full step-by-step flow.
| Developer says… |
Route to |
| "create a plan", "new deep work plan", "/dwp-create" |
Create → read create/SKILL.md |
| "execute the plan", "run the plan", "/dwp-execute" |
Execute → read execute/SKILL.md |
| "refine the draft", "modify the plan", "/dwp-refine" |
Refine → read refine/SKILL.md |
| "resume", "continue the interrupted plan", "/dwp-resume" |
Resume → read resume/SKILL.md |
| "plan status", "what's left", "/dwp-status" |
Status → read status/SKILL.md |
| "verify", "is this repo AI-first?", "check conformance", "/dwp-verify" |
Verify → read verify/SKILL.md |
| "make this repo AI-first", "onboard this repo", "set up AGENTS.md + docs + .agents" |
Onboard → read onboard/SKILL.md |
| "create/update a skill or agent", "evolve the kit", "/skill-create", "/agent-create" |
Author → read author/SKILL.md |
If the intent is ambiguous between planning and managing existing work, ask the
developer which they mean before routing.
Normative specification (ships with the skill)
The methodology's authoritative standard lives at spec/ —
five RFC-2119 documents (DOCUMENTATION_STANDARD, DWP_SPECIFICATION,
AGENT_PROTOCOL, ARCHETYPES, ADDONS). It ships inside the skill so an agent
reads the standard locally — no network needed. The onboard flow and
shared/adaptation.md reference it as the standard to produce. The public,
rendered version lives at https://deepworkplan.com/spec.
Shared resources used by every sub-skill
shared/context.sh — detect repo root, branch, and agent
tool; resolve the .dwp/ output location.
shared/dwp-paths.md — the .dwp/plans/ +
.dwp/drafts/ output convention and how to override it.
shared/adaptation.md — the reasoning-over-copy-paste
principle and the two repository archetypes (individual repo vs orchestrator
hub).
Opt-in addons
The addons/ area holds opt-in capabilities the
onboard flow can layer onto a repo. Addons are never part of the AI-first
baseline — a repo is fully conformant with zero addons. The first addon is
devcontainer support.
1---2name: deepworkplan-33description: DeepWorkPlan — turn any repo AI-first and run Deep Work Plans. Routes to create, execute, refine, resume, status, verify, and repo-onboarding sub-skills based on intent. Use when the developer wants to plan, execute, manage, or verify structured multi-task work, or make a repository AI-agent-ready.4---56# DeepWorkPlan — Methodology Skill (Router)78Models matter; context matters more. The **DeepWorkPlan** skill turns any9repository into a structured environment — context, guardrails, and a durable10plan — where any coding agent executes reliably on long-horizon work. It makes11the repository "AI-first" — `AGENTS.md` + `docs/` + per-module docs + `.agents/`12(with the `.claude → .agents` and `.cursor → .agents` symlinks) — and runs structured **Deep Work13Plans**: multi-task plans an AI agent drafts, refines, executes task-by-task,14and resumes. All plan and draft outputs land in a gitignored `.dwp/` directory15at the repo root (`.dwp/plans/`, `.dwp/drafts/`).1617Source of truth: <https://deepworkplan.com>. License: MIT.1819## Start here (first run)2021This skill is a self-sufficient entry point: whether a developer arrives from22<https://deepworkplan.com/init.md> or simply installs this skill, the setup plan23is the same — and it lives here, so no network is required.2425**If the repository is not yet AI-first** — there is no root `AGENTS.md` and no26`.agents/` directory — the recommended first action is to **onboard it**, even if27the developer's request was vague ("set this up", "make this repo AI-first", or a28plain install). Before routing anywhere else:29301. **Read the standard locally.** Read [`spec/`](spec/README.md) (five RFC-211931 documents) and [`shared/adaptation.md`](shared/adaptation.md). The overriding32 rule is **REASON, do not copy-paste**: this skill is the reusable engine; what33 you produce must be adapted to *this* repository, never templated.342. **Run onboarding.** Read [`onboard/SKILL.md`](onboard/SKILL.md) and execute it.35 It is **non-destructive**: detect existing `AGENTS.md`, `docs/`, `.agents/`, or36 `CLAUDE.md`, reconcile rather than overwrite, and ask the developer before37 replacing anything. The result: `AGENTS.md` + `CLAUDE.md` symlink, a reasoned38 `docs/` tree, per-module docs, a `.agents/` kit, and a gitignored `.dwp/` — the39 repository becomes the agent harness.403. **Verify conformance.** Read [`verify/SKILL.md`](verify/SKILL.md) and run it to41 confirm, objectively, that the repository now meets the standard (AGENTS.md with42 real commands, the `.agents/` catalog, the gitignored `.dwp/`, and so on).434. **Then plan and execute.** With the harness in place, create and execute Deep44 Work Plans (below) — long-horizon, gated, resumable work an agent can run45 autonomously for hours.4647**If the repository is already AI-first**, skip onboarding and route by intent48**silently** — do not announce the detection or the routing decision (no "the repo49is already AI-first" / "routing to the create sub-skill" preamble). Just begin the50matched sub-skill's flow directly.5152## What it does5354This is the **router**. It does not run any flow itself — it maps the55developer's intent to the right sub-skill and tells the agent to read that56sub-skill's `SKILL.md` and execute it there.5758## Trust boundary (write scope)5960`allowed-tools` includes write-capable `Edit`, `Write`, and `Bash` because the61sub-skills this router delegates to need them; the router itself only **reads**62(the repo tree, the local `spec/`, `shared/`, and sub-skill files). Writes happen63inside the delegated sub-skill, each of which declares its own trust boundary:6465- **Onboard** writes `AGENTS.md`, `docs/`, per-module docs, `.agents/`, and66 appends to `.gitignore` — reconciling with, never clobbering, what exists,67 and asking before replacing anything.68- **Create / refine** write plan artifacts under the gitignored `.dwp/`69 directory only.70- **Execute / resume** write task outputs, progress, and per-task commits —71 gated by each task's validation, never committing secrets, never pushing72 without the developer's instruction.73- **Addons** install or configure anything only after the developer explicitly74 accepts the offer, always via pinned, verified install paths.7576It MUST NOT: make network calls in the core flow, read or commit credentials,77run installers unprompted, or write anywhere outside the surfaces above. The78full guarantees and a runnable self-audit live in79[`TRUST.md`](TRUST.md).8081---8283## For the agent — routing rules8485When the developer wants to plan, execute, or manage structured work, or make a86repo AI-agent-ready, match the intent below and **read that sub-skill's87`SKILL.md` to execute it**. Do not answer directly — each sub-skill carries the88full step-by-step flow.8990| Developer says… | Route to |91|------------------|----------|92| "create a plan", "new deep work plan", "/dwp-create" | **Create** → read [`create/SKILL.md`](create/SKILL.md) |93| "execute the plan", "run the plan", "/dwp-execute" | **Execute** → read [`execute/SKILL.md`](execute/SKILL.md) |94| "refine the draft", "modify the plan", "/dwp-refine" | **Refine** → read [`refine/SKILL.md`](refine/SKILL.md) |95| "resume", "continue the interrupted plan", "/dwp-resume" | **Resume** → read [`resume/SKILL.md`](resume/SKILL.md) |96| "plan status", "what's left", "/dwp-status" | **Status** → read [`status/SKILL.md`](status/SKILL.md) |97| "verify", "is this repo AI-first?", "check conformance", "/dwp-verify" | **Verify** → read [`verify/SKILL.md`](verify/SKILL.md) |98| "make this repo AI-first", "onboard this repo", "set up AGENTS.md + docs + .agents" | **Onboard** → read [`onboard/SKILL.md`](onboard/SKILL.md) |99| "create/update a skill or agent", "evolve the kit", "/skill-create", "/agent-create" | **Author** → read [`author/SKILL.md`](author/SKILL.md) |100101If the intent is ambiguous between planning and managing existing work, ask the102developer which they mean before routing.103104### Normative specification (ships with the skill)105106The methodology's authoritative standard lives at [`spec/`](spec/README.md) —107five RFC-2119 documents (`DOCUMENTATION_STANDARD`, `DWP_SPECIFICATION`,108`AGENT_PROTOCOL`, `ARCHETYPES`, `ADDONS`). It ships inside the skill so an agent109reads the standard **locally** — no network needed. The `onboard` flow and110`shared/adaptation.md` reference it as the standard to produce. The public,111rendered version lives at https://deepworkplan.com/spec.112113### Shared resources used by every sub-skill114115- [`shared/context.sh`](shared/context.sh) — detect repo root, branch, and agent116 tool; resolve the `.dwp/` output location.117- [`shared/dwp-paths.md`](shared/dwp-paths.md) — the `.dwp/plans/` +118 `.dwp/drafts/` output convention and how to override it.119- [`shared/adaptation.md`](shared/adaptation.md) — the reasoning-over-copy-paste120 principle and the two repository archetypes (individual repo vs orchestrator121 hub).122123### Opt-in addons124125The [`addons/`](addons/README.md) area holds **opt-in** capabilities the126`onboard` flow can layer onto a repo. Addons are never part of the AI-first127baseline — a repo is fully conformant with zero addons. The first addon is128devcontainer support.