BeClaude

code-simplifier

30.2kOfficial PluginGeneralby Anthropic

Agent that simplifies and refines code for clarity, consistency, and maintainability while preserving functionality. Focuses on recently modified code.

Python3272 forks747 issuesUpdated 6/16/2026First seen 4/17/2026

Summary

This skill automatically simplifies and refines code to improve clarity, consistency, and maintainability without altering its functionality.

  • It focuses on recently modified code, making it ideal for cleaning up after rapid development or refactoring sessions.

Install & Usage

1
Add a marketplace
/plugin marketplace add <org/repo>
2
Install the plugin

Add the configuration to /plugin install code-simplifier@<marketplace>

3
Manage with /plugin
/plugin

Use Cases

Simplify a complex function that was just edited to reduce cognitive load.
Refactor duplicated logic in recently modified files into reusable helpers.
Improve variable naming and add comments to recently changed code for better readability.
Standardize coding style across a batch of files that were just updated.
Remove dead code or unnecessary complexity from a feature branch before merging.
Optimize recently added code for better performance while keeping behavior identical.

Usage Examples

1

/code-simplifier Simplify the last 5 files I changed.

2

Run code-simplifier on the current branch's modified files.

3

Refactor the recently edited code in src/utils to be more readable.

View source on GitHub
agentclaude-codemcpskills

Security Audits

LicenseUnknownSourcePassRepositoryPass

Frequently Asked Questions

What is code-simplifier?

This skill automatically simplifies and refines code to improve clarity, consistency, and maintainability without altering its functionality. It focuses on recently modified code, making it ideal for cleaning up after rapid development or refactoring sessions.

How to install code-simplifier?

To install code-simplifier: add a marketplace (/plugin marketplace add <org/repo>), then add the config to /plugin install code-simplifier@<marketplace>. Finally, /plugin in Claude Code.

What is code-simplifier best for?

code-simplifier is a plugin categorized under General. It is designed for: agent. Created by Anthropic.

What can I use code-simplifier for?

code-simplifier is useful for: Simplify a complex function that was just edited to reduce cognitive load.; Refactor duplicated logic in recently modified files into reusable helpers.; Improve variable naming and add comments to recently changed code for better readability.; Standardize coding style across a batch of files that were just updated.; Remove dead code or unnecessary complexity from a feature branch before merging.; Optimize recently added code for better performance while keeping behavior identical..