code-simplifier

code-simplifier is a skill for Claude Code, Codex from cyanheads/mcp-reporter. It costs 23 tokens per session (281 once invoked), scanned A, original, Apache-2.0.

A code-review workflow for removing unnecessary complexity from changes to an MCP reporting project while keeping tested behavior and public interfaces intact. MCP is a standard for connecting software to AI tools and data.

In plain words
What is it for?
Use it to inspect diffs, simplify changed code, remove dead code and redundant wrappers, and run the relevant checks and tests.
Why use it?
It helps prevent cleanup work from accidentally changing compatibility, pagination, transport behavior, or security boundaries. It also gives a review with no edits as a valid outcome.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md.

Good fit Use it to inspect diffs, simplify changed code, remove dead code and redundant wrappers, and run the relevant checks and tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cyanheads/mcp-reporter/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.

Any agent
npx skills add cyanheads/mcp-reporter --skill code-simplifier
Clone the repo
git clone --depth 1 https://github.com/cyanheads/mcp-reporter

Made for: Claude Code, Codex.

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/skills/cyanheads/mcp-reporter/code-simplifier/github.svg)](https://agentmods.dev/skills/cyanheads/mcp-reporter/code-simplifier)
Your own site
<a href="https://agentmods.dev/skills/cyanheads/mcp-reporter/code-simplifier"><img src="https://agentmods.dev/badge/skills/cyanheads/mcp-reporter/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/skills/cyanheads/mcp-reporter/code-simplifier"><img src="https://agentmods.dev/badge/skills/cyanheads/mcp-reporter/code-simplifier.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 281 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 original 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.00023 $0.00281
Opus 5.5 $0.00009 $0.00112
Sonnet 5.5 $0.00005 $0.00056
Haiku 4.5 $0.00002 $0.00028

Measured 1mo ago against content hash a67f9a61bb1e, 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.

skills/code-simplifier/SKILL.md · 21 lines

What it actually says

Code simplifier

Read CLAUDE.md, the full diff, every changed source file, and relevant tests. Trace behavior before editing. Focus on the changed collection, transport, config and rendering paths.

Prefer explicit types, small functions, native Node APIs and direct SDK calls. Remove dead code, redundant state, unnecessary wrappers and fallbacks that hide invalid data. A shared abstraction earns its place only when it makes actual repeated behavior easier to understand.

Preserve public signatures and compatibility fields, legacy negotiation defaults, ordered bounded pagination, separate collection statuses, descriptor fidelity, credential boundaries and unconditional cleanup. Do not replace explicit page collection with SDK aggregation or filtered list helpers without proving equivalent report semantics.

Avoid cosmetic renames, speculative flexibility and aggressive test deduplication. If a helper makes control flow or typing harder, inline it. A review with no change is a valid result.

Apply one behavior-preserving simplification at a time, then run bun run devcheck and the affected transport/package tests. Report what changed and why, or confirm the changed code was already appropriately scoped. No commits, tags or publishing in this workflow.

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 · 21 lines · 23 tokens per session scan A a67f9a61bb1e

Subscribe to this mod's changes

code-simplifier is a skill published in the GitHub repository cyanheads/mcp-reporter (12 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 23 tokens to every session and 281 once invoked, about $0.0001 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-09-09.

Related

Other skills, from other repositories

safe-refactoring

Execute behavior-preserving or intentionally scoped refactors safely. Use this for multi-file renames, component/service extraction, state-management changes, API migrations, concurrency refactors, or any request where unrelated user work and subtle contracts must be preserved.

ageerle/ruoyi-ai · 52 tokens

nightly-audit-engineer-getting-started

A first-conversation guide for setting up a code-audit assistant. A code audit is a focused review of source code for defects or risky behavior, with the needed repository, scope, concerns, permissions, and schedule clarified first.

makecindy/cindy · 46 tokens

nightly-audit-engineer-ops

A workflow for reviewing code for reproducible quality problems and recording the evidence behind each finding. It follows data through inputs, permissions, storage, asynchronous work, and recovery, then suggests the smallest authorized fix.

makecindy/cindy · 43 tokens

nightly-audit-engineer-evidence

A small local checker that creates stable identifiers for code-audit findings and marks duplicates within the current batch or among previously seen findings. It processes supplied JSON with Python and does not infer whether a problem was fixed.

makecindy/cindy · 37 tokens

mindos

MindOS: local knowledge assistant & shared KB. Keeps decisions, notes, SOPs, debugging lessons, research findings, preferences across sessions/agents. Core: save notes, search KB, organize files, run workflows, review, append CSV, hand off context, distill lessons. NOT for app source or paths outside KB. Triggers…

GeminiLight/MindOS · 136 tokens

superlint

This skill describes the mandatory standard operating procedure for using our internal SuperLint tool. Use this when tasks require fixing code quality issues according to corporate standards.

mgechev/skillgrade · 0 tokens