In short.
Code Simplifier is a small Claude plugin from Anthropic that adds one agent definition for tidying recently changed code. It is aimed at developers who want a readability pass after editing. Its prompt hard-codes JavaScript/TypeScript and React conventions. It tells the agent to make sure functionality stays the same, but it gives no test, linter, type-check or diff procedure for doing that, so you need to review every edit yourself. Technically it is a 271-byte plugin.json manifest (version 1.0.0) plus a 3,129-byte Markdown agent definition. The definition has frontmatter (name, description, model: opus) and a system prompt. The captured files contain no executable code, hooks or scripts. It is licensed under the Apache License 2.0. Nothing was run or tested, so the quality of its output has not been assessed.
Researched and written by an AI model and checked by a second AI model. How it works
The selected scope is the complete code-simplifier plugin folder at [https://github.com/anthropics/claude-plugins-official/tree/main/plugins/code-simplifier], captured at revision 9bd776d78d956bd68520efe67ac6422a76f811f8. It covers the plugin.json manifest, the agent definition agents/code-simplifier.md and the plugin-level Apache 2.0 LICENSE. The repository root LICENSE is included only as a related notice; it has the same checksum and lies outside the selected scope. Excluded are other plugins in the repository, any marketplace manifest, linked pages and later commits. Nothing was installed, executed or tested. Install steps, host loading, invocation, tool access, permission behaviour, model resolution, output quality and running cost are therefore unknown or not assessed.
The overview
What this resource is
The resource is the code-simplifier plugin in Anthropic's claude-plugins-official repository at [https://github.com/anthropics/claude-plugins-official/tree/main/plugins/code-simplifier], analysed at revision 9bd776d78d956bd68520efe67ac6422a76f811f8. The manifest names it code-simplifier, version 1.0.0, with the description 'Agent that simplifies and refines code for clarity, consistency, and maintainability while preserving functionality'. It lists Anthropic as the author, with the contact support@anthropic.com.
The plugin contains one agent definition, in agents/code-simplifier.md. Its frontmatter sets name: code-simplifier, a one-line description ('Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Focuses on recently modified code unless instructed otherwise.') and model: opus. The body is a system prompt that casts the agent as an expert code-simplification specialist.
The selected scope holds three files: .claude-plugin/plugin.json, agents/code-simplifier.md and a plugin-level LICENSE. The captured scope contains no README, command, skill, hook or MCP server configuration. The files do not name a host application. Compatibility with Claude Code is an inference from the .claude-plugin directory layout and from terms such as model: opus and the reference to CLAUDE.md. The files do not state it.
Overall assessment
Based on the files, this is a focused, single-purpose prompt package. The instructions are coherent and restrained. They stress that behaviour must not change, that explicit code beats clever compact code, and that over-simplifying is itself a failure. That framing is sensible for a refactoring helper.
The main catch is that it is only a prompt. It tells the agent to ensure all functionality remains unchanged and to verify that the refined code is simpler and more maintainable. But it specifies no test, linter, type-check or diff procedure for either check, and nothing shows that the checks succeed in practice. The prompt also embeds a specific JavaScript/TypeScript and React style list that will not suit every codebase.
Nothing was executed, so these remain unassessed: how well the agent simplifies real code, how often it breaks behaviour, and how much it costs to run. A reasonable way to try it is on a branch with good test coverage, reviewing every change it makes.
Who it suits
It suits developers using Claude Code (the host the file layout suggests) who want a consistent cleanup pass after a coding session. That is especially true for JavaScript or TypeScript projects using ES modules and React components with explicit Props types, because the built-in standards are written for that style.
It is a weaker fit for projects in other languages or with different conventions, for example codebases that prefer arrow functions, use CommonJS, or rely on try/catch for error handling. The general guidance (reduce nesting, remove redundant code, use clearer names) still applies. But the specific rules in the prompt may push the agent towards changes you do not want.
It also needs care on code without automated tests, because the prompt specifies no test procedure to catch regressions. Beginners can use it as a readability assistant, but they should read each diff rather than accept changes blindly.
What it is designed to do
The system prompt directs the agent to work in five areas. Preserve functionality: change how code does something, never what it does. Apply project standards from CLAUDE.md: ES modules with sorted imports and extensions, the function keyword in preference to arrow functions, explicit return types on top-level functions, React components with explicit Props types, error handling that avoids try/catch where possible, and consistent naming. Enhance clarity: reduce nesting and complexity, remove redundant code and abstractions, improve names, consolidate related logic, drop comments that state the obvious, and use switch statements or if/else chains instead of nested ternary operators. Maintain balance: do not over-simplify, do not create clever solutions, do not merge too many concerns into one function, do not remove helpful abstractions, and do not trade readability for fewer lines. Focus scope: touch only code recently modified in the current session unless told to review more.
The prompt sets out a six-step process: identify recently modified sections, look for improvements, apply standards, ensure functionality is unchanged, verify the result is simpler and more maintainable, and document only significant changes that affect understanding. It also says the agent should work autonomously and proactively, refining code right after it is written.
The files do not establish whether a host actually invokes it proactively. The frontmatter description contains no explicit 'use proactively' instruction, and how a host decides to hand work to it was not assessed.
Using it
Requirements
The captured files show no code dependencies, package manifests, scripts, environment variables or credentials. The files imply a host that can use Claude plugins but do not name one; Claude Code is an inference from the file layout and terminology. The frontmatter sets model: opus. The captured files do not establish how that setting is resolved, whether the model is available to you, or which plan or account is needed to use it.
The prompt refers to project standards in a CLAUDE.md file, so it works best in a project that has one. The files do not say what happens if CLAUDE.md is missing. It is also unclear whether CLAUDE.md rules would override the style list in the prompt or be applied alongside it.
The prompt assumes the agent can identify recently modified code and change files. The captured files define agent metadata and instructions but do not establish host loading, invocation, tool access or permission behaviour. The agent file has no tools field, but a missing tools field does not mean the agent has unrestricted access.
How it works
Besides the licence, the plugin has two files. The manifest at .claude-plugin/plugin.json supplies metadata: name, version, description and author. The file agents/code-simplifier.md is a Markdown file with frontmatter (name, description, model) followed by the system prompt. The captured files define agent metadata and instructions but do not establish host loading, invocation, tool access or permission behaviour.
The selected scope has no executable code: no scripts, hooks, commands or network calls. The plugin's content is metadata and natural-language instructions. Those instructions can still shape what an agent does, including how it edits files. What a host actually permits is not covered by the evidence.
The prompt does not say how the agent finds 'recently modified' code. It says 'in the current session' and names no method such as git diff. The captured files do not establish how recently modified code is identified.
Setup
The captured files contain no installation instructions, README or marketplace manifest, so the exact install commands and steps are unknown. The directory layout (.claude-plugin/plugin.json plus agents/code-simplifier.md) suggests a Claude Code plugin, so that host's plugin documentation is a likely place to look for how to install it from the claude-plugins-official repository. This is an inference that the captured files do not confirm. They also do not establish host loading, invocation, tool access or permission behaviour.
The manifest exposes no configuration options, and the captured files describe no other way to customise the plugin. Possible approaches are editing a copy of the agent file or describing your conventions in CLAUDE.md, which the prompt refers to. The files do not establish whether a host honours such edits or other overrides, or whether edits to a copy survive plugin updates.
Nothing was installed or run, so the setup experience, any prompts shown to the user and any permission requests have not been assessed.
Illustrative example
This example illustrates what the prompt asks for; it is not a captured run. Suppose you have just edited a function that picks a label with a nested ternary such as a ? 'x' : b ? 'y' : 'z'. The prompt says to avoid nested ternaries and prefers switch statements or if/else chains. So the agent would be expected to rewrite it as an if/else chain that gives the same results and to leave unmodified files alone.
In the same spirit, the prompt would have the agent remove a comment that only restates the next line, flatten a deeply nested conditional, and, if that is your project's rule, convert an arrow function to a function declaration with an explicit return type. Whether it does these correctly in practice was not tested, so run your tests and read the diff.
Assessment & evidence
Limitations and risks
No set way to verify: the prompt requires the agent to ensure all functionality remains unchanged and to verify that the refined code is simpler and more maintainable. But it specifies no test, linter, type-check or diff procedure for doing so. Nothing shows that the checks succeed in practice, and subtle regressions cannot be ruled out from this evidence.
Opinionated, language-specific rules: the prompt builds in ES modules, the function keyword over arrow functions, explicit return types, React Props types and avoiding try/catch. In projects with different conventions these could cause unwanted style changes. Some are also debatable: avoiding try/catch where possible could discourage proper error handling if applied rigidly.
Vague scope: 'recently modified code' and 'the current session' come with no defined method for finding that code. The agent may pick the wrong code to change or touch more than you intended, especially in a fresh session with no edit history.
Unclear autonomy and permissions: the prompt says the agent works autonomously and proactively, refining code without being asked. The captured files define agent metadata and instructions but do not establish host loading, invocation, tool access or permission behaviour. The agent file has no tools field, but that does not mean it has unrestricted access. The evidence does not cover whether edits need a separate approval.
Model setting: the frontmatter sets model: opus. The captured files do not establish how the model is resolved, whether hosts override it, whether it is available, how use is charged or what it costs to run.
Minimal documentation: the scope has no README, example, changelog or test. Nothing was executed, so the quality of its output is unassessed.
How these conclusions were reached
Every statement about behaviour comes from reading the agent's prompt, its frontmatter and the plugin manifest in full. Where the files are silent (install steps, host loading, tool access, trigger behaviour, model resolution, cost), this report says unknown rather than guessing. Compatibility with Claude Code is an inference from the file layout and terminology.
The manifest is plain JSON metadata and the agent file is a plain Markdown prompt. Neither contains scripts, downloads, network calls or hidden payloads, and the prompt contains no apparent malicious instructions. That does not make it risk-free to use. Instructions can influence what an agent does without containing executable code, and both the runtime effects and the correctness of the edits an agent makes with this prompt remain untested.
The caution about verification comes from the prompt's six-step process. It tells the agent to ensure all functionality remains unchanged and to verify that the refined code is simpler and more maintainable, but it specifies no test, linter, type-check or diff procedure for either. Nothing shows that these checks succeed.
Alternatives
The evidence does not compare this plugin with other tools, so the options below are possible alternatives that were not evaluated. One is formatters and linters, for example Prettier or ESLint in JavaScript projects, or their equivalents in other languages. The evidence establishes no comparative reliability or guarantee that they preserve behaviour.
Other options are writing your own agent definition or adding refactoring rules to CLAUDE.md. You could use this file as a starting template, since its Apache 2.0 licence allows modification under the conditions described in the rights section. Manual or peer code review is another possibility. The evidence does not show how any of these compare with this plugin for reliability or for preserving behaviour.
Evidence reviewed
Four captured files were read in full at revision 9bd776d78d956bd68520efe67ac6422a76f811f8. evidence_c1529c00-646c-4b0b-9fea-048ad1e63b07 is plugins/code-simplifier/.claude-plugin/plugin.json (271 bytes): name, version 1.0.0, description and author. evidence_d36a05c4-50f4-4cd1-ab01-2abcde918804 is plugins/code-simplifier/agents/code-simplifier.md (3,129 bytes): the agent frontmatter and system prompt. evidence_0b54b794-4715-404c-9d2e-5bad963121f4 is plugins/code-simplifier/LICENSE (11,358 bytes), the Apache 2.0 text inside the selected scope. evidence_11a96a24-8548-4260-bee0-fc4427d83397 is the repository root LICENSE. It is identical in content (same checksum), lies outside the selected scope and is used only as a related notice.
The evidence is first-party source files only. There are no independent reviews, benchmarks, issue discussions, usage statistics or test results, so the evidence cannot support claims about effectiveness.
Access & freshness
Costs
The evidence shows no price, subscription or usage fee for the plugin itself, and the Apache 2.0 licence grants rights on a no-charge, royalty-free basis. The files do not say whether the plugin is free to obtain in practice or through which channel.
Running the agent would involve a language model, and the frontmatter sets model: opus. The captured files do not establish how that setting is resolved, whether a host overrides it, whether the model is available to you, how use is charged, or what a typical run costs.
Because the prompt tells the agent to act proactively after code is written, usage could add up if a host hands it work often. Whether it is triggered automatically is not established.
Rights and licence
The plugin folder includes a LICENSE file with the standard Apache License, Version 2.0 text. Section 2 grants a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright licence. It lets you reproduce, prepare derivative works of, publicly display, publicly perform, sublicense and distribute the work and derivative works, in source or object form. Section 3 grants a separate patent licence from each contributor to make, have made, use, offer to sell, sell, import and otherwise transfer the work. It covers only patent claims licensable by that contributor that are necessarily infringed by their contribution alone or in combination with the work. If you start patent litigation (including a cross-claim or counterclaim) alleging that the work, or a contribution incorporated in it, constitutes direct or contributory patent infringement, the patent licences granted to you for that work end on the date the litigation is filed.
Redistribution is allowed under the conditions in section 4. You must give any recipients a copy of the licence. Any modified files must carry prominent notices stating that you changed them. In the source form of any derivative works you distribute, you must keep the copyright, patent, trademark and attribution notices from the source form of the work, except notices that do not relate to any part of the derivative works. If the work includes a NOTICE text file, derivative works you distribute must include a readable copy of its relevant attribution notices. The captured scope contained no NOTICE file. Section 6 gives no permission to use the licensor's trade names, trademarks, service marks or product names, except as needed for reasonable and customary use in describing the origin of the work and reproducing the content of the NOTICE file. Sections 7 and 8 provide the work 'AS IS' with no warranty and limit liability.
The licence text still contains the appendix placeholder 'Copyright [yyyy] [name of copyright owner]', and no filled-in copyright line was captured. plugin.json names Anthropic as author, but the files do not otherwise state who holds the copyright. The repository root also has a byte-identical LICENSE (same checksum), which lies outside the selected scope.
Freshness
The files were captured on 12 November 2026 at commit 9bd776d78d956bd68520efe67ac6422a76f811f8. The plugin version is 1.0.0. The evidence contains no commit dates, changelog or release notes, so how recently the plugin was written or changed is unknown.
The source address points at the main branch, which may have moved since this commit, and later changes to the agent prompt or manifest are not reflected here. The frontmatter sets model: opus with no further detail. The captured files do not establish which model that setting resolves to or whether a host overrides it.
Suggested next steps
Before using it, read agents/code-simplifier.md and compare the built-in style rules with your project's conventions. If they conflict, edit a copy of the file or state your rules explicitly in CLAUDE.md.
Try it on a separate branch with a passing test suite. After it runs, review the full diff, then run your tests, linter and type checker, because the prompt names no such procedure. If you want a narrower scope than 'recently modified', ask it to limit itself to specific files.
Check how your host handles the model: opus setting, whether that model is available to you and what running it would cost. None of this is established by the captured files, so think about usage before relying on frequent or proactive use. Look for current installation instructions in your host's plugin documentation, because the captured files contain none.
If you redistribute the agent or an adapted version, include the Apache 2.0 licence, mark the files you changed, and keep the relevant attribution, including the authorship by Anthropic recorded in the manifest.
