distributions/claude/skills/recursive-boil-down/SKILL.md
Decompose a system, repository, or architecture into four tiers — Macro (whole system), Bricks (components), Elements (conceptual primitives), Primitives (base operations) — reading target source plus its seed.yaml, then output a comparison table of the new system against existing substrates to expose reuse and overlap before anything new is built. Triggers on "boil down", "decompose into primitives", "recursive boil-down", or analyzing a new repo/architecture against what already exists.
npx skillsauth add organvm-iv-taxis/a-i--skills recursive-boil-downInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Strip a system down to what it is made of, tier by tier, until it can be compared honestly against everything that already exists — so the verdict "build new" is earned rather than assumed.
Delegated agents reinvent existing tools because they meet a system at its surface (the Macro tier) where everything looks unique. Two systems that look unrelated at the surface usually share most of their Elements and nearly all of their Primitives. Decomposing before building converts "this is new" into a precise statement of which tier is actually new — and routes everything below that tier to reuse.
| Tier | Question | Granularity | Example (a prompt-registry system) | |------|----------|-------------|-----------------------------------| | Macro | What is the whole thing for? | 1 system | "durable registry of every prompt issued across sessions" | | Bricks | What components compose it? | 3–12 components | capture hook, session parser, index generator, archive store | | Elements | What concepts do the bricks manipulate? | 5–20 concepts | session, prompt-atom, capture-event, index-entry, archive-path | | Primitives | What base operations recur beneath the concepts? | small closed set | append-only write, content-hash dedupe, frontmatter parse, glob-walk, ID-mint |
Decomposition is recursive: any Brick too large to state in one sentence gets its own four-tier pass.
seed.yaml (or the repo's manifest/charter equivalent) read-only — it declares what the system believes itself to be.For each existing substrate in scope (sibling repos, platform services, prior systems), compare per tier:
| Tier | New system | Substrate A | Substrate B | Verdict |
|------|-----------|-------------|-------------|---------|
| Macro | prompt registry | session archive | atom pipeline | distinct |
| Bricks | capture hook | ✅ has (PostToolUse) | ❌ | reuse A's |
| Elements | prompt-atom | ≈ message-atom | ✅ identical | absorb into B |
| Primitives | ID-mint | ✅ | ✅ | reuse, never re-mint |
Cell vocabulary: ✅ identical / ≈ overlapping (name the delta) / ❌ absent.
The highest tier with genuine novelty determines the build posture:
State the verdict explicitly with the tier that justifies it. Commit the decomposition + table as an artifact; it is the evidence the build decision cites.
development
Dry-run audit + targeted cleanup for shell command history. Currently wraps atuin (stats today, prune, dedup with dated preview artifacts); extensible to zsh/bash/mcfly backends. Always previews before applying — apply commands are echoed for the human to run, never auto-executed. Triggers on "/shell-history-hygiene", "audit atuin", "audit shell history", "clean shell history", "atuin prune", "atuin dedup", "shell history hygiene", "history cleanup". Replaces ad-hoc one-liners (e.g. `... | tee cmd > file.txt` which wrote two files, swallowed dedup output, and left a junk `cmd` file).
tools
Guided Cowork setup — install role-matched plugins, connect your tools, try a skill.
development
Manage AI agent session lifecycles with structured phases (FRAME, SHAPE, BUILD, PROVE), context preservation across sessions, handoff protocols, and session metadata tracking. Triggers on session management, agent lifecycle, or multi-session workflow requests.
tools
Parse a session transcript into a structured Session Governance Index — an annotated bibliography of every file modified and commit made, internal-energy accounting (tool uses, estimated tokens), shipped-vs-tasked atom tally, and classification of missing items as Gaps or Vacuums. Triggers on "visibility-schema-substrate-sweep", "session cascade audit", "session governance audit", or any request to summarize what a session actually produced versus what it was asked to produce.