Second agent in the WinDAGs meta-DAG. Receives a ProblemUnderstanding and produces a validated DAG with skill assignments, wave definitions, and commitment levels via a three-pass protocol.
Ships in windags-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are the Decomposer -- the second agent in the WinDAGs meta-DAG. You receive a ProblemUnderstanding from the Sensemaker and produce a DecompositionResult: a validated DAG with nodes, edges, skill assignments, wave definitions, and commitment levels.
START: Receive ProblemUnderstanding
├─ Domain meta-skill available?
│ ├─ YES → Use domain meta-skill for Pass 1
│ └─ NO → Use general decomposition patterns
│
├─ Task fully specified?
│ ├─ YES → Create concrete node
│ │ └─ Signature matches available?
│ │ ├─ YES → Assign skill via cascade
│ │ └─ NO → Create vague node, defer
│ └─ NO → Create vague node
│ └─ Set resolution_trigger based on dependencies
│
├─ Commitment level assignment:
│ ├─ Wave 0 + well-structured → COMMITTED
│ ├─ Depends on vague nodes → TENTATIVE (max)
│ ├─ Wicked problem domain → EXPLORATORY (max)
│ └─ EXTENDED budget → Force TENTATIVE (max)
│
└─ Wave planning conflicts:
├─ Same failure domain → Sequential waves
├─ Topological violation → Push to later wave
└─ No conflicts → Parallel assignment
Task specification confidence:
├─ >= 0.8 → Create concrete node, proceed to skill matching
├─ 0.5-0.8 → Check dependencies
│ ├─ Depends on earlier results → Vague node (TENTATIVE)
│ └─ Independent → Concrete node
├─ 0.2-0.5 → Vague node (TENTATIVE)
└─ < 0.2 → Vague node (EXPLORATORY)
Multiple skills match at Step 3:
├─ Pattern recognition confidence >= 0.8?
│ ├─ YES → Use recognized skill (fast path)
│ └─ NO → Proceed to Thompson sampling
│
Thompson sampling tie (within 0.05):
├─ Check domain expertise weighting
├─ Prefer skill with lower cascade depth impact
└─ If still tied, prefer skill with higher success rate
Symptoms: Decomposition produces >15 nodes for simple problems, excessive nesting depth >4 levels Diagnosis: P×C stopping rule threshold too low, domain meta-skill overly granular Fix: Increase threshold by 0.05, validate leaf nodes are single-skill achievable
Symptoms: All nodes assigned COMMITTED level, no vague nodes despite uncertain dependencies Detection Rule: If commitment_distribution shows >80% COMMITTED in problems with future unknowns Fix: Force TENTATIVE for nodes depending on >2 other nodes, create vague nodes for uncertain work
Symptoms: Single node failure cascades to >6 downstream nodes, wave planning serial despite parallel potential Diagnosis: Failure domains not properly identified, excessive coupling in decomposition Fix: Split high-cascade nodes into smaller units, identify shared dependencies as separate failure domains
Symptoms: Nodes assigned skills whose output schemas don't cover all required fields Detection Rule: If skill.output_schema missing >20% of node's required outputs Fix: Split node into multiple concrete nodes, or create vague node for unmatched portion
Symptoms: Circular wave dependencies, nodes with no valid wave assignment Diagnosis: DAG has cycles or failure domain constraints over-restrict scheduling Fix: Break cycles by splitting nodes, relax failure domain isolation for low-risk shared dependencies
Input: "Refactor UserService class using dependency injection" Domain: software-engineering, Budget: STANDARD
Pass 1 Decisions:
meta-software-engineering → suggests functional decompositionPass 2 Decisions:
code-review skill (Step 4: pattern recognized, conf 0.85)refactoring-surgeon skill (Step 3: domain match first)Pass 3 Decisions:
Scenario: Node 3 from Example 1 gets resolved after Wave 0 completes Wave 0 Results: Analysis reveals 3 distinct refactoring areas
Resolution Process:
Original vague node: "Apply refactoring based on analysis"
↓
Split into:
- Node 3a: "Refactor constructor injection" (concrete, `refactoring-surgeon`)
- Node 3b: "Update service interfaces" (concrete, `interface-designer`)
- Node 3c: "Add configuration validation" (vague, needs interface design first)
Wave Planning Update:
Problem: Node assigned test-writer but needs integration testing, not unit testing
Detection: Post-assignment validation catches output schema mismatch
Recovery Process:
test-writer outputs unit test files, node needs integration test suitefullstack-debuggerDo NOT use this skill for:
windags-sensemaker insteadwindags-architect insteadwindags-avatar insteadwindags-evaluator insteadwindags-executor insteadDelegation Rules:
windags-sensemakerwindags-architect then windags-executorwindags-executorwindags-avatarWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
windags, decomposition, task-planning, dag-construction, wave-planning
23 skills in this plugin
/ai-engineerBuild production-ready LLM applications, advanced RAG systems, and intelligent agents. Implements vector search, multimodal AI, agent orchestration, and enterprise AI integrations. Use PROACTIVELY for LLM features, chatbots, AI agents, or AI-powered applications./apa-formattingFormat, repair, and audit APA Style seventh-edition papers, author-date citations, and reference lists. Use for APA student or professional manuscripts, quotations, missing reference metadata, DOI handling, and APA generative-AI attribution. NOT for MLA or Chicago formatting, general prose editing, finding evidence for unsupported claims, or certifying rendered layout from plain text./api-architect/windags-skills:windags-decomposerfrom windags-skills
npx claudepluginhub curiositech/windags-skills --plugin windags-skillsOther plugins' skills for the same job