decompose
Skill7 starsChanged 3 months agoMITView on GitHub
Break a problem into smaller pieces — subsystems that are easier to think about — and show how they relate. Works on the current conversation by default, or on a focus passed after the command. Invoke via /decompose.
15 other projects use a version of this.
Adopted by
Most recently taken up by
- chippingway/chipping-orchestratortheir own version, first seen Oct 4, 2026
- TserenTserenov/FMT-exocortex-templatetheir own version, first seen Oct 1, 2026
- stormlightlabs/thunderustheir own version, first seen Sep 19, 2026
- miztertea/sergeant-rstheir own version, first seen Aug 25, 2026
- flpbalada/fb-skillstheir own version, first seen Aug 3, 2026
- jamillazarev/opsinisttheir own version, first seen Jul 31, 2026
Used with
Projects with it also use review and implement.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.Other versions15 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 15
- TserenTserenov/FMT-exocortex-template★ 62same name
- drafthq/draft★ 40same name
- jesgarram/arete★ 40same name
- chippingway/chipping-orchestrator★ 16same name
- vulca-org/vulca-visual-control-sdk★ 16same name
- matt-k-wong/mkw-DAG-architect★ 15same name
- teklabsdigital/x2-method★ 15same name
- tercel/spec-forge★ 10same name
- flpbalada/fb-skills★ 8same name
- HartreeWorks/research-skills★ 4same name
5 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository51 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/optimize-permissions/references/agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- acid-tripSkill
- audit-aws-costsSkill
- audit-memoriesSkill
- broSkill
- clean-ai-slopSkill
- cleanup-computerSkill
- code-tourSkill
- copywritingSkill
- eli5Skill
- find-docsSkill
- gemini-deep-researchSkill
- investigate-repoSkill
- laconicSkill
- loose-endsSkill
- memory-insightsSkill
- nano-banana-generatorSkill
- optimize-permissionsSkill
- optimize-skill-activationSkill
- projectSkill
- prSkill
- quality-chaos-monkeySkill
- quality-cli-agent-friendly-auditSkill
- quality-dead-code-analyzerSkill
- quality-docs-updateSkill
- quality-perf-reviewSkill
- quality-project-healthSkill
- quality-worktree-setupSkill
- record-gifSkill
- reflect-on-conversationSkill
- review-codeSkill
- safety-dotenv-guardSkill
- safety-git-reset-guardSkill
- safety-op-credsSkill
- safety-rm-rf-guardSkill
- security-bumblebeeSkill
- security-gitleaksSkill
- security-openssfSkill
- security-scfwSkill
- security-snykSkill
- security-socketSkill
- ste100Skill
- storage-cleanupSkill
- testSkill
- transcribe-youtubeSkill
- travel-photo-stampSkill
- trip-plannerSkill
- zoomSkill
- __SKILL_NAME__Skill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 7 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 34
Grounded: When the problem involves code, cite file:line to anchor a piece to where it lives.
- Distinctive: line 38
Start with a single-line header:
- Distinctive: line 62
Don't fabricate pieces to pad out the list.
- Distinctive: line 63
Don't propose code changes or make edits.
- Distinctive: line 64
Don't write a file artifact.
- Distinctive: line 65
If the problem is already small enough to think about whole, say so directly and name the next move.
- Distinctive: line 66
Don't lecture or restate what the user already plainly knows.
- Distinctive: line 70
Follow-ups are normal conversation.
“Common” is measured: kept by at least 6 in 10 of the 13 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Decompose
Break a problem into smaller pieces — subsystems that are easier to think about one at a time — and show how the pieces relate.
Usage: /decompose [focus]
Examples:
/decompose— decompose whatever's currently being worked on in the conversation/decompose "the cache invalidation logic"— focus on a specific named piece/decompose how should the new ingest pipeline be structured— decompose a stated problem
Input
Raw input: $ARGUMENTS
- Empty → decompose the active problem from the recent conversation turns.
- Anything else → use it as the focus. Still draw on the broader conversation for context.
What makes a good decomposition
The user wants the problem broken into subsystems they can reason about independently. Aim for:
- 3–7 pieces. Fewer means you haven't decomposed; more means you're listing tasks, not subsystems.
- Each piece independently thinkable. A reader should be able to hold one piece in their head and reason about it without simultaneously tracking the others.
- Named, with a one-line description. The name is a handle; the description says what the piece is responsible for.
- Real seams. Cut along boundaries that actually exist in the problem — data transformations, ownership boundaries, decisions that constrain other decisions — not arbitrary thirds.
- Grounded. When the problem involves code, cite
file:lineto anchor a piece to where it lives.
Output format
Start with a single-line header:
**Decompose ▸ <focus>**
Then, in order:
- One-line restatement of the problem in plain language. If the user's framing is already clear, paraphrase briefly — don't parrot.
- Pieces — a numbered list. Each entry: a bold name, a dash, a one-line description of what the piece covers or is responsible for.
Map — a small ASCII diagram of the pieces as nodes and their dependencies as arrows, when it clarifies the shape. Label each node with the piece's number and name so it cross-references the list above; optionally label an arrow with what flows across it (data, control, a constraint). Keep it compact. For example:
1. Ingest ──raw──▶ 2. Parser ──▶ 4. Store │ └──▶ 3. Schema (constrains 2)Skip the diagram — or collapse it to a one-line chain like
1 → 2 → 3— when the structure is a trivial straight line or there are only two or three pieces. A box-and-arrow drawing of a linear pipeline is noise. Never invent edges to make the picture look busier than the problem actually is.- How they connect — a short bullet list of the relationships the diagram can't carry on its own: what the critical path is, which pieces are independent and can be thought about (or deferred) separately, and which single piece constrains the others most.
What NOT to do
- Don't fabricate pieces to pad out the list. If the problem genuinely has two parts, list two.
- Don't propose code changes or make edits. This is a thinking tool — if a code edit is the obvious next move, say so, but don't do it.
- Don't write a file artifact. Chat only, unless the user explicitly asks.
- If the problem is already small enough to think about whole, say so directly and name the next move. False structure is worse than no structure.
- Don't lecture or restate what the user already plainly knows.
Follow-ups
Follow-ups are normal conversation. If the user asks about one of the pieces, just discuss it — or decompose it further in the same format if that's what they ask for. No special syntax.
Tone
Concise. Concrete. The user wants a clearer map of the problem, not a textbook. When a piece is genuinely murky to you too, say so plainly — sometimes the decomposition's value is revealing which piece needs investigation first.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

