Simplify
Build and shipSkill · 3 workflows

Simplify

Cuts dead and duplicate code without breaking what depends on it.

You say
  • simplify the nightly eval runner Shown in the terminal
  • what can we delete from Lumen's import code?
  • merge the two date parsers in Lumen

You getA ranked list of cuts, each with evidence and a before-and-after test, applied only after your yes.

Terminal · Simplify at work
lab-1 · evals · claude Rex 0.4.2 · 8 sessions · 2 need you
evals · claude lumen · dev server lazygit attic · claude
8 sessions · 2 need you · 1 stopped
>Simplify the nightly eval runner. It has three retry wrappers now, and the same evals must still pass after.
⏺Skill(Simplify)
⎿Routed to Survey, then Propose
⏺Grep(retry|ReporterFactory|legacy-v2|tz-fixtures)
⎿41 references in 14 files, 3 in workflow YAML
⏺Bash(bun run evals)
⎿Baseline: 96 of 98 pass · same 2 known time-zone cases
⏺Write(WORK/lumen-evals/simplify/proposal.md)
⎿4 rows written · nothing applied
◆LIFEOS 4m 20s◆

Three cuts would remove about 230 lines and 38 files, and one file that looked dead stays because a workflow calls it.

Proposed cuts Nightly eval runner · held for your yes
CutClassCheck
Merge three retry wrappers into one withRetry()duplicatesame 96 of 98
Delete fixtures/legacy-v2, no code, workflow file or script reads itdeadsame 96 of 98
Inline ReporterFactory, one reporter leftover-abstractedreport diff empty
Keep tz-fixtures.ts, named by string in nightly-evals.yamlload-bearingnot cut
3 cuts proposed · 1 kept · baseline saved · nothing changed yet
Juno: Three cuts are ready with their before-and-after checks, and nothing changes until you approve the rows.
⏵⏵ auto mode on (shift+tab to cycle)

An invented run. Sam asks Juno to slim down the nightly eval runner, and Simplify maps every caller, records a test baseline and proposes cuts that keep the same results.

03
Workflows
14
Ways to ask
Not for always-on context files (Trim), cleanup of just the current diff (/simplify), harmony across many systems (Unify), auditing prompt rules for over-prompting (BitterLessonEngineering), bug hunting (/code-review)

Inside the Skill

The thinking, frameworks, and architecture that distinguish this skill from a generic version of the same task.

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-paths exists 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

Workflows & Routing · 3

Each workflow is one job the skill runs. The trigger phrases route your request to the right one — this is the skill's routing table.

  1. 01
    Survey Intents/Survey.md

    simplify X, what can we delete, map this before we cut, is this dead

  2. 02
    Propose Intents/Propose.md

    what would you cut, propose the simplifications, follows Survey in the same run

  3. 03
    Apply Intents/Apply.md

    apply them, y or approved row numbers after a proposal

How to Invoke

Say any of these to your assistant and LifeOS activates the Simplify skill automatically:

  • "simplify"
  • "simplify this"
  • "simplify this system"
  • "remove cruft"
  • "remove duplication"
  • "dedupe"
  • "dead code"
  • "clean this up"
  • "this has gotten bloated"
  • "too complicated"
  • "reduce complexity"
  • "consolidate"
  • "strip this down without breaking it"
  • "what can we delete"

Or invoke explicitly:

Skill("Simplify")

Want LifeOS to do this for you?

Install LifeOS on your machine — your assistant gets the Simplify skill plus 96 others, all hooked into one Life OS.