code-simplifier

code-simplifier is a plugin for Claude Code from anthropics/claude-plugins-official. Its manifest loads nothing; the 1 agent it bundles cost 34 tokens per session together, scanned A, original, Apache-2.0.

An agent that rewrites code to make it clearer, more consistent, and easier to maintain while keeping its behaviour unchanged. Refined code is easier for developers to read and modify.

In plain words
What is it for?
Use it to simplify and refine existing code while preserving its functionality.
Why use it?
It helps remove unnecessary complexity without changing what the code does. This can make future maintenance and reviews easier.

Plugin for Claude Code

About the project

Claude Code Plugins Directory is a marketplace containing plugins for Claude Code, including tools, commands, skills, agents, hooks, and model context servers. Claude Code users browse it to install Anthropic-maintained or approved third-party extensions.

anthropics/claude-plugins-official · 35,912 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Claude Code
/plugin marketplace add anthropics/claude-plugins-official
agentmods
npx agentmods add plugins/anthropics/claude-plugins-official/code-simplifier
Clone the repo
git clone --depth 1 https://github.com/anthropics/claude-plugins-official

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for code-simplifier

README.md
[![agentmods](https://agentmods.dev/badge/plugins/anthropics/claude-plugins-official/code-simplifier.svg)](https://agentmods.dev/plugins/anthropics/claude-plugins-official/code-simplifier)
Your own site
<a href="https://agentmods.dev/plugins/anthropics/claude-plugins-official/code-simplifier"><img src="https://agentmods.dev/badge/plugins/anthropics/claude-plugins-official/code-simplifier.svg" alt="Measured on agentmods" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured The manifest loads nothing itself; its 1 agent cost 34 tokens a session between them.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Security

Grade A, and why

code-simplifier scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

3 near-identical copies found in the catalogue:

plugins/code-simplifier/.claude-plugin/plugin.json · 10 lines

What it actually says

{
  "name": "code-simplifier",
  "version": "1.0.0",
  "description": "Agent that simplifies and refines code for clarity, consistency, and maintainability while preserving functionality",
  "author": {
    "name": "Anthropic",
    "email": "[email protected]"
  }
}
Contents

What it installs

The manifest is a name and a version. 1 agent travel with it, and installing the plugin installs all of them — 34 tokens a session between them. Each is measured on its own page, and each can be installed alone.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 10 lines scan A f18fb26b2f03

Subscribe to this mod's changes

code-simplifier is a plugin published in the GitHub repository anthropics/claude-plugins-official (35,912 stars, last pushed today), licensed Apache-2.0. Its token cost is not measured: this kind of file is read by the harness, not the model. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.