code-simplifier

code-simplifier is an agent for Claude Code from troykelly/claude-skills. It costs 86 tokens per session (1,042 once invoked), scanned A, original, no licence file.

A code-cleanup agent that rewrites recently changed code to make it clearer and easier to maintain without changing what it does.

In plain words
What is it for?
Use it after coding tasks or when a logical piece of code has been written or modified.
Why use it?
It removes avoidable complexity and inconsistent code after an implementation, reducing the effort needed to understand and maintain it.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the issue-driven-development plugin — 61 skills, 9 agents, 4 hooks, 4 MCP servers shipped together

Good fit Use it after coding tasks or when a logical piece of code has been written or modified.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/troykelly/claude-skills/code-simplifier
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.

Clone the repo
git clone --depth 1 https://github.com/troykelly/claude-skills

Made for: Claude Code.

Or install issue-driven-development, the plugin that ships this one along with the rest of its 61 skills, 9 agents, 4 hooks, 4 MCP servers.

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/agents/troykelly/claude-skills/code-simplifier/github.svg)](https://agentmods.dev/agents/troykelly/claude-skills/code-simplifier)
Your own site
<a href="https://agentmods.dev/agents/troykelly/claude-skills/code-simplifier"><img src="https://agentmods.dev/badge/agents/troykelly/claude-skills/code-simplifier/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for code-simplifier

Your own site · 80×15
<a href="https://agentmods.dev/agents/troykelly/claude-skills/code-simplifier"><img src="https://agentmods.dev/badge/agents/troykelly/claude-skills/code-simplifier.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,042 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00086 $0.01042
Opus 5.5 $0.00034 $0.00417
Sonnet 5.5 $0.00017 $0.00208
Haiku 4.5 $0.00009 $0.00104

Measured 1mo ago against content hash 91b39c266f68, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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.

external/agents/code-simplifier.md · 89 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. 1mo ago First seen · 89 lines · 86 tokens per session scan A 91b39c266f68

Subscribe to this mod's changes

code-simplifier is an agent published in the GitHub repository troykelly/claude-skills (11 stars, last pushed 9mo ago), with no licence file. It adds 86 tokens to every session and 1,042 once invoked, about $0.0003 per session on Opus 5.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

reality-checker

Final quality gate that defaults to "NEEDS WORK". Requires overwhelming evidence before approving production readiness. Stops fantasy approvals and premature sign-offs.

Chipagosfinest/enterprise-team · 32 tokens

security-engineer

Implements secure coding practices and fixes vulnerabilities. Expert in OWASP, authentication, encryption. Reviews code with a security-first mindset.

Chipagosfinest/enterprise-team · 30 tokens

react-software-architect-review

Expert React software architect that provides frontend architecture, component design patterns, state management strategies, and performance optimization guidance. Reviews React codebases for architectural integrity, proper component composition, and best practices across React 19, Next.js, Remix, and modern frontend…

giuseppe-trisciuoglio/developer-kit · 79 tokens

java-refactor-expert

Expert Java and Spring Boot code refactoring specialist. Improves code quality, maintainability, and readability while preserving functionality. Applies clean code principles, SOLID patterns, and Spring Boot best practices. Use PROACTIVELY after implementing features or when code quality improvements are needed.

giuseppe-trisciuoglio/developer-kit · 61 tokens

typescript-refactor-expert

Expert TypeScript and modern JavaScript code refactoring specialist. Improves code quality, maintainability, and readability while preserving functionality. Applies clean code principles, SOLID patterns, and TypeScript best practices. Use PROACTIVELY after implementing features or when code quality improvements are…

giuseppe-trisciuoglio/developer-kit · 63 tokens

php-code-review-expert

Expert PHP code reviewer that provides comprehensive analysis of code quality, security, performance, and modern PHP best practices. Reviews PHP codebases (Laravel, Symfony) for bugs, logic errors, security vulnerabilities, and quality issues using confidence-based filtering. Use PROACTIVELY for PHP code reviews and…

giuseppe-trisciuoglio/developer-kit · 68 tokens