plan-to-tasks

plan-to-tasks is a command for Claude Code from Zts0hg/codexspec. It costs 16 tokens per session (1,761 once invoked), scanned A, original, MIT.

A task-planning command that expands an approved implementation plan into specific, traceable coding tasks.

In plain words
What is it for?
Use it after planning to produce ordered tasks that developers or coding agents can implement and verify.
Why use it?
It makes a broad plan easier to execute while preserving the decisions already approved in the requirements, design, and plan.

Command for Claude Code

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 commands/zts0hg/codexspec/plan-to-tasks
Clone the repo
git clone --depth 1 https://github.com/Zts0hg/codexspec

Made for: Claude Code.

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 plan-to-tasks

README.md
[![agentmods](https://agentmods.dev/badge/commands/zts0hg/codexspec/plan-to-tasks.svg)](https://agentmods.dev/commands/zts0hg/codexspec/plan-to-tasks)
Your own site
<a href="https://agentmods.dev/commands/zts0hg/codexspec/plan-to-tasks"><img src="https://agentmods.dev/badge/commands/zts0hg/codexspec/plan-to-tasks.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,761 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.00016 $0.01761
Opus 5 $0.00008 $0.00881
Sonnet 5 $0.00003 $0.00352
Haiku 4.5 $0.00002 $0.00176

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

Security

Grade A, and why

plan-to-tasks 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.

.claude/commands/codexspec/plan-to-tasks.md · 134 lines

How it starts

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

Plan to Tasks Converter

Language Preference

Read .codexspec/config.yml. Two independent language controls apply (each falls back to language.output, then English):

  • Interaction language (language.interaction): language for all conversation with the user — questions, explanations, status messages, and codexspec CLI terminal output.
  • Document language (language.document): language for generated artifact files (requirements/spec/plan/tasks).

Converse in the interaction language and author artifacts in the document language. Apply the project's translation standard to both: translate by meaning (not word-for-word), keep English for terms with no good native equivalent, and write as if originally in that language.

User Input

$ARGUMENTS

Role

Act as a plan expander. Produce implementation tasks that execute the approved plan without redesigning it.

Feature Resolution and Inputs

Use an explicit path first, then the current branch. Ask the user if the feature cannot be resolved uniquely; never select the latest directory silently.

Read:

  • requirements.md
  • spec.md
  • design.md
  • plan.md
  • Constitution and relevant repository conventions

design.md (the confirmed design) sits between spec.md and plan.md in authority; read it as context so tasks trace to the design the plan implements. A legacy feature may have no design.md; proceed from plan.md in that case.

Legacy compatibility: when requirements.md is absent, use spec.md as the temporary highest authority and state the limitation.

Stop Conditions

Before task generation, verify that the plan covers the specification and does not contradict confirmed requirements.

Stop instead of guessing when:

  • A plan component is undefined or internally contradictory.
  • A task would require a new architecture or product decision.
  • Required file paths or dependencies cannot be determined safely.
  • A critical upstream item remains open.

Task Rules

  • Every task must include Covers: REQ-xxx; Plan: <component/phase>.
  • A task must have one clear, verifiable outcome.
  • Do not equate atomicity with exactly one file. Multiple tightly related files may belong to one task when splitting them would make validation artificial or incomplete.
  • Use exact paths when they are known from the plan or repository; do not invent paths to satisfy a template.
  • Preserve the plan's organization. Group by user story, component, or technical phase according to the approved plan.
  • Declare only dependencies that are needed to execute or validate the task.
  • Mark [P] only when tasks can actually run concurrently after their declared dependencies. Missing [P] is not inherently a defect.
  • Require test-first ordering only when mandated by the constitution, specification, plan, or established repository workflow.
  • Otherwise include the appropriate verification task without imposing TDD as a universal method.
  • For every testable task, enumerate an explicit, individually identifiable Test Scenarios list: the happy path plus the boundary and error conditions the behavior implies. Non-testable tasks (docs, config, assets, infrastructure) keep their deterministic verification and do not carry test scenarios.
  • Derive test scenarios from the specification's acceptance criteria and the covered requirement's behavior, expanding them into concrete cases; never invent scenarios with no upstream basis. If upstream behavior is too underspecified to enumerate meaningful scenarios, stop per the Stop Conditions rather than guessing.
  • Keep each scenario individually identifiable and traceable so implementation and the implement-tasks self-check can map each scenario to a test one-to-one. Do not pad: enumerate only scenarios the behavior actually implies.
  • Do not add polish, monitoring, abstraction, documentation, or hardening tasks unless they are required by the approved plan, repository policy, or a verified implementation need.

Read the full file on GitHub · 134 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. today Changed · +7 lines 721530ba55e7
  2. 4d ago First seen · 127 lines · 16 tokens per session scan A 64559ecac758

Subscribe to this mod's changes

plan-to-tasks is a command published in the GitHub repository Zts0hg/codexspec (5 stars, last pushed 2d ago), licensed MIT. It adds 16 tokens to every session and 1,761 once invoked, about $0.0001 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.