problem-decomposer

problem-decomposer is a skill for Claude Code from jamestexas/agents. It costs 59 tokens per session (3,113 once invoked), scanned A, original, Apache-2.0.

A method for breaking a large aspiration, platform project, or migration into small work specifications that agents can carry out. It uses repeated why-questions and a seven-part checklist to make each piece actionable.

In plain words
What is it for?
Use it when starting platform, capability, or migration work, or when checking whether a backlog has well-defined, dispatchable tasks.
Why use it?
It helps prevent broad goals from becoming vague backlog items that no agent can complete independently. It also exposes missing work and tasks that lack a clear owner or definition.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md.

Good fit Use it when starting platform, capability, or migration work, or when checking whether a backlog has well-defined, dispatchable tasks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jamestexas/agents/problem-decomposer
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 jamestexas/agents --skill problem-decomposer
Clone the repo
git clone --depth 1 https://github.com/jamestexas/agents

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jamestexas/agents/problem-decomposer"><img src="https://agentmods.dev/badge/skills/jamestexas/agents/problem-decomposer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,113 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00059 $0.03113
Opus 5.5 $0.00024 $0.01245
Sonnet 5.5 $0.00012 $0.00623
Haiku 4.5 $0.00006 $0.00311

Measured 3mo ago against content hash 9d03ed1bd225, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

problem-decomposer 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 3mo 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.

skills/problem-decomposer/SKILL.md · 220 lines

How it starts

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

/problem-decomposer — Aspiration → dispatchable lattice

Take an aspiration ("ship a platform, not a collection of repos"), descend it through the 5-whys until each branch reaches leaves that satisfy the 7 dispatchability properties (see DISPATCHABILITY.md), and emit a structured problem-statement doc + bead specs + non-leaves queue.

Arguments

$ARGUMENTS

  • <aspiration-slug> — short kebab-case identifier for the aspiration (e.g. substrate-idl, cross-repo-coordination, q3-platform-launch). Becomes the output filename.
  • --input=PATH (optional) — path to a doc describing the aspiration + relevant context. If omitted, the skill prompts the user (or the orchestrator) for the aspiration text inline.
  • --output-dir=PATH (default: docs/problems/) — where the decomposition doc and bead specs go.
  • --audit=PATH (optional) — instead of decomposing a new aspiration, audit an existing doc (or bead backlog) for orphan-dispatchable items. See "Audit mode" below.

Modes

Decompose mode (default)

Take a new aspiration → produce a fresh lattice doc + bead specs.

Audit mode (--audit=PATH)

Take an existing decomposition doc, ADR, or bead backlog → check each leaf against the 7 dispatchability properties + the 5-whys chain. Emit a report listing:

  • Leaves that pass all 7 (good)
  • Leaves that fail one or more (with which property and why)
  • Leaves whose "why?" chain doesn't reach a real aspiration (orphans — candidates for kill or re-parent)
  • Non-leaves still in the queue (real work, not yet ready)

What this skill solves

Most decompositions hit one of three failure modes:

  1. Too shallow — the breakdown stops at requirements like "design the system" or "improve UX" that aren't actually dispatchable. Agents pick them up, stall, give up.
  2. Too unrooted — leaves are concrete but the "why?" chain dead-ends at "because I noticed it." Agent budget burns on work that doesn't compound into a coherent platform.
  3. Tree-shaped, not lattice-shaped — work that serves multiple goals gets duplicated (with drift) or shoehorned under one arbitrary parent. The cross-cutting structure is lost.

Read the full file on GitHub · 220 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3mo ago First seen · 220 lines · 59 tokens per session scan A 9d03ed1bd225

Subscribe to this mod's changes

problem-decomposer is a skill published in the GitHub repository jamestexas/agents (2 stars, last pushed today), licensed Apache-2.0. It adds 59 tokens to every session and 3,113 once invoked, about $0.0002 per session on Opus 5.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

problem-decomposer compared with skills from other repositories

problem-decomposer next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
problem-decomposerjamestexas/agentsSkill2todayApache-2.0A59Claude Code
soul-gradercobibean/soul-grader-skillSkill603mo agoMITA45Codex
markdown-ui-dslMegaByteMark/markdown-ui-dslSkill258mo agoMITA25Claude Code, Codex
research-dspyGrayCodeAI/starlingSkill23mo agoMITA36Claude Code
research-guidanceGrayCodeAI/starlingSkill23mo agoMITA39Claude Code
research-instructorGrayCodeAI/starlingSkill23mo agoMITA39Claude Code
reviewvercel/eveSkill6.1ktodayApache-2.0A31Claude Code, Codex