code-simplifier
Agent that simplifies recently modified code for clarity, consistency, and maintainability while preserving functionality.
๐ก๏ธ AgentReady threat assessment
MAESTRO 7-layer threat model + OWASP AIVSS risk score for code-simplifier, derived from its capabilities.
AIVSS 6.4 ยท Medium
View MAESTRO 7-layer threat model โOverview
Anthropic's official code-simplifier plugin. It provides a subagent that refactors recently modified code toward clarity and consistency without changing behavior, focusing on the current diff. Surface is a subagent plus command that reads changed files and proposes simplifications.
Key features
- Focuses on recently modified code
- Preserves functionality while refactoring
- Improves clarity and consistency
- Subagent-driven
Use cases
- Clean up a large just-written change before commit
- Reduce accidental complexity in a diff