Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

reducing-entropy — Claude Code skill: what it does, how to install

A skill that measures success by the size of the codebase afterwards, not by the effort spent. It runs only when you ask, and it deletes.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add softaworks/agent-toolkit --skill reducing-entropy -a claude-code
Open on GitHub

What reducing-entropy does

The skill fires only when you call it by name. Success is the amount of code left at the end, not the work that went into getting there: 50 lines that remove 200 count as a win, keeping 14 functions to avoid writing 2 does not.

Before touching anything it loads one mindset from references/: lists the files, reads the frontmatter descriptions, picks one and states its core principle. Without that step it does not proceed. If the installed copy ships without the directory, the first step has nowhere to go, so check what the skill actually contains right after install.

Then come three questions. What is the smallest result that solves the problem? Does the change leave less total code, counted before and after? What can be deleted? The skill lists its own red flags: keeping what exists, adding flexibility, cleaner separation of concerns, type safety. It also says where it does not apply, such as a codebase already minimal, a framework with strong conventions, or a structure that compliance requires.

What it helps with

  • delete a feature instead of wrapping it in flags
  • count lines before and after a change and reject the version that grows
  • find the code that a replacement made obsolete
  • stop a refactor that adds files in the name of better structure
  • collapse 14 functions into 2

Example prompts for the agent

  • Run the reducing-entropy skill on `billing` and tell me what can be deleted
  • Use reducing-entropy on this change: count the lines before and after
  • Apply reducing-entropy here, drop the feature entirely if the codebase gets smaller

How to install reducing-entropy

1Skills CLI (Vercel)

npx skills add softaworks/agent-toolkit --skill reducing-entropy -a claude-code

2Manually: put the files in place

~/.claude/skills/reducing-entropy/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/reducing-entropy/

From the same set3

The whole set →

Similar

autopilot nick-vels Turns a dictated idea into a finished app, site, bot or feature in one dialogue: requirements, spec, tickets, subagents and blind acceptance, no per-stage approval. Claude Code CX Codex Cursor +1 5,200installs langgraph-cli langchain-ai Gives the agent a reference for the langgraph CLI: scaffold a project, run it locally, build an image, deploy it. Claude Code CX Codex Cursor +1 8,900installs lossless-claw Martian-Engineering Guides configuration and diagnostics for the lossless-claw OpenClaw plugin, focusing on summary health and recall tools. Claude Code CX Codex Cursor +1 812installs company-research deanpeters Builds a company brief from public sources: quotes from leaders, product strategy, how the org works. Useful before an interview, a partner meeting or a competitor review. Claude Code CX Codex Cursor +1 3,400installs swarm langchain-ai Fans out independent items across subagents in parallel and aggregates the results. Useful for batch file reviews, labeling, and data extraction. Claude Code CX Codex Cursor +1 8,700installs visual-novel gamedev-skills A playbook for visual novels: branching script, character and background display, a text box with choices, save anywhere, backlog, skip and auto. Claude Code CX Codex Cursor +1 5,700installs setup-matt-pocock-skills Matt Pocock This skill configures a repository for Matt Pocock's engineering skills by setting its issue tracker, triage labels, and domain docs layout. Run it before using the other skills. Claude Code 1,052,851installs to-tickets Matt Pocock Turns a plan, spec, or conversation into small end-to-end tickets with explicit blockers. Use it to agree on the work breakdown before tickets go to a tracker. Claude Code 711,230installs

Questions about reducing-entropy

How do I install reducing-entropy in Claude Code?

Run npx skills add softaworks/agent-toolkit --skill reducing-entropy -a claude-code. The skill file ends up at ~/.claude/skills/reducing-entropy/SKILL.md.

What does reducing-entropy do?

It pushes the agent to compare total code before and after a change and reject anything that grows it. Every edit is treated as a chance to remove something else.

Why does it load a mindset from `references/` first?

The skill will not start until one mindset is loaded and its core principle named out loud. A missing directory therefore stops it before any edit.

Source text

SKILL.md · MIT
---
name: reducing-entropy
description: Manual-only skill for minimizing total codebase size. Only activate when explicitly requested by user. Measures success by final code amount, not effort. Bias toward deletion.
---

# Reducing Entropy

More code begets more code. Entropy accumulates. This skill biases toward the smallest possible codebase.

**Core question:** "What does the codebase look like *after*?"

## Before You Begin

**Load at least one mindset from `references/`**

1. List the files in the reference directory
2. Read frontmatter descriptions to pick which applies
3. Load at least one
4. State which you loaded and its core principle

**Do not proceed until you've done this.**

## The Goal

The goal is **less total code in the final codebase** - not less code to write right now.

- Writing 50 lines that delete 200 lines = net win
- Keeping 14 functions to avoid writing 2 = net loss
- "No churn" is not a goal. Less code is the goal.

**Measure the end state, not the effort.**

## Three Questions

### 1. What's the smallest codebase that solves this?

Not "what's the smallest change" - what's the smallest *result*.

- Could this be 2 functions instead of 14?
- Could this be 0 functions (delete the feature)?
- What would we delete if we did this?

### 2. Does the proposed change result in less total code?

Count lines before and after. If after > before, reject it.

- "Better organized" but more code = more entropy
- "More flexible" but more code = more entropy
- "Cleaner separation" but more code = more entropy

### 3. What can we delete?

Every change is an opportunity to delete. Ask:

- What does this make obsolete?
- What was only needed because of what we're replacing?
- What's the maximum we could remove?

## Red Flags

- **"Keep what exists"** - Status quo bias. The question is total code, not churn.
- **"This adds flexibility"** - Flexibility for what? YAGNI.
- **"Better separation of concerns"** - More files/functions = more code. Separation isn't free.
- **"Type safety"** - Worth how many lines? Sometimes runtime checks in less code wins.
- **"Easier to understand"** - 14 things are not easier than 2 things.

## When This Doesn't Apply

- The codebase is already minimal for what it does
- You're in a framework with strong conventions (don't fight it)
- Regulatory/compliance requirements mandate certain structures

## Reference Mindsets

See `references/` for philosophical grounding.

To add new mindsets, see `adding-reference-mindsets.md`.

---

**Bias toward deletion. Measure the end state.**

© softaworks · MIT · softaworks/agent-toolkit

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor