# Decompose

Source: https://aunysillyme.dev/projects/decompose/

Break a task into the smallest checkable units and see which ones can run in parallel.

[npm](https://www.npmjs.com/package/aunx-decompose) [Docs](https://aunysillyme.dev/projects/decompose/docs/)

v0.3.0 · Python 3.8+ · Standard library · No API keys · MIT licensed

`npx aunx-decompose install`

[Star on GitHub](https://github.com/aunysillyme-dev/aunx-decompose)

## What this does

![aunx-decompose trailer: break a task into the smallest checkable units and parallel waves](https://aunysillyme.dev/projects/decompose/assets/trailer.gif)

## Get started

Install for your agent.

1. ### Choose your agent

   One repository, one skill, a wrapper for each agent.
2. ### Install the skill or plugin

   Use the installer or the native commands below.
3. ### Check a plan

   Use the standard-library Python helper to validate a unit map before dispatch.

```
npx aunx-decompose install

npx aunx-decompose install --agent codex

npx aunx-decompose install --agent all
```

Skill-only installs default to Claude Code. Repeat --agent to select several.

[All install options and skills.sh](https://aunysillyme.dev/projects/decompose/docs/install/) **Install commands by agent**

| Agent | Install |
| --- | --- |
| Claude Code | `claude plugin marketplace add aunysillyme-dev/aunx-skills` then `claude plugin install aunx-decompose@aunx` |
| Codex CLI | `codex plugin marketplace add aunysillyme-dev/aunx-decompose` then `codex plugin add aunx-decompose@aunx-decompose` |
| Gemini CLI | `gemini extensions install https://github.com/aunysillyme-dev/aunx-decompose` |
| GitHub Copilot CLI | `copilot plugin install aunysillyme-dev/aunx-decompose` |
| Cursor | `cursor-agent plugin marketplace add https://github.com/aunysillyme-dev/aunx-decompose`, then install it from Customize, Plugins |
| OpenCode | `npx aunx-decompose install --agent opencode` |
| Qwen Code | `npx aunx-decompose install --agent qwen` |
| Hermes Agent | `hermes plugins install aunx-decompose` then `hermes plugins enable aunx-decompose`, [listed in the Hermes plugin catalog](https://hermes-agent.nousresearch.com/marketplace/aunx-decompose) |

### Check every clause

Tag units with the numbered parts of the request they cover. The checker flags uncovered clauses.

### Build parallel waves

Independent units share a wave. Every prerequisite finishes in an earlier wave.

### Catch overlapping writes

The checker flags write conflicts between units that can run at the same time.

## Docs and guides

- [Overview What aunx-decompose does, when to use unit maps versus simple step plans, and what its zero-dependency Python 3.8+ standard-library helper checks.](https://aunysillyme.dev/projects/decompose/docs/overview/)
- [How it works How Decompose extracts prompt clauses, builds minimal checkable units, computes real data-dependency waves, finds critical paths and gates big plans.](https://aunysillyme.dev/projects/decompose/docs/how-it-works/)
- [Install Install aunx-decompose for Claude Code, Codex, Gemini CLI, Cursor or Copilot CLI via npx aunx-decompose install, native plugin manifests or skills.sh.](https://aunysillyme.dev/projects/decompose/docs/install/)
- [Usage Worked JSON and CLI examples for validating unit maps, simple step plans, reusable task recipes and the bundled /decompose slash command wrapper.](https://aunysillyme.dev/projects/decompose/docs/usage/)
- [Checks and exit codes Reference for Decompose validation gates: clause coverage, DAG cycle detection, parallel write-path overlap checks, step kinds and CLI exit codes.](https://aunysillyme.dev/projects/decompose/docs/checks/)
- [Compatibility Agent compatibility matrix and CLI-tested packaging details for Claude Code, Codex, Gemini CLI, GitHub Copilot CLI, Cursor, OpenCode and Qwen Code.](https://aunysillyme.dev/projects/decompose/docs/compatibility/)
- [GIF walkthrough A silent 14-second tour of Decompose.](https://aunysillyme.dev/projects/decompose/assets/trailer.gif)
- **Which agents does it support?**

  Claude Code, Codex CLI, Gemini CLI, Cursor and GitHub Copilot CLI as a plugin or extension, and OpenCode and Qwen Code as a skill. Hermes Agent packaging is included, and it is [listed in the Hermes plugin catalog](https://hermes-agent.nousresearch.com/marketplace/aunx-decompose). Any other agent that reads SKILL.md files and can run Python 3.8 can use the skill too. The Claude Code, Codex CLI, Gemini CLI and Copilot CLI packages are installed and checked with each agent's own CLI. Cursor, OpenCode and Qwen Code follow each agent's published format.

  Cursor, OpenCode, Qwen Code and Hermes are not live-tested.
- **Common questions**

  **What does Decompose do?**

  It turns a task into small units with dependencies, checks the map, and prints the units grouped into parallel waves with a plan table, a critical path and clause coverage. It plans work and never runs it.**When does the advisor review fire?**

  When the map has more than 5 steps, 12 or more units, a nearly serial shape, or a unit read by 3 or more others. These are defaults you can tune.**Are the speed figures measured?**

  No. The critical path and serial estimate come from the minutes you put on each unit. The formulas in the picking reference are illustrative and meant to be calibrated against your own runs.**Does it send my tasks anywhere?**

  No. It makes no network requests and has no hooks or MCP servers. It writes only when you save a recipe.**What counts as a conflict between two steps?**

  Two steps that write to the same file, or to a parent and a child path. Paths are compared without regard to letter case or Unicode form. Decompose rejects the plan and names both steps, so you can merge them into one step.**How do I install it with npm or skills.sh?**

  Run `npx aunx-decompose install` to copy the skill to `~/.claude/skills/decompose`, add `--agent <name>` for Codex, Gemini CLI, Cursor, OpenCode, Copilot CLI or Qwen Code, or run `npx skills add aunysillyme-dev/aunx-skills --skill decompose` to install it from skills.sh into the agent you pick. All of them install the same skill as the plugin.**How is it different from plan mode or a to-do list?**

  Plan mode and to-do lists hold a plan. Decompose checks one: a script rejects cycles, false or missing data edges, clauses with no unit and overlapping writes, then computes the waves and the critical path from the units' own data.
- **From the ask to a checked plan**

  1. Split the ask into numbered clauses and tag every unit with the clauses it serves. A clause with no unit is flagged.
  2. Break the job into the smallest units, each with its own inputs, outputs and verifier. N similar items become N units.
  3. Give each unit one of 14 types (coding, reasoning, research, writing, four creative types, design, vision, review, data, agentic, cyber) and one of 3 speeds (fast, standard, frontier).
  4. Draw only real data edges: a unit depends on another only when it reads that unit's output. False and missing edges are rejected. Checks that can kill the plan run first.
  5. Build parallel waves, count how many units read each output, and raise importance with that count.
  6. Choose a dispatch shape per group: one call per unit, an agent's own subagents, a bulk prompt fan-out, an agent fan-out, or split worktrees for disjoint writes. The thresholds are tunable defaults.
  7. Send big or serial maps to an advisor review before any picks, and apply its patch (split, cut edges, re-tier, change the shape or the needs) all or nothing.
  8. Pick a model and a machine per unit with a written method: type first, then speed, family spread within a wave, context as a scored key, effort set apart from tier, and the smallest machine that fits.
  9. Print one plan table with the waves, the critical path and clause coverage.

  [Clauses, units, waves and the advisor gate](https://aunysillyme.dev/projects/decompose/docs/how-it-works/)

## Evidence you can inspect

**14**

Unit types, including coding, reasoning, research, writing, design, vision, review, data, agentic, cyber and four creative types

**3**

Speed tiers for unit picksFast, standard and frontier

**Python 3.8+**

Standard-library plan checkerChecks clause coverage, dependency cycles and overlapping writes.

The checker needs no API keys or Python packages. Critical path and serial estimates use the minutes you put on each unit. The picking formulas are illustrative.

[Checks and exit codes](https://aunysillyme.dev/projects/decompose/docs/checks/)

## Releases

Version history and release notes for aunx-decompose on npm and GitHub, tracking schema checks, agent plugin manifests and validator improvements.

[npm latest 0.3.0 ↗](https://www.npmjs.com/package/aunx-decompose)

### Version history

- [`v0.3.0`](https://github.com/aunysillyme-dev/aunx-decompose/releases/tag/v0.3.0) · 10 Nov 2026

[Full version history](https://aunysillyme.dev/projects/decompose/versions/)

[Full changelog](https://aunysillyme.dev/projects/decompose/docs/changelog/) [File an issue](https://github.com/aunysillyme-dev/aunx-decompose/issues/new/choose) [AunySillyMe](https://aunysillyme.dev/) [View on GitHub](https://github.com/aunysillyme-dev/aunx-decompose) [b46c48d](https://github.com/aunysillyme-dev/aunx-decompose/commit/b46c48d5e00610aab09ae2f611b65ed718be8413)
