plan

A workflow for turning an approved software proposal into an implementation plan. It writes a task list and, for larger changes, a design document that explains the architecture.

In plain words
What is it for?
Use it to create implementation-ready tasks and technical design notes from an approved proposal, then check whether the handoff is complete.
Why use it?
It records the decisions an implementer needs, so another agent or a later session can carry out the work without knowing the original discussion.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/ribeirogab/specwright/plan
Any agent
npx skills add ribeirogab/specwright --skill plan
Clone the repo
git clone --depth 1 https://github.com/ribeirogab/specwright

Made for: Claude Code, Codex.

Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,912 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00076 $0.01912
Opus 5 $0.00038 $0.00956
Sonnet 5 $0.00015 $0.00382
Haiku 4.5 $0.00008 $0.00191

Measured yesterday against content hash b14134d699b5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

plan 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 yesterday.

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.

plugins/sw/skills/plan/SKILL.md · 187 lines

How it starts

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

plan — the technical plan, written for a stranger

Turn an approved proposal.md into the plan an implementer executes: tasks.md always, and design.md when the change is large enough to have an architecture. One rule governs every choice in this skill —

The implementer has no memory of the conversation that produced this plan.

That is not a hypothetical. The plan may be handed to a fresh session, a different model, a different host, or picked up next week. Anything that lives only in this conversation is lost the moment this skill ends. If it matters, it goes in the file.

Announce at start: "Writing the technical plan."

Resolve bundled resources

Resolve SW_PLUGIN_ROOT before reading a template or invoking the validator:

  1. use PLUGIN_ROOT when it contains .codex-plugin/plugin.json;
  2. otherwise use CLAUDE_PLUGIN_ROOT when it contains .claude-plugin/plugin.json;
  3. otherwise derive the root from this loaded skills/plan/SKILL.md real path (two parents above the skills/plan/ directory).

Require templates/design.md, templates/tasks.md, and scripts/validate-change.sh beneath that root. Stop before writing if resolution fails. Never look for bundled resources inside the target repository.

Locate the change

$ARGUMENTS names a change folder or slug → use it. Otherwise find the change in .specwright/changes/*/ whose proposal.md says status: pending or in-progress; several → ask which. Set status: in-progress when you start.

Every change lives flat at .specwright/changes/YYYY-MM-DD-<slug>/, standalone or delivery-linked alike.

Read what came before

For a change that belongs to a delivery, read the ## Decisions and discoveries section of every sibling change already shipped — the changes whose delivery: points at the same delivery folder. Those are facts an earlier change paid to discover: data formats, surprising behaviors, required workarounds, constraints that only appear at runtime. Fold every applicable one into this plan's Architecture or Constraints. A plan that trips over a recorded discovery is a review blocker.

Read the full file on GitHub · 187 lines

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. yesterday First seen · 187 lines · 76 tokens per session scan A b14134d699b5

Subscribe to this mod's changes

plan is a skill published in the GitHub repository ribeirogab/specwright (3 stars, last pushed 24d ago), licensed MIT. It adds 76 tokens to every session and 1,912 once invoked, about $0.0004 per session on Opus 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-08-31.

Related

Other skills, from other repositories

review-depth

Decide how much review a change has earned, before reviewing it. Selects quick, standard, or deep from stated signals (reviewable changed lines, directory spread, trust-boundary risk flags, blast radius, documentation-only scope), reports the signal table and the rule that fired, then runs house-review at the selected…

hams-ollo/zen-agent-skills · 180 tokens

doc-sync

Use when code has moved and the documentation may not have, or when a documentation set needs auditing for stale claims. Detects documentation drift by checking prose claims against repository facts, classifies every document as current-state (correctable), contract (report-only, human-owned) or ledger (skipped), and…

hams-ollo/zen-agent-skills · 193 tokens

init-worktracking

Scaffold a portable, agent-optimized spec-driven work-tracking system into the current repository: AGENTS.md (global rules + agent reading protocol), a .tasks/ directory of atomic task files, and (by tier) ROADMAP.md, CHANGELOG.md, a validate.py checker, and thin CLAUDE.md/Cursor/Copilot pointers. Choose a footprint…

hams-ollo/zen-agent-skills · 207 tokens

reconcile-worktrees

Safely consolidate one or more isolated git worktrees (for example left behind by parallel background agents, or from the fix-batch skill) into the main working tree, without committing or merging blindly. Use whenever asked to "reconcile the worktrees", "merge these agent branches", "bring the worktree changes back…

hams-ollo/zen-agent-skills · 161 tokens

verifier-agent

Use before reconciling or landing an implementation to independently verify it against its approved spec and its task's acceptance criteria. Runs the declared verification commands and records each exact outcome, composes the spec-conformance lens so a contract divergence fails the run even when every command passes…

hams-ollo/zen-agent-skills · 166 tokens

spec-author

Use when turning a raw idea, feature request, or bug into a persistent behavioral spec before any tasks or code. Drafts a scenario-based spec (problem, goals, non-goals, constraints, Given/When/Then scenarios with stable S-NNN ids, proposed surface, open questions), composes the spec-quality lens to self-check and…

hams-ollo/zen-agent-skills · 133 tokens