code-simplification

code-simplification is a skill for Claude Code from Rahulchaube1/-Skills-for-Agents. It costs 51 tokens per session (3,074 once invoked), scanned A, original, no licence file.

A code-refactoring aid that makes working code easier to read, maintain, and extend without changing what it does.

In plain words
What is it for?
Use it to simplify code that has become difficult to understand or has accumulated extra structure.
Why use it?
It removes unnecessary complexity that can make future changes and code reviews harder.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agent-skills plugin — 64 skills, 7 commands shipped together

Good fit Use it to simplify code that has become difficult to understand or has accumulated extra structure.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rahulchaube1/-skills-for-agents/code-simplification
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 Rahulchaube1/-Skills-for-Agents --skill code-simplification
Clone the repo
git clone --depth 1 https://github.com/Rahulchaube1/-Skills-for-Agents

Made for: Claude Code.

Or install agent-skills, the plugin that ships this one along with the rest of its 64 skills, 7 commands.

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-simplification

README.md
[![agentmods](https://agentmods.dev/badge/skills/rahulchaube1/-skills-for-agents/code-simplification.svg)](https://agentmods.dev/skills/rahulchaube1/-skills-for-agents/code-simplification)
Your own site
<a href="https://agentmods.dev/skills/rahulchaube1/-skills-for-agents/code-simplification"><img src="https://agentmods.dev/badge/skills/rahulchaube1/-skills-for-agents/code-simplification.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,074 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.00051 $0.03074
Opus 5 $0.00026 $0.01537
Sonnet 5 $0.00010 $0.00615
Haiku 4.5 $0.00005 $0.00307

Measured 7d ago against content hash 541aad20f1b6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

code-simplification 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 7d 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-simplification/SKILL.md · 337 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

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. 7d ago First seen · 337 lines · 51 tokens per session scan A 541aad20f1b6

Subscribe to this mod's changes

code-simplification is a skill published in the GitHub repository Rahulchaube1/-Skills-for-Agents (2 stars, last pushed 2mo ago), with no licence file. It adds 51 tokens to every session and 3,074 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-31.

Related

Other skills, from other repositories

tex-render

Renders LaTeX math to PNG, JPEG, WebP, or AVIF images using MathJax (TeX→SVG) and @svg-fns/svg2img. Invoke whenever the agent needs to output LaTeX as a viewable image (equations, formulas, notation).

LFTPadilla/agent-dev-kit · 63 tokens

web-browse

Navigate websites and interact with web pages as a human user. Use when needing to browse, scrape, extract data from, or interact with websites that require real browser behavior (login flows, dynamic content, CAPTCHAs, bot detection, etc.). Triggers on phrases like "browse to", "go to website", "open webpage", "check…

LFTPadilla/agent-dev-kit · 100 tokens

diagram-render

Renders network diagrams, flowcharts, and infrastructure diagrams as PNG images using SVG generation and sharp. Use when the agent needs to output a network diagram, system architecture, flowchart, or infrastructure map as a viewable image. Triggers on: "make a diagram", "render this network", "show infrastructure as…

LFTPadilla/agent-dev-kit · 82 tokens

excel-xlsx

Create Microsoft Excel .xlsx spreadsheets from tables, CSV/TSV, Markdown tables, or JSON data. Use when the user asks for Excel, spreadsheet, .xlsx, tabla editable, budget, inventory, report table, calculations, or data they need to open/edit in Microsoft Excel.

LFTPadilla/agent-dev-kit · 61 tokens

word-docx

Create Microsoft Word .docx documents from a title and body text. Use when the user asks for a Word file, .docx, formal letter, proposal, quote, report, or document to edit/share in Microsoft Word.

LFTPadilla/agent-dev-kit · 50 tokens

image-finalize

Two-stage image generation workflow. First asks clarifying questions, then uses minimax for fast iterative drafts, then gemini-3-pro-image-preview for final polish. Trigger on image generation requests, editing/refining images, or when user wants to produce a final version.

LFTPadilla/agent-dev-kit · 58 tokens