code-simplifier: a Claude Code plugin by Anthropic
Official
For developers who want recently changed code made easier to read without changing what it does. Skip it if you want no edits made unasked.
Before you install: Its instructions tell it to refine code on its own right after code is written, without waiting for you to ask.
- Score
- 76of 100
- Rank
- #6of 25
- Updated
- 2026
Install
/plugin install code-simplifier@claude-plugins-official
Type it in Claude Code. View the source
What does code-simplifier do?
code-simplifier is a Claude Code plugin that installs a single agent, code-simplifier, set to run on the Opus model. The agent looks at code changed in the current session, unless you point it at more, and rewrites it to be easier to read while keeping every behavior the same. It cuts deep nesting and repeated logic, renames unclear variables and functions, removes comments that only restate the code, and swaps nested ternaries for if/else chains or switch statements. It follows the standards in your CLAUDE.md, with defaults such as ES modules, the function keyword and explicit return types. Its instructions tell it to act right after code is written.
When should you use code-simplifier?
Use it when
- A feature works but the code feels tangled
- Cleaning up after a long editing session
- Bringing new code in line with CLAUDE.md conventions
Skip it when
- You want no edits made without asking first
- Your style rules differ from its JavaScript and React defaults
What it needs and what it can touch
What it can do
- Reads and edits project files
From reading its instructions, not from running it.
Why it scores 76
Strongest on upkeep (100 of 100), weakest on adoption (61).
Details
- Stars of the shared plugin repository
- 46,718
- Last repository change
- License
- Not stated
- Data confidence
- Medium
Did it do the job for you?