New advertisers: 50% off your first month with code FIRSTMONTHSee slots
softaworks avatar

Reducing Entropy

Manual-only skill that biases toward the smallest final codebase, measuring success by end-state code size.

skills.sh installs
4.1K
GitHub stars
2.7K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers a three-question review: smallest resulting codebase, net line-count change, and what code can be deleted
  • Requires loading at least one mindset from references/ before proceeding, and stating its core principle
  • Includes red-flag checks against justifications like "keep what exists," "adds flexibility," and "better separation of concerns"
  • Designed for codebases already accumulating code, not for frameworks with strong conventions or compliance-mandated structures

Install

$ npx -y skills add softaworks/agent-toolkit --skill reducing-entropy -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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.

Details

Repository
github.com/softaworks/agent-toolkit
Categories
Code Review & Quality, Agent Workflow & Planning

More from softaworks/agent-toolkit

All 40

Similar to Reducing Entropy

More Code Review & Quality