m-task-planner

A development planning workflow that turns requirement documents into an implementation plan with tasks, dependencies, architecture notes, and tests.

In plain words
What is it for?
It is for extracting requirements, designing APIs and data models, dividing work into feature and test tasks, mapping dependencies, and showing the flow in Mermaid diagrams.
Why use it?
It helps turn broad requirements into an ordered plan and exposes ambiguities, prerequisites, and testing needs before coding starts.

Command

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/penwyp/claudepreference/m-task-planner
Clone the repo
git clone --depth 1 https://github.com/penwyp/ClaudePreference
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 689 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.00000 $0.00689
Opus 5 $0.00000 $0.00345
Sonnet 5 $0.00000 $0.00138
Haiku 4.5 $0.00000 $0.00069

Measured 2d ago against content hash 46e0abb50f2d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

m-task-planner 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 2d ago.

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.

commands/m-task-planner.md · 109 lines

How it starts

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

Dev Task Plan Workflow: Structure Implementation & Tests

Target: $ARGUMENTS (Default: requirement document(s) discovered in the project)

Scope: Analyze requirements and generate structured implementation plan with tests

Execution Steps

  1. Requirements Analysis

    • Parse target documents and extract functional requirements
    • Identify technical constraints and dependencies
    • Document ambiguities and unclear specifications
  2. Implementation Strategy Design

    • Define architecture patterns and system design
    • Plan API structures and data models
    • Outline testing strategy and coverage approach
  3. Task Decomposition

    • Break down features into actionable implementation tasks
    • Create corresponding test tasks for each feature
    • Define task types (feature, test, refactor, documentation)
  4. Dependency Mapping

    • Identify task prerequisites and blocking relationships
    • Sequence tasks based on logical dependencies
    • Optimize for parallel development opportunities
  5. Plan Visualization

    • Generate Mermaid diagram showing task flow
    • Illustrate critical path and milestone dependencies
    • Highlight testing integration points
  6. Generate Task Plan Report

    • Compile findings into structured markdown format
    • Save to docs/workspaces/task-plan-MM-dd-HH-mm-ss.md

Output Format

English Report

overview
  • High-level implementation strategy and architectural approach
  • Testing methodology and coverage targets
  • Key technical decisions and assumptions
tasks

Array of task objects with structure:

{
  "id": "string",
  "description": "string", 
  "type": "feature|test|refactor|docs",
  "status": "pending|in-progress|completed",
  "dependencies": ["task_id_1", "task_id_2"]
}
diagram

Mermaid diagram code illustrating:

  • Task dependencies and flow
  • Critical path identification
  • Parallel execution opportunities
clarifications

Array of questions for requirement ambiguities:

  • Unclear functional requirements
  • Missing technical specifications
  • Integration and compatibility concerns

Read the full file on GitHub · 109 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. 2d ago First seen · 109 lines · 0 tokens per session scan A 46e0abb50f2d

Subscribe to this mod's changes

m-task-planner is a command published in the GitHub repository penwyp/ClaudePreference (137 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 689 tokens. 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-30.