simplification-cascades

simplification-cascades is a skill for Codex from PracticalSwan/agent-skills. It costs 29 tokens per session (1,120 once invoked), scanned A, original, MIT.

A design-thinking guide for finding one general idea that removes several separate components or special cases.

In plain words
What is it for?
Use it when simplifying architecture, combining repeated implementations, or replacing growing exception lists with a general rule.
Why use it?
It helps reduce unnecessary complexity when similar problems are being solved in many different ways.

Skill for Codex

Written for Codex: reads ~/.codex or $CODEX_HOME. Also seen: mentions Claude Code; mentions Codex.

Good fit Use it when simplifying architecture, combining repeated implementations, or replacing growing exception lists with a general rule.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/practicalswan/agent-skills/simplification-cascades
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add PracticalSwan/agent-skills --skill simplification-cascades
Clone the repo
git clone --depth 1 https://github.com/PracticalSwan/agent-skills

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for simplification-cascades

README.md
[![agentmods](https://agentmods.dev/badge/skills/practicalswan/agent-skills/simplification-cascades/github.svg)](https://agentmods.dev/skills/practicalswan/agent-skills/simplification-cascades)
Your own site
<a href="https://agentmods.dev/skills/practicalswan/agent-skills/simplification-cascades"><img src="https://agentmods.dev/badge/skills/practicalswan/agent-skills/simplification-cascades/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for simplification-cascades

Your own site · 80×15
<a href="https://agentmods.dev/skills/practicalswan/agent-skills/simplification-cascades"><img src="https://agentmods.dev/badge/skills/practicalswan/agent-skills/simplification-cascades.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,120 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.01120
Opus 5 $0.00015 $0.00560
Sonnet 5 $0.00006 $0.00224
Haiku 4.5 $0.00003 $0.00112

Measured 4d ago against content hash a008b5cabf84, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

simplification-cascades scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

simplification-cascades/SKILL.md · 125 lines

How it starts

The opening of the file, as written. The whole thing — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Simplification Cascades

Overview

Sometimes one insight eliminates 10 things. Look for the unifying principle that makes multiple components unnecessary.

Core principle: "Everything is a special case of..." collapses complexity dramatically.

Quick Reference

Symptom Likely Cascade
Same thing implemented 5+ ways Abstract the common pattern
Growing special case list Find the general case
Complex rules with exceptions Find the rule that has no exceptions
Excessive config options Find defaults that work for 95%

The Pattern

Look for:

  • Multiple implementations of similar concepts
  • Special case handling everywhere
  • "We need to handle A, B, C, D differently..."
  • Complex rules with many exceptions

Ask: "What if they're all the same thing underneath?"

Examples

Cascade 1: Stream Abstraction

Before: Separate handlers for batch/real-time/file/network data Insight: "All inputs are streams - just different sources" After: One stream processor, multiple stream sources Eliminated: 4 separate implementations

Cascade 2: Resource Governance

Before: Session tracking, rate limiting, file validation, connection pooling (all separate) Insight: "All are per-entity resource limits" After: One ResourceGovernor with 4 resource types Eliminated: 4 custom enforcement systems

Cascade 3: Immutability

Before: Defensive copying, locking, cache invalidation, temporal coupling Insight: "Treat everything as immutable data + transformations" After: Functional programming patterns Eliminated: Entire classes of synchronization problems

Process

  1. List the variations - What's implemented multiple ways?
  2. Find the essence - What's the same underneath?
  3. Extract abstraction - What's the domain-independent pattern?
  4. Test it - Do all cases fit cleanly?
  5. Measure cascade - How many things become unnecessary?

Red Flags You're Missing a Cascade

Read the full file on GitHub · 125 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago Changed a008b5cabf84
  2. 6d ago Changed eb46a0e10e9a
  3. 9d ago First seen · 125 lines · 29 tokens per session scan A 77b3afe265d0

Subscribe to this mod's changes

simplification-cascades is a skill published in the GitHub repository PracticalSwan/agent-skills (14 stars, last pushed 4d ago), licensed MIT. It adds 29 tokens to every session and 1,120 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

hygiene

Run CocoHygiene audits for harness simplification and model-upgrade cleanup. Supports $hygiene and $hygiene --model-upgrade.

Snowflake-Labs/cocoplus · 36 tokens

absolute-simplify

Use when the user wants to simplify, clean up, refactor, tidy, or refine code — their staged/unstaged git changes or a target file/path. Reduces complexity, flattens nesting, removes redundancy and dead code, scores each change by value (holding low-value churn), then runs tests to prove nothing broke. Invoke on…

maddhruv/absolute · 178 tokens

cognitive-accessibility

Improve content and workflows for users with varied attention, memory, and executive function profiles. Use when user asks to 'simplify content', 'reduce cognitive load', 'improve readability', 'chunk content', 'make accessible for ADHD', 'help with focus'.

humanity4ai/project_human · 57 tokens

code-simplification

Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder to read, maintain, or extend than it should be. Use when reviewing code that has accumulated unnecessary complexity.

vanja-emichi/a0_agent_skills · 51 tokens

complexity-enemy

An organizational design guide based on the idea that extra processes, approval steps, and management layers can make a company harder to run.

ace3000chao/book2startup · 131 tokens

Essence Distiller

Find what actually matters in your content — the ideas that survive any rephrasing.

live-neon/skills · 22 tokens