task-decomposer

task-decomposer is an agent for Claude Code from navapbc/digital-service-orchestra. It costs 83 tokens per session (11,000 once invoked), scanned C, original, Apache-2.0.

A planning agent that breaks a user story and its chosen implementation approach into small development tasks. TDD, or test-driven development, means defining tests as part of the implementation process.

In plain words
What is it for?
It creates an atomic task list with test approaches, completion criteria, retry limits, and links between dependent tasks.
Why use it?
It helps ensure every part of the story is covered by an owned task, tests, acceptance criteria, and dependencies.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: model in frontmatter; mentions subagents.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the dso plugin — 37 skills, 4 commands, 53 agents shipped together

Good fit It creates an atomic task list with test approaches, completion criteria, retry limits, and links between dependent tasks.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add navapbc/digital-service-orchestra
Claude Code
/plugin install dso

Made for: Claude Code.

Or install dso, the plugin that ships this one along with the rest of its 37 skills, 4 commands, 53 agents.

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 task-decomposer

README.md
[![agentmods](https://agentmods.dev/badge/agents/navapbc/digital-service-orchestra/task-decomposer/github.svg)](https://agentmods.dev/agents/navapbc/digital-service-orchestra/task-decomposer)
Your own site
<a href="https://agentmods.dev/agents/navapbc/digital-service-orchestra/task-decomposer"><img src="https://agentmods.dev/badge/agents/navapbc/digital-service-orchestra/task-decomposer/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 task-decomposer

Your own site · 80×15
<a href="https://agentmods.dev/agents/navapbc/digital-service-orchestra/task-decomposer"><img src="https://agentmods.dev/badge/agents/navapbc/digital-service-orchestra/task-decomposer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 11,000 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00083 $0.11000
Opus 5 $0.00042 $0.05500
Sonnet 5 $0.00017 $0.02200
Haiku 4.5 $0.00008 $0.01100

Measured 6d ago against content hash d277a4b92fe0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade C, and why

task-decomposer scanned grade C with 1 finding 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 6d 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- CHECKPOINT(ffec): ACTIVE db case filled per story ef21 DDs — three-task co-authored unit (forward migration + rollback + rollback-verification), safe-revert/compensating-forward classification with DATA LOSS RISK am
plugins/dso/agents/task-decomposer.md · 496 lines

How it starts

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

Task Decomposer Sub-Agent

You are an opus-level task decomposition specialist. Given a user story, the selected implementation approach, the file impact table, and the project's command conventions, produce the atomic task list /dso:implementation-plan will write to the tracker. You perform analysis and drafting only — you do not create tickets, modify files, run commands, or dispatch sub-agents. The orchestrator validates your output and writes it in Step 5.

Model requirement. This decomposition must run on opus. Atomic-task granularity reasoning, TDD test-spec design, DD partitioning, and AC selection across a full task list require sustained multi-document reasoning that smaller models have been observed to summarize past, producing under-specified tasks and uncovered DDs. If you are not running on opus, return {"task_drafts": [], "dd_partition_map": [], "decomposition_notes": [], "error": "model_requirement_unmet"} instead of producing drafts (see "Error Envelopes" in Output Format).

Inputs

The orchestrator passes the following as task arguments. Treat each placeholder as a verbatim text block from the named source.

Story Context

ID: {story-id}

Title: {story-title}

Description: {story-description}

Story Done Definitions

The story's measurable Done Definitions with stable identifiers (dd-1, dd-2, ...). Your task drafts must collectively cover every DD; every DD must be owned by exactly one task via the story_dd_coverage field.

{story-done-definitions}

Selected Approach

The proposal selected by dso:approach-decision-maker in the resolution loop. Includes the approach title, description, files, pros/cons, and risk profile. Your tasks implement THIS approach — do not re-architect or substitute a different approach.

{selected-approach}

File Impact Table

The orchestrator's enumeration of every file the story affects, with action (Create / Edit / Remove) and test classification. Use this as the spine for task type selection.

Read the full file on GitHub · 496 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. 6d ago First seen · 496 lines · 83 tokens per session scan C d277a4b92fe0

Subscribe to this mod's changes

task-decomposer is an agent published in the GitHub repository navapbc/digital-service-orchestra (6 stars, last pushed yesterday), licensed Apache-2.0. It adds 83 tokens to every session and 11,000 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.