reducing-entropy
Minimize total codebase size through ruthless simplification. Measure success by final code amount, not effort. Bias toward deletion.
Why use this skill?
Master code minimalism with the Reducing Entropy skill. Minimize total codebase size, remove tech debt, and optimize your project with an aggressive, simplified development mindset.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/wpank/reducing-entropyWhat This Skill Does
The Reducing Entropy skill provides an aggressive, minimalist framework for managing software complexity. Rather than optimizing for development speed or abstract architectural perfection, this skill treats every byte of source code as a liability. It forces an evaluation of all tasks based on the net reduction of the total codebase. By utilizing a 'delete-first' mentality, this skill helps developers identify bloated modules, premature abstractions, and redundant logic that accumulates in aging projects. It operates on the core belief that code is expensive to maintain, and the most successful change is often the one that results in the fewest lines of code remaining in the final repository.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/wpank/reducing-entropy
Use Cases
- Refactoring Debt: When you identify legacy modules that are overly verbose or rely on convoluted, unused abstractions.
- Feature Implementation: When building new functionality, use this to ensure the solution is the absolute simplest version, rather than the most 'future-proof' or extensible one.
- PR Reviewing: Use this as a checklist to challenge incoming code changes that add excessive boilerplate or complex structures where simple procedural code would suffice.
- Project Cleanup: During maintenance phases, identify obsolete configurations or redundant helper functions that can be safely removed to tighten the codebase.
Example Prompts
- "Analyze the current login module. I want to replace the custom state manager with a simpler native approach. How much code can we delete by making this switch?"
- "Review this PR and tell me if the new feature violates the principle of minimal codebase size. Are there simpler ways to implement this without adding these extra abstractions?"
- "Our utility library has grown too large. Run a scan and identify 5-10 functions that are no longer strictly necessary or could be replaced by standard library calls to reduce the total line count."
Tips & Limitations
- Mindset Over Method: This skill is strictly opinionated. It is not designed for environments that require extreme extensibility or enterprise-grade abstraction patterns. Use it where simplicity is the primary business driver.
- Measure, Don't Guess: Always compare line counts before and after changes. If a change increases the line count, it must provide an incredibly high value to justify the added entropy.
- Resist Premature Abstraction: A common pitfall is writing code for 'what might happen.' Only write code for what is currently required. If it isn't used today, delete it.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-wpank-reducing-entropy": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, file-write, code-execution
Related Skills
mermaid-diagrams
Create software diagrams using Mermaid syntax. Use when users need to create, visualize, or document software through diagrams including class diagrams, sequence diagrams, flowcharts, ERDs, C4 architecture diagrams, state diagrams, git graphs, and other diagram types. Triggers include requests to diagram, visualize, model, map out, or show the flow of a system.
api-design-principles
Skill by wpank
auto-context
Automatically read relevant context before major actions. Loads TODO.md, roadmap.md, handoffs, task plans, and other project context files so the AI operates with full situational awareness. Use when starting a task, implementing a feature, refactoring, debugging, planning, or resuming a session.
clear-writing
Write clear, concise prose for humans — documentation, READMEs, API docs, commit messages, error messages, UI text, reports, and explanations. Combines Strunk's rules for clearer prose with technical documentation patterns, structure templates, and review checklists.
track-performance
Track the performance of Uniswap LP positions over time — check which positions need attention, are out of range, or have uncollected fees. Use when the user asks how their positions are doing.