Borrowing it
Nothing to install: this file belongs to dancing-bear-show/dancing-bear. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/dancing-bear-show/dancing-bear/main/.claude/skills/improve-decompose-sweep/SKILL.mdgit clone --depth 1 https://github.com/dancing-bear-show/dancing-bearWrote 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/dancing-bear-show/dancing-bear/improve-decompose-sweep)<a href="https://agentmods.dev/skills/dancing-bear-show/dancing-bear/improve-decompose-sweep"><img src="https://agentmods.dev/badge/skills/dancing-bear-show/dancing-bear/improve-decompose-sweep/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/dancing-bear-show/dancing-bear/improve-decompose-sweep"><img src="https://agentmods.dev/badge/skills/dancing-bear-show/dancing-bear/improve-decompose-sweep.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.00056 | $0.01320 |
| Opus 5.5 | $0.00022 | $0.00528 |
| Sonnet 5.5 | $0.00011 | $0.00264 |
| Haiku 4.5 | $0.00006 | $0.00132 |
Grade A, and why
improve-decompose-sweep 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 142 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Improve Decompose Sweep
Post-run calibration for workflows/code/decompose-sweep.yaml. Reads run telemetry, identifies patterns, proposes and applies data-backed changes, then validates and logs the calibration.
When to Use
- After a
decompose-sweepworkflow run completes - User says "improve decompose", "calibrate decompose", or "decompose retrospective"
- Recurring calibration pass (monthly, or after 3+ runs)
Step 1: Collect Telemetry
Run telemetry files land in the workflow's workspace_dir. The workflow engine resolves {work_dir} to <cwd>/out/ (see src/workflow/cli.py), so sweep runs write to:
out/decompose-sweep/run-metrics.json
out/decompose-sweep/run-<timestamp>/run-metrics.json
# Find all sweep run telemetry files
find out/decompose-sweep -name "run-metrics.json" | sort
# Read the most recent
find out/decompose-sweep -name "run-metrics.json" | sort | tail -1 | xargs cat
Fallback — if no telemetry files exist (e.g., run was aborted, workspace cleaned), parse agent summary messages from conversation context and note the source in the calibration log entry.
Step 2: Analyze Patterns
From the collected metrics, compute:
Defer rate by reason How often each defer heuristic triggered. High rates indicate a threshold is too aggressive.
| Reason | Count | % of candidates |
|---|---|---|
| file_not_large_enough | N | N% |
| has_open_pr | N | N% |
| recently_modified | N | N% |
| imports_too_tangled | N | N% |
Overshoot rate
Files that were split but output modules still exceed the target line count. Indicates the plan-splits stage is over-estimating how cleanly a file divides.
Test failure domains Which domains produced failing tests post-split. Cluster by root cause:
- Import errors (re-export facade incomplete)
- Missing shared fixtures (not extracted to shared submodule)
- Circular dependencies introduced
Strategy accuracy
| Strategy | Used | Met target | Avg lines saved | Avg output max |
|---|---|---|---|---|
| extract-submodules | N | N% | N | N |
| extract-package | N | N% | N | N |
| split-tests-by-class | N | N% | N | N |
| extract-helpers | N | N% | N | N |
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.
- yesterday First seen · 142 lines · 56 tokens per session scan A 179892e8a282
improve-decompose-sweep is a skill published in the GitHub repository dancing-bear-show/dancing-bear (7 stars, last pushed yesterday), licensed MIT. It adds 56 tokens to every session and 1,320 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-11-07.
improve-decompose-sweep compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| improve-decompose-sweepdancing-bear-show/dancing-bear | Skill | 7 | yesterday | MIT | A | 56 | Claude Code |
| gogolafkfreund/nixos_config | Skill | 32 | yesterday | GPL-3.0 | A | 125 | Claude Code, Codex |
| google-workspace-authbobmatnyc/claude-mpm | Skill | 158 | 2mo ago | none | A | 22 | Claude Code |
| outlook-mcpmpalermiti/outlook-mcp | Skill | 41 | 2d ago | MIT | A | 96 | Claude Code, Codex |
| olkrlrghb/olkcli | Skill | 23 | 14d ago | MIT | A | 28 | Claude Code, Codex |
| ghealthGoogle-Health-API/google-health-cli | Skill | 281 | 4mo ago | Apache-2.0 | A | 41 | Claude Code, Codex |
| ghealth-sharedGoogle-Health-API/google-health-cli | Skill | 281 | 4mo ago | Apache-2.0 | A | 22 | Claude Code, Codex |