
Ego-Lite Simplify
Guides an agent to find and safely remove dead code and unneeded complexity in the ego-lite repo
- Repository
- citrolabs/ego-lite
- Stars
- 21,281
- Licence
- MIT
- Files
- 2 files
What it does
When installed, this skill tells an AI coding agent how to review the ego-lite codebase for simplification opportunities such as dead code, duplicated state, speculative abstractions, unnecessary compatibility layers, and excess tests or docs. It asks the agent to prove each candidate with searches of real callers before changing anything, to report behavior-changing ideas for a decision first, and to follow a test-first process when implementing. It is a maintainer workflow for one specific repository, not a general tool.
Great for
- Maintainers of the ego-lite repository who want a disciplined cleanup pass
- Contributors reviewing code size or maintenance burden in ego-lite
- Teams wanting an example of an evidence-driven refactoring checklist for their own repo
Skip it if
- Projects other than ego-lite, since the file names, paths and commands are specific to that repository
- Users wanting quick automatic cleanup without review, because the skill requires reporting and evidence before broad removal and an agent could still make mistakes if given broad permissions
Try asking
- “Audit the ego-lite runtime for dead exports and unused options, and report candidates before removing anything”
- “Find duplicated page or session state in ego-lite and propose a behavior-preserving simplification”
- “Review hand-written utilities in ego-lite that a Node.js built-in could replace, and estimate the net code change”
Install in 3 steps
- 1
Download the skill
The ZIP contains the 2 original files, the MIT licence and an attribution note.
ego-lite-simplify.zip - 2
Add it to your agent
Claude Code (all projects)
mkdir -p ~/.claude/skills && unzip ego-lite-simplify.zip -d ~/.claude/skills/Claude Code / Agent SDK (this project only)
mkdir -p .claude/skills && unzip ego-lite-simplify.zip -d .claude/skills/Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.
- 3
Ask for the task
No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.
Get better results
- Ask for an audit first, then authorize specific implementations so behavior changes are explicit
- Make sure the repository has uncommitted changes committed or stashed, since the skill asks the agent to preserve unrelated work
- Review the agent's candidate list yourself, especially items marked as needing a user decision
What's inside
- agents/openai.yaml
- SKILL.md
Redistributed unmodified from citrolabs/ego-lite under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.