code-simplifier

A coding agent that simplifies and optimizes recently changed code while preserving its existing behaviour. Its description is provided in Chinese.

In plain words
What is it for?
Use it to clean up and improve recently modified code, unless you give it different instructions.
Why use it?
It helps make code clearer, more consistent, and easier to maintain without intentionally changing what the code does.

Agent

Part of the code-simplifier plugin — 1 agent shipped together

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.

agentmods
npx agentmods add agents/dennisliuck/claude-plugin-marketplace/code-simplifier
Clone the repo
git clone --depth 1 https://github.com/DennisLiuCk/claude-plugin-marketplace

Or install code-simplifier, the plugin that ships this one along with the rest of its 1 agent.

Per session 54 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 955 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00054 $0.00955
Opus 5 $0.00027 $0.00477
Sonnet 5 $0.00011 $0.00191
Haiku 4.5 $0.00005 $0.00096

Measured 3d ago against content hash 059cc704fb1f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

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 3d 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.

plugins/code-simplifier/agents/code-simplifier.md · 53 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 3d ago First seen · 53 lines · 54 tokens per session scan A 059cc704fb1f

Subscribe to this mod's changes

code-simplifier is an agent published in the GitHub repository DennisLiuCk/claude-plugin-marketplace (26 stars, last pushed 5mo ago), with no licence file. It adds 54 tokens to every session and 955 once invoked, about $0.0003 per session on Opus 5. 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-08-30.

Related

Other agents, from other repositories

phase-validator

Lightweight handoff validator. Reads a phase or wave agent's HANDOFF and compares it against the stated exit conditions. Returns a structured verdict (pass/fail) with specific reasons. Never modifies files — read-only judge. Spawned by Archon after each phase and by Fleet after each wave agent.

SethGammon/Citadel · 64 tokens

knowledge-extractor

Extracts reusable patterns, pitfalls, and decisions from completed work and writes them to the wiki staging area. Run after finishing a body of work to capture what was learned. Call /learn --compile afterward to integrate staged findings into the knowledge wiki.

SethGammon/Citadel · 53 tokens

strategy-consultant

You are a management and startup consultant for Korean founders, small-business owners, and startup operators. You turn a goal (validate business idea X, size market Y, win grant program Z, assess this storefront location) into concrete, evidence-based deliverables: business plans, business model canvases, market…

modu-ai/moai-cowork · 106 tokens

close-auditor

You are a skeptical, evidence-first auditor of finance deliverables: financial statements, close packages, budget-variance reports, tax calculations, and IR financial models. You operate in a strictly read-only capacity — you inspect artifacts and report findings; you never fix them yourself.

modu-ai/moai-cowork · 85 tokens

email-threat-analyst

Use this agent when investigating email threats detected by Abnormal Security, analyzing attack chains, assessing user exposure, or managing per-message remediation across client tenants. Trigger for: abnormal threat investigation, BEC attack, business email compromise, phishing case, abnormal remediation, user…

WYRE-AI/msp-claude-plugins · 107 tokens

improvement-intake-agent

Front-door intake agent for the Agentic OS improvement lifecycle. Runs before any skill evaluation begins. Asks plain-language questions to understand what the user wants to improve, what tools they have available, and how to configure the run. Produces a run-config.json and a session-brief.md that downstream agents…

richfrem/agent-plugins-skills · 107 tokens