task-decomposition

task-decomposition is a skill for Claude Code from mnthe/hardworker-marketplace. It costs 33 tokens per session (2,723 once invoked), scanned A, original, MIT.

A method for breaking a large teamwork project into small, actionable tasks with suitable roles, dependencies, and complexity levels.

In plain words
What is it for?
Use it to turn plan documents or project goals into tasks that one worker can complete, while tracking files, dependencies, and task size.
Why use it?
It helps prevent tasks from being too broad, unclear, or dependent on unfinished work.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the teamwork plugin — 4 skills, 5 commands shipped together

Good fit Use it to turn plan documents or project goals into tasks that one worker can complete, while tracking files, dependencies, and task size.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mnthe/hardworker-marketplace/task-decomposition
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.

Any agent
npx skills add mnthe/hardworker-marketplace --skill task-decomposition
Clone the repo
git clone --depth 1 https://github.com/mnthe/hardworker-marketplace

Made for: Claude Code.

Or install teamwork, the plugin that ships this one along with the rest of its 4 skills, 5 commands.

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-decomposition

README.md
[![agentmods](https://agentmods.dev/badge/skills/mnthe/hardworker-marketplace/task-decomposition.svg)](https://agentmods.dev/skills/mnthe/hardworker-marketplace/task-decomposition)
Your own site
<a href="https://agentmods.dev/skills/mnthe/hardworker-marketplace/task-decomposition"><img src="https://agentmods.dev/badge/skills/mnthe/hardworker-marketplace/task-decomposition.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,723 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 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.00033 $0.02723
Opus 5 $0.00016 $0.01362
Sonnet 5 $0.00007 $0.00545
Haiku 4.5 $0.00003 $0.00272

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

Security

Grade A, and why

task-decomposition scanned grade A 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 8d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST http://localhost:3000/api/endpoint
plugins/teamwork/skills/task-decomposition/SKILL.md · 373 lines

How it starts

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

Task Decomposition Strategy

This skill provides comprehensive guidelines for breaking down project goals into actionable tasks. Use this when planning teamwork projects to ensure optimal task granularity, proper role assignment, and appropriate complexity assessment.


Hybrid Decomposition Strategy

Use a combination of plan-based (Strategy A) and semantic (Strategy B) decomposition:

Strategy A: Plan Document Based

Use when plans option is provided with detailed implementation documents.

  1. Extract Steps: Parse plan documents for Markdown headers (## Step N, ### Phase N)
  2. Map to Tasks: Each header section becomes a task candidate
  3. Sub-decompose: If a step mentions multiple files (>3), split into sub-tasks
  4. Verify Atomicity: Each task should be completable in one worker session

Example transformation:

Plan: "03.impl-workspace-setup.md"
|- Step 1: Root workspace -> Task: "Initialize pnpm monorepo workspace"
|- Step 2.1: Database package -> Task: "Create database package structure"
|- Step 2.2: items schema -> Task: "Implement items.schema.ts"
|- Step 2.3: item-features schema -> Task: "Implement item-features.schema.ts with pgvector"
+- Step 3: Docker -> Task: "Configure Docker Compose for dev environment"

Strategy B: Semantic Decomposition

Use when no plan documents provided, or as sub-decomposition within Strategy A.

  1. File-based: New file creation = separate task
  2. Complexity-based: Complex file with multiple classes -> split by class
  3. Dependency-based: Interface and implementation = separate tasks
  4. Test-based: Each independently testable unit = candidate task

Granularity Rules

  • 1 task = 1-3 files changed (recommended)
  • 1 task = 10-30 minutes work (recommended)
  • 1 task = independently testable/verifiable

Anti-patterns (Avoid)

  • "Setup entire workspace" (too broad)
  • "Implement backend" (too vague)
  • "Create all schemas" (bundles multiple files)

Good patterns (Recommended)

Read the full file on GitHub · 373 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. 8d ago First seen · 373 lines · 33 tokens per session scan A f5987ad6c962

Subscribe to this mod's changes

task-decomposition is a skill published in the GitHub repository mnthe/hardworker-marketplace (4 stars, last pushed 4mo ago), licensed MIT. It adds 33 tokens to every session and 2,723 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.