From reducing-entropy
Minimizes total codebase size by biasing toward deletions and measuring net code reduction, ignoring effort or churn. Manual invocation via /reducing-entropy.
npx claudepluginhub softaworks/agent-toolkit --plugin reducing-entropyThis skill uses the workspace's default tool permissions.
More code begets more code. Entropy accumulates. This skill biases toward the smallest possible codebase.
Simplifies complex/AI-generated code by removing duplication, dead code, over-engineering, and bloat patterns like verbose error handling. Use after features, on long functions (>40 lines), deep nesting (>3), or repeated patterns.
Cleans internal code by removing dead fields, redundant wrappers, speculative abstractions, duplication, and ceremony while editing nearby files. For local hygiene without breaking public APIs.
Analyzes existing code for complexity sources like nesting and duplication, then proposes simplifications via extraction, flattening, decoupling, and removal. Use for refactoring, readability improvements, cleanup, and technical debt reduction.
Share bugs, ideas, or general feedback.
More code begets more code. Entropy accumulates. This skill biases toward the smallest possible codebase.
Core question: "What does the codebase look like after?"
Load at least one mindset from references/
Do not proceed until you've done this.
The goal is less total code in the final codebase - not less code to write right now.
Measure the end state, not the effort.
Not "what's the smallest change" - what's the smallest result.
Count lines before and after. If after > before, reject it.
Every change is an opportunity to delete. Ask:
See references/ for philosophical grounding.
To add new mindsets, see adding-reference-mindsets.md.
Bias toward deletion. Measure the end state.