gem-code-simplifier

gem-code-simplifier is an agent for Claude Code from asleekgeek/claude-multiagent-catalogue. It costs 21 tokens per session (1,867 once invoked), scanned A, original, no licence file.

A refactoring guide for making source code smaller, clearer, and less repetitive.

In plain words
What is it for?
It is for removing dead code, simplifying difficult sections, and combining repeated implementations.
Why use it?
It helps identify unused code, unnecessary complexity, and duplicated logic that make software harder to maintain.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

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/asleekgeek/claude-multiagent-catalogue/gem-code-simplifier
Clone the repo
git clone --depth 1 https://github.com/asleekgeek/claude-multiagent-catalogue

Made for: Claude Code.

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 gem-code-simplifier

README.md
[![agentmods](https://agentmods.dev/badge/agents/asleekgeek/claude-multiagent-catalogue/gem-code-simplifier.svg)](https://agentmods.dev/agents/asleekgeek/claude-multiagent-catalogue/gem-code-simplifier)
Your own site
<a href="https://agentmods.dev/agents/asleekgeek/claude-multiagent-catalogue/gem-code-simplifier"><img src="https://agentmods.dev/badge/agents/asleekgeek/claude-multiagent-catalogue/gem-code-simplifier.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 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,867 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.1 $0.00021 $0.01867
Opus 5 $0.00010 $0.00933
Sonnet 5 $0.00004 $0.00373
Haiku 4.5 $0.00002 $0.00187

Measured 2d ago against content hash ff0bc8ead05d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

gem-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 2d 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.

agents/gem-code-simplifier.md · 277 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. 2d ago First seen · 277 lines · 21 tokens per session scan A ff0bc8ead05d

Subscribe to this mod's changes

gem-code-simplifier is an agent published in the GitHub repository asleekgeek/claude-multiagent-catalogue (2 stars, last pushed 3mo ago), with no licence file. It adds 21 tokens to every session and 1,867 once invoked, about $0.0001 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-09-03.

Related

Other agents, from other repositories

deep-reviewer

Use this agent as a reactive reliability gatekeeper — dispatched for deep debugging, security assessment, deployment safety validation, PR review, and incident investigation across the your project. Covers Go ( ), Python ( ), TypeScript/React ( ), and Kubernetes/GCP infrastructure. This agent does NOT write fixes — it…

asiflow/claude-nexus-hyper-agent-team · 587 tokens

bug-hunter

Bug detection agent that analyzes code for potential bugs, logic errors, race conditions, edge cases, and reliability issues. Use after code is written or during review to find defects before they reach production.

rootwarp/claude-code-plugins-monorepo · 43 tokens

engineer

Senior software engineer specializing in architecture, implementation, debugging, and code review. Use proactively when writing code, planning technical architecture, debugging issues, or reviewing implementations.

pcatattacks/solopreneur-plugin · 35 tokens

RPI Reviewer

Review subagent for the RPI Orchestrator. Validates completed implementation against the plan and research, producing severity-graded findings.

AndyElessar/skills · 31 tokens

silent-failure-hunter

Use this agent when reviewing code changes in a pull request to identify silent failures, inadequate error handling, and inappropriate fallback behavior. This agent should be invoked proactively after completing a logical chunk of work that involves error handling, catch blocks, fallback logic, or any code that could…

troykelly/claude-skills · 0 tokens

deep-reviewer

Use this agent as a reactive reliability gatekeeper — dispatched for deep debugging, security assessment, deployment safety validation, PR review, and incident investigation across the your project. Covers Go ( ), Python ( ), TypeScript/React ( ), and Kubernetes/GCP infrastructure. This agent does NOT write fixes — it…

asiflow/claude-nexus-hyper-agent-team-light · 587 tokens