Code Optimizer — Development skill for Claude Code
Remove duplication, dead code, and needless indirection — fewer lines as a result, never as the goal.
How to install Code Optimizer
Installs to ~/.claude/skills/mkober-muxcode-code-optimizer/SKILL.md
mkdir -p ~/.claude/skills/mkober-muxcode-code-optimizer && curl -fsSL https://raw.githubusercontent.com/mkober/muxcode/HEAD/skills/code-optimizer.md -o ~/.claude/skills/mkober-muxcode-code-optimizer/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Code Optimizer does
name: code-optimizer description: Remove duplication, dead code, and needless indirection — fewer lines as a result, never as the goal roles: [edit, review] tags: [refactor, simplification, readability]
Reducing code
Priority order: **correctness > readability > size.** Fewer lines is a *symptom* of removing duplication and indirection, never the objective. Code optimized for line count becomes dense, loses its guards, and costs more to read than it saved.
The question is never "ca
Alternatives in Development
- Semble — Fast and Accurate Code Search for Agents 6.1k ★
- Code Review Graph — Local knowledge graph for Claude Code 3.7k ★
- Openwolf — Sharper context 699 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Code Smell Detector
Scan the codebase for code smells — duplication, complexity, dead code, and poor naming
ShrinkCode
A Claude Skill that compresses bloated codebases into fewer lines without changing behavior: finds duplicate b
Dry
Remove code duplication you just introduced
Autopilot Nt
The executor — work a fix-workplan or prose goal to completion unattended in an isolated worktree; verify fres
Cut Video
Claude Code skill: tighten long recordings — remove silences, ums, dead air. Preserves laughs and comedic paus
Sc Cleanup
Systematically clean up code, remove dead code, and optimize project structure
Related Agents
PM Simplify Review
Read-only simplicity reviewer for Product Masters LMS diffs. Finds needless complexity, duplication, dead code
Code Cleanup Optimizer
Remove technical debt, improve quality, eliminate redundancy after implementation is verified. Never use befor
Dnp Refactor Cleaner
🧹 Safe refactoring — dead code removal, naming normalization, duplication elimination. Never changes behavior