decompose

decompose is a skill for Claude Code from rnixai/rnix. It costs 49 tokens per session (724 once invoked), scanned A, original, MIT.

A skill for breaking a broad goal into smaller tasks arranged by their dependencies, so tasks can be reviewed and completed in a sensible order.

In plain words
What is it for?
Use it to split projects into executable subtasks, confirm the plan, track progress, and update the task structure when requirements change.
Why use it?
It turns a vague or complex request into a concrete work plan and shows which tasks can wait or run in parallel.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to split projects into executable subtasks, confirm the plan, track progress, and update the task structure when requirements change.

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

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 decompose

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rnixai/rnix/decompose"><img src="https://agentmods.dev/badge/skills/rnixai/rnix/decompose.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 724 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.00049 $0.00724
Opus 5.5 $0.00020 $0.00290
Sonnet 5.5 $0.00010 $0.00145
Haiku 4.5 $0.00005 $0.00072

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

Security

Grade A, and why

decompose 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 1mo 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.

lib/skills/decompose/SKILL.md · 57 lines

What it actually says

Intent Decompose

使用场景

当用户给出一个高层目标或复杂意图时,使用此技能将其分解为结构化的子任务 DAG(有向无环图)。

分解规则

将高层意图分解为具体子任务时,遵循以下原则:

  1. 每个子任务用 JSON 对象表示,包含 id(短标识符)、intent(具体任务描述)、depends_on(依赖的子任务 id 列表,无依赖则为空数组)
  2. 子任务粒度适中——每个子任务应能由单个智能体独立完成
  3. 正确声明依赖关系——有数据流依赖的任务必须声明 depends_on
  4. 返回纯 JSON 数组,不要包含其他文本

示例分解结果:

[
  {"id": "design", "intent": "设计数据模型和 API 接口", "depends_on": []},
  {"id": "backend", "intent": "实现后端 API 服务", "depends_on": ["design"]},
  {"id": "frontend", "intent": "实现前端界面", "depends_on": ["design"]},
  {"id": "test", "intent": "编写集成测试", "depends_on": ["backend", "frontend"]}
]

增量更新规则

当需要在已有意图树上增量更新时:

  1. 分析新需求与现有子任务的关系
  2. 返回合并后的完整子任务列表(包括已有的和新增的)
  3. 已有子任务保持原 id 不变;新增子任务用新 id
  4. 如果新需求修改了已有子任务的目标,更新其 intent 字段
  5. 正确声明 depends_on 依赖关系

工作流程

意图从分解到完成遵循五阶段生命周期,每阶段关注"做什么 / 判断什么":

  1. 分解 — 将高层意图拆解为子任务 DAG,明确每个子任务的 id、intent 与 depends_on 依赖(遵循上方《分解规则》)。
  2. 审查 — 检查分解结果:子任务粒度是否适中、依赖关系是否完整且无环、是否覆盖原始意图的全部目标。
  3. 确认 — 在执行前批准该计划;确认即冻结当前 DAG 结构,进入执行阶段。
  4. 执行 — 按依赖拓扑顺序推进子任务:依赖已满足的节点可并行执行,未满足的等待其上游完成。
  5. 监控 — 跟踪各子任务的执行进度与状态,识别失败或漂移;失败节点会级联标记其下游依赖,必要时回到分解阶段做增量更新(见上方《增量更新规则》)。
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. 1mo ago First seen · 57 lines · 49 tokens per session scan A 455536ba7ef9

Subscribe to this mod's changes

decompose is a skill published in the GitHub repository rnixai/rnix (5 stars, last pushed 2mo ago), licensed MIT. It adds 49 tokens to every session and 724 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

Other skills, from other repositories

drug-design

End-to-end drug discovery pipeline orchestration. Deterministic Python script that auto-chains structure prediction, pocket detection, de novo design, docking, scoring, and ADMET filtering into reproducible workflows.

synthetic-sciences/openscience · 44 tokens

lx

Codebase exploration tool that reads many files or whole directories in a single call, with per-file headers, glob include/exclude filters, function/type skeleton extraction (signatures only, no bodies), and head/tail line slicing.

rasros/lx · 48 tokens

whatsapp

Query WhatsApp chats, messages, contacts, groups. Send, forward, react. Use when the user asks about their WhatsApp messages, wants to search history, send messages, or manage chats.

eddmann/whatsapp-cli · 43 tokens

clinicaltrials-database

Query ClinicalTrials.gov via API v2. Search trials by condition, drug, location, status, or phase. Retrieve trial details by NCT ID, export data, for clinical research and patient matching.

synthetic-sciences/openscience · 47 tokens

openalex-database

Query and analyze scholarly literature using the OpenAlex database. This skill should be used when searching for academic papers, analyzing research trends, finding works by authors or institutions, tracking citations, discovering open access publications, or conducting bibliometric analysis across 240M+ scholarly…

synthetic-sciences/openscience · 76 tokens

glycoengineering

Analyze and engineer protein glycosylation. Scan sequences for N-glycosylation sequons (N-X-S/T), predict O-glycosylation hotspots, and access curated glycoengineering tools (NetOGlyc, GlycoShield, GlycoWorkbench). For glycoprotein engineering, therapeutic antibody optimization, and vaccine design.

synthetic-sciences/openscience · 75 tokens