All skills
softaworks avatar

/reducing-entropy

@1c0662a
by softaworkssoftaworks/agent-toolkit2.5k stars
230

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.

Use this Skill: https://skilld.dev/gh/softaworks/agent-toolkit/reducing-entropy

This session only. Nothing lands on disk.

adding-reference-mindsets.md

≈857 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Adding Reference Mindsets

Reference mindsets are philosophical foundations for simplicity. They explain why less is more, giving agents deeper calibration beyond the mechanical checkpoints.

Where They Live

Mindsets live in @reference/. Each is a standalone file named by concept.

File Structure

---
description: One-sentence summary of the core insight and why it matters.
---

# Concept Name

## The Core Insight

The central idea in 1-2 sentences. Quotable. Memorable.

## Why This Matters

How this connects to avoiding complexity. Why an LLM should care.
What goes wrong when you ignore this principle.

## Practical Application

Concrete questions to ask or checks to apply.
How to use this mindset when evaluating design options.

## External References

Links to primary sources - talks, papers, books that originated or best explain this concept.

Quality Checklist

Before adding a mindset:

  • Counters over-engineering? Does it help resist the urge to add?
  • Distinct from existing? Not redundant with current mindsets
  • Concise? Can be explained in under 50 lines
  • Memorable core insight? Has a quotable central principle
  • Named by concept? Not by person or source

Good Candidates

Ideas that would make strong mindsets:

Concept Core Insight
worse-is-better Shipping a simple thing beats perfecting a complex one
essential-vs-accidental Most complexity is accidental and can be eliminated
locality-of-behavior Code should be understandable without jumping around
boring-technology Innovation tokens are limited; use boring tech by default
separation-of-concerns Each piece should have one reason to change
rule-of-three Don't abstract until you've seen the pattern three times

What NOT to Add

Technology-specific advice → Belongs in project docs or tech-specific skills

  • "React components should..."
  • "In Rust, prefer..."

Process/workflow rules → Belongs in skills, not mindsets

  • "Always run tests before..."
  • "Use TDD when..."

Vague platitudes → If there's no actionable insight, skip it

  • "Write clean code"
  • "Think before you code"

Anything requiring context → Mindsets should be universal

  • "In microservices architectures..."
  • "When working with legacy code..."

The Test

A good mindset should help an agent answer: "Should I add this abstraction?"

If the mindset doesn't directly inform that question, it probably belongs somewhere else.

Source Material

Primary sources for simplicity thinking. Draw from these when creating new mindsets:

Source: SKILL.md on GitHub

No alerts16d5 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    The skill provides a framework for reducing code complexity through deletion and simplification. It is conceptually safe but carries a low risk of indirect prompt injection, as it requires the agent to analyze and modify external codebases that could contain malicious instructions designed to trick the agent into removing security controls.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

  • Runlayer7mo

    7 files scanned · No issues

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 1c0662a. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Dormantupdated 9 months ago
  • Refactoring
  • entropy
  • code-deletion
  • codebase-size
  • minimalism
  • technical-debt
  • architecture

README badge

README badge for softaworks/agent-toolkit/reducing-entropy

Reduces total codebase size by favoring deletion over addition, measuring success by final code amount rather than effort or refactoring elegance. Requires explicit user activation and loading a reference mindset before proceeding; applies to any project where minimizing lines of code is the primary goal, not organizational improvements.

Generated from the current SKILL.md.

When should I activate this skill?
Only when explicitly requested by the user. This is a manual-only skill for focused reduction efforts, not a default mode.
What does 'success' mean for this skill?
Success is measured by final codebase size, not effort or refactoring cleanliness. Writing 50 lines to delete 200 lines is a win.
Does this skill apply to all codebases?
No. Skip it if the codebase is already minimal, if you're constrained by framework conventions or regulatory requirements, or if reduction isn't the stated goal.
How do I use the reference mindsets?
Load at least one mindset from the references/ directory before proceeding. Read the frontmatter descriptions to find which applies, then state which you loaded.

Generated from the current SKILL.md. These answers refresh after source changes.