Simplify
What it does
Looks at a file, tool or codebase, finds the parts that are duplicated, dead or unnecessary, and proposes cuts. It is for developers who want to reduce clutter without breaking anything that depends on it.
When to use it
- ✓When a project has grown messy and you want to trim it safely.
- ✓When you suspect some code is no longer used but are not sure.
- ✓When you want to know what could be deleted before you delete anything.
Skill link
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Simplify/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Look at this module and tell me what we can delete safely before we make any changes.”
5 new skills a week. 1 minute to read.
How it works
The skill maps every place the target is used, such as callers, imports and docs, and classifies each element with evidence. It proposes cuts for your approval, then applies the approved ones only after checks confirm nothing that depends on them has changed.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Simplify
Simplify makes a target smaller and clearer without breaking anything that depends on it. A target can be a file, a skill, a tool, a subsystem or a whole repo. The work comes in three intents, each building on the record from the one before: Survey maps the target read-only, Propose ranks the cuts and holds them for a yes, and Apply lands the approved cuts with proven parity. The central rule: a cut never drops a behaviour that a dependent or ISA criterion relies on, and anything the evidence cannot explain stays. Records sit next to the target's ISA when there is one.
Ideal State
- The target ends smaller and clearer, and every behaviour a dependent or ISA criterion relies on still works, shown by the same baseline checks passing before and after.
- No element is cut on looks: each cut rests on a survey finding with its searches cited, and anything the evidence cannot explain stays.
- Nothing changes until the principal approves the specific rows, and a delete of irreplaceable content gets its own yes.
- Each stage leaves its record under
LIFEOS/MEMORY/WORK/{slug}/simplify/, so the next stage builds on evidence rather than on memory.
Intent Routing
| Intent | Trigger | File |
|---|---|---|
| Survey | "simplify X", "what can we delete", "map this before we cut", "is this dead" | Intents/Survey.md |
| Propose | "what would you cut", "propose the simplifications", follows Survey in the same run | Intents/Propose.md |
| Apply | "apply them", "y" or approved row numbers after a proposal | Intents/Apply.md |
A bare "simplify X" runs Survey and then Propose, and stops at the proposal. A Survey-only request, which is how a read-only analysis calls this skill, stops at the survey.
Data & Config
None. This skill reads no config and needs no account or key. Each stage writes its record under LIFEOS/MEMORY/WORK/{slug}/simplify/ next to the target's ISA, if it has one; nothing else is created.
Gotchas
- Zero code-search hits does not mean dead. LifeOS calls a great deal of code by string: hook registrations in
settings.json, launchd plists, workflow YAML, skill routing tables, spawned commands and dynamic imports.ReferenceCheck.ts --shipped-pathsexists because plain path scans missed spawn and dynamic-import specifiers. - The file can change mid-run. Memory loops and peer sessions write to the same trees. A file edited after its survey is re-read before it is touched (Trim, where a concurrent deploy-command fix was nearly reverted).
Examples
Example 1: Simplify a tool
User: "simplify LIFEOS/TOOLS/ReferenceCheck.ts"
→ Survey intent, then Propose
→ Purpose from its header and DocCheck lineage, every caller, findings per function, test baseline
→ A ranked table of cuts, each with its parity check, held for y
Example 2: Land the approved cuts
User: "y, but skip 4"
→ Apply intent
→ Rows 1–3 and 5 land as separate commits, tests show the same pass count before and after, and the measured reduction sits beside the estimate
Example 3: An always-on context file
User: "simplify CLAUDE.md"
→ Routed to Trim, which owns always-on context files and their directive-coverage gate
FAQ
Will it delete things without asking?
No. Nothing changes until you approve the specific items.
What if it cannot tell whether something is used?
It keeps anything the evidence cannot explain.
Where are its records kept?
Each stage writes a record in a folder for that project, so later steps build on evidence.
Details
Original description by the author
Research-first simplification of any file, skill, tool, subsystem or codebase against its ideal state: reads its ISA or derives its purpose, maps every dependent (callers, imports, references, hooks, settings, docs, tests), classifies each element with evidence as load-bearing, duplicate, dead, cruft or over-abstracted, then proposes and applies cuts that keep every behaviour a dependent relies on, proven by before-and-after parity checks. USE WHEN simplify, simplify this, simplify this system, remove cruft, remove duplication, dedupe, dead code, clean this up, this has gotten bloated, too com
repo: danielmiessler/LifeOS
Popularity
- GitHub stars
- 20k
- Ranking position
- #10457
- License
- MIT
- Updated
- 10/28/2026
Comments
- …
More skills from this repository
LifeOS
20kHelps your agent set up LifeOS, a personal system that maps your current state to your ideal state through an interview and a dashboard.
AnnualReports
20kHelps your agent find and compare cybersecurity annual reports from major vendors, such as breach and ransomware trends, with a source for every figure.
ApertureOscillation
20kTeaches your agent to test one design question at a narrow scope and a wide scope, then name where the two answers clash before you build.
Aphorisms
20kLets your agent find, match, and track attributed quotes from a curated collection, avoiding ones recently used in your newsletter.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.