simplify-code

simplify-code is a skill for Claude Code, Codex from jozrftamson/hermes-figma-prompt-hub. It costs 14 tokens per session (3,379 once invoked), scanned A, a copy of simplify-code, MIT.

A cleanup review that uses four separate reviewers to examine recent code changes for duplication, unnecessary complexity, waste, and shallow fixes. It is intended for improving code that already works, not for finding correctness bugs.

In plain words
What is it for?
Use it after making changes when you want to simplify code, remove repetition, reduce complexity, or improve efficiency. It then collects the findings and applies the worthwhile fixes.
Why use it?
It separates different kinds of cleanup so each review can focus on one problem instead of producing one broad, less focused pass.

Skill for Claude CodeCodex

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

Good fit Use it after making changes when you want to simplify code, remove repetition, reduce complexity, or improve efficiency. It then collects the findings and applies the worthwhile fixes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jozrftamson/hermes-figma-prompt-hub/simplify-code
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 jozrftamson/hermes-figma-prompt-hub --skill simplify-code
Clone the repo
git clone --depth 1 https://github.com/jozrftamson/hermes-figma-prompt-hub

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 simplify-code

README.md
[![agentmods](https://agentmods.dev/badge/skills/jozrftamson/hermes-figma-prompt-hub/simplify-code/github.svg)](https://agentmods.dev/skills/jozrftamson/hermes-figma-prompt-hub/simplify-code)
Your own site
<a href="https://agentmods.dev/skills/jozrftamson/hermes-figma-prompt-hub/simplify-code"><img src="https://agentmods.dev/badge/skills/jozrftamson/hermes-figma-prompt-hub/simplify-code/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 simplify-code

Your own site · 80×15
<a href="https://agentmods.dev/skills/jozrftamson/hermes-figma-prompt-hub/simplify-code"><img src="https://agentmods.dev/badge/skills/jozrftamson/hermes-figma-prompt-hub/simplify-code.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,379 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 100% copy Near-identical to another mod 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.00014 $0.03379
Opus 5.5 $0.00006 $0.01352
Sonnet 5.5 $0.00003 $0.00676
Haiku 4.5 $0.00001 $0.00338

Measured 12d ago against content hash 9ee977c3362a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

simplify-code 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 12d 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

This is a copy

100% identical to simplify-code — 6 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/software-development/simplify-code/SKILL.md · 271 lines

How it starts

The opening of the file, as written. The whole thing — 271 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Simplify Code — Parallel Review & Cleanup

Review your recent code changes with four focused reviewers running in parallel, aggregate their findings, and apply the fixes worth applying.

This is a cleanup pass, not a bug hunt. You are improving the quality of code that already works — removing duplication, flattening needless complexity, cutting waste, and deepening band-aid fixes. Do not go hunting for correctness bugs here; that's what requesting-code-review is for.

Core principle: Four narrow reviewers beat one broad reviewer. Each one deeply searches the codebase for a single class of problem — reuse, quality, efficiency, altitude — without diluting its attention across all four. They run concurrently, so you pay the latency of one review, not four.

When to Use

Trigger this skill when the user says any of:

  • "simplify" / "simplify my changes" / "simplify these changes"
  • "review my code" / "review my recent changes" / "clean up my changes"
  • "/simplify" (if they're carrying the Claude Code habit over)

Optional modifiers the user may add — honor them:

  • Focus: "simplify focus on efficiency" → run only the efficiency reviewer (or weight the aggregation toward it). Recognized focuses: reuse, quality (also accepts simplification), efficiency, altitude.
  • Dry run: "simplify but don't change anything" / "just report" → run the four reviewers, present findings, apply NOTHING. Ask before applying.
  • Scope: "simplify the last commit" / "simplify staged" / "simplify src/foo.py" → narrow the diff source accordingly (see Phase 1).

Do NOT auto-run this after every edit or tack it onto the end of unrelated tasks. It costs four subagents' worth of tokens — invoke it only when the user explicitly asks.

The Process

Phase 1 — Identify the changes

Capture the diff to review. Pick the source by what the user asked for, in this default order:

# 1. Default: uncommitted working-tree changes (tracked files)
git diff

# 2. If that's empty, include staged changes
git diff HEAD

# 3. Scoped variants the user may request:
git diff --staged                 # "staged changes"
git diff HEAD~1                    # "the last commit"
git diff main...HEAD              # "this branch" / "my PR"
git diff -- src/foo.py            # specific file(s)

Read the full file on GitHub · 271 lines

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. 12d ago First seen · 271 lines · 14 tokens per session scan A 9ee977c3362a

Subscribe to this mod's changes

simplify-code is a skill published in the GitHub repository jozrftamson/hermes-figma-prompt-hub (1 stars, last pushed 13d ago), licensed MIT. It adds 14 tokens to every session and 3,379 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to simplify-code, differing in 6 lines, and is treated as a copy.

Related

simplify-code compared with skills from other repositories

simplify-code next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
simplify-codejozrftamson/hermes-figma-prompt-hubSkill113d agoMITA14Claude Code, Codex
code-review-csharppnp/copilot-promptsSkill912todayMITA66Claude Code, Codex
release-pr-reviewcyanheads/obsidian-mcp-serverSkill72119d agoApache-2.0A136Claude Code
code-reviewdevcxl/mattpocock-skills-zhSkill566todayMITA109Claude Code, Codex
review-commitmoonlight-lupin/agent-skillsSkill135yesterdayMITA167Claude Code, Codex
auditpe-menezes/vibeflowSkill345d agoMITA132Claude Code
code-reviewggg123124/vrchat-assistantSkill30yesterdayMITA96Claude Code, Codex