Agent Plugin

Code Simplifier
Refines recently changed code for clarity and consistency while preserving observable behavior.
What is Code Simplifier?
Code Simplifier is Anthropic's focused cleanup agent for the code that was just written or modified. It reads the repository's conventions, removes avoidable complexity, improves naming and structure, and keeps behavior stable. Its value is restraint: it is not a broad modernization pass and should not compact readable code merely to reduce line count.
Key capabilities
Behavior preservation
Treats existing observable behavior as a hard boundary for cleanup.
Convention awareness
Aligns the result with project-local patterns rather than imposing a universal style.
Recent-change focus
Keeps the review near the active work instead of turning it into an unbounded refactor.
Use cases
Post-feature cleanup
Simplify implementation after tests pass and the behavior is settled.
Review generated code
Remove accidental duplication or awkward control flow from an agent-written change.
Prepare a pull request
Improve readability before the final review without expanding scope.
Included components
Agents
Code Simplifier
Reviews recent edits and proposes behavior-preserving simplifications.
Installation scope
- Claude Code with plugin support
- A repository with readable project conventions
- Tests or another way to verify preserved behavior
