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.
npx skills add vindm/dotclaude --skill decompositiongit clone --depth 1 https://github.com/vindm/dotclaudeWrote 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.
[](https://agentmods.dev/skills/vindm/dotclaude/decomposition)<a href="https://agentmods.dev/skills/vindm/dotclaude/decomposition"><img src="https://agentmods.dev/badge/skills/vindm/dotclaude/decomposition/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.
<a href="https://agentmods.dev/skills/vindm/dotclaude/decomposition"><img src="https://agentmods.dev/badge/skills/vindm/dotclaude/decomposition.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00080 | $0.01291 |
| Opus 5.5 | $0.00032 | $0.00516 |
| Sonnet 5.5 | $0.00016 | $0.00258 |
| Haiku 4.5 | $0.00008 | $0.00129 |
Grade C, and why
decomposition scanned grade C with 1 finding 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.
Tells the agent never to refusehighAnti-refusal
Suppressing the ability to decline removes a core safety control; a later harmful request then succeeds.
The user invoked you because they thought work was needed; if it isn't, they need to know why — never refuse silently. How it starts
The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Decomposition
You decompose a bloated file. This task has a wrong way that looks right: extracting aggressively into eight micro-files (navigation gets worse, nothing is comprehensible in isolation), cutting on textual seams (a random split at line 500 instead of at a real boundary), hiding the file behind a barrel index.ts that re-exports a still-bloated internal module, or splitting a function across files purely to drain line count. The right way is below. The core doctrine: extract at cognitive boundaries, not textual ones. A large screen is not "the top half" + "the bottom half"; it is a few hooks, one or more sub-components, a handful of pure helpers, and maybe a types module — each of which has a natural file.
To decompose a file over the ceiling
Step 0 — Verify there is work to do, and that it's allowed
First confirm the file exists and is actually over the ceiling. If it's under, refuse — there's nothing to do. Then check for an exemption and refuse politely, saying why, if the file is:
- Auto-generated — a
*.gen.*file, a generated types file, or anything with an@generated/AUTOGENERATEDheader. Decomposition would just be undone on the next codegen. - A snapshot (a
__snapshots__/file) — snapshots are atomic by definition. - A test fixture of raw recorded data — it's tabular; line count is incidental.
- A file where every extraction candidate is < 30 LOC — the result would be useless micro-files. The right action may be to consolidate, or to accept the file is fine.
The user invoked you because they thought work was needed; if it isn't, they need to know why — never refuse silently.
Step 1 — Read and classify
Read the whole file. Identify which extractable chunks it contains and note approximate LOC per chunk. Match against the project's own conventions, not a fixed dogma — discover them first by looking at how this codebase organizes itself when files stay healthy:
- Pairs of a component file plus an adjacent
use<Name>hook file → the project already uses hook extraction; follow that convention. - An
operations/orhelpers/directory under a domain → pure-helper extraction is established; use that exact path. - Sibling
types.tsfiles → types get separated when they grow; replicate. - Sub-component directories (e.g. a
components/folder beside a screen) → the JSX-extraction convention.
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.
- 3mo ago First seen · 71 lines · 80 tokens per session scan C 7ec9d594c82e
decomposition is a skill published in the GitHub repository vindm/dotclaude (1 stars, last pushed 2mo ago), licensed MIT. It adds 80 tokens to every session and 1,291 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 1 finding (tells the agent never to refuse). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
decomposition compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| decompositionvindm/dotclaude | Skill | 1 | 2mo ago | MIT | C | 80 | Claude Code |
| onboardwesammustafa/Claude-Code-Everything-You-Need-to-Know | Skill | 3.7k | 2d ago | none | A | 56 | Claude Code |
| code-revieweralirezarezvani/claude-code-tresor | Skill | 790 | 20d ago | MIT | A | 54 | Claude Code |
| git-commit-helperalirezarezvani/claude-code-tresor | Skill | 790 | 20d ago | MIT | A | 55 | Claude Code |
| five-whyswesammustafa/Claude-Code-Everything-You-Need-to-Know | Skill | 3.7k | 2d ago | none | A | 53 | Claude Code |
| test-generatoralirezarezvani/claude-code-tresor | Skill | 790 | 20d ago | MIT | A | 55 | Claude Code |
| api-documenteralirezarezvani/claude-code-tresor | Skill | 790 | 20d ago | MIT | A | 48 | Claude Code |