simplify

A review of recent code changes for repeated code, maintainability problems, and inefficient solutions.

In plain words
What is it for?
Use it to audit changed files, identify existing helpers that could be reused, and receive specific suggestions for improving the code.
Why use it?
It helps find copied logic, unnecessary complexity, hidden errors, unclear names, and other sources of technical debt before they spread.

Skill for Claude CodeCodex

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 skills/qinghaoliqaq/autocoder/simplify
Any agent
npx skills add qinghaoliqaq/AutoCoder --skill simplify
Clone the repo
git clone --depth 1 https://github.com/qinghaoliqaq/AutoCoder

Made for: Claude Code, Codex.

Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 607 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00043 $0.00607
Opus 5 $0.00022 $0.00303
Sonnet 5 $0.00009 $0.00121
Haiku 4.5 $0.00004 $0.00061

Measured 2d ago against content hash 7dd9c2f3089a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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

src-tauri/src/bundled_skills/simplify/SKILL.md · 85 lines

How it starts

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

Simplify — Code Review for Reuse, Quality, and Efficiency

Review the recent code changes across three dimensions simultaneously. For each dimension, analyze the changed files and provide actionable findings.

Review Dimension 1: Code Reuse

Search the codebase for existing utilities, helpers, and patterns that the changed code could leverage instead of reimplementing:

  • Look for existing functions that do the same thing (or nearly the same)
  • Identify copy-pasted logic that could use a shared helper
  • Find framework/library utilities being reimplemented by hand
  • Check if there are existing types, constants, or enums that should be reused

For each finding, provide:

  • The duplicated code location (file:line)
  • The existing utility that should be used instead
  • A suggested fix

Review Dimension 2: Code Quality

Review the changes for patterns that indicate technical debt or fragility:

  • Overly complex conditionals that could be simplified
  • Magic numbers or strings that should be named constants
  • Functions doing too many things (violating single responsibility)
  • Error handling that swallows or hides failures
  • Naming that doesn't clearly communicate intent
  • Dead code paths or unreachable branches
  • Missing edge case handling at system boundaries

For each finding, provide:

  • The problematic code location
  • Why it's a problem
  • A suggested improvement

Review Dimension 3: Efficiency

Review for unnecessary computational work or architectural inefficiency:

  • N+1 query patterns or redundant data fetches
  • Unnecessary allocations in hot paths
  • Blocking operations that could be async
  • Missing caching for expensive repeated computations
  • Unnecessary serialization/deserialization cycles
  • Large data structures being cloned when references would suffice
  • Sequential operations that could run concurrently

For each finding, provide:

  • The inefficient code location
  • The performance impact (estimated)
  • A suggested optimization

Output Format

Organize findings by dimension. For each dimension:

  1. List findings from most to least impactful
  2. Include file paths and line numbers
  3. Show concrete code suggestions (not just descriptions)
  4. Skip trivial issues — focus on changes that meaningfully improve the code

Read the full file on GitHub · 85 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. 2d ago First seen · 85 lines · 43 tokens per session scan A 7dd9c2f3089a

Subscribe to this mod's changes

simplify is a skill published in the GitHub repository qinghaoliqaq/AutoCoder (11 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 43 tokens to every session and 607 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

skeptic-review

Use when you want an adversarial steelman pass on a text artifact before it ships — surface the load-bearing claims, the strongest unaddressed counter-position, the top failure modes, and any causality-vs-correlation gaps. Encodes the Skeptic deliberator role from the agent-council 5-perspective quality gate. Use…

Avyayalaya/agent-council · 124 tokens

rubber-duck

Adversarial "rubber duck" review that turns explaining-out-loud into a hallucination check. The main session is the PRESENTER (it did the work — a design doc, investigation, or analysis — and holds the real reasoning) and reconstructs the topic to a LISTENER — a spawned subagent pinned to a DIFFERENT-vendor model that…

kirodotdev/KiroCrew · 161 tokens

dispatch

Use when a task file exists in .hyperflow/tasks/ and workers need dispatching. Fans out parallel workers under per-batch Reviewers, runs a final integration review, and commits per sub-task. Endpoint of the auto-chain — no auto-deploy. Trigger with /hyperflow:dispatch, "run the plan", "execute the task", "build it"…

jeremylongshore/tons-of-skills-marketplace · 81 tokens

ha-skill-creator

Create, edit, improve, or audit Hope Agent skills. Use when the user wants to: (1) create a new skill from scratch, (2) edit or improve an existing skill, (3) review or clean up a SKILL.md file, (4) run evaluations to test skill effectiveness, (5) optimize skill descriptions for better trigger accuracy. Trigger…

shiwenwen/hope-agent · 106 tokens

ha-mac-control

Hope Agent native macOS desktop control — the standard maccontrol status / diagnostics / apps / dock / spaces / snapshot / visual / windows / menu / clipboard / dialog loop, target-first action rules, no-blind-coordinate policy, and recovery for stale AX/window/menu/dialog state. Load whenever using maccontrol, or…

shiwenwen/hope-agent · 139 tokens

ha-logs

Self-service diagnostics — query Hope Agent's local SQLite databases (logs / sessions / background jobs) directly via the exec tool to investigate problems, analyze usage, and locate root causes. Trigger on: user reports something broken / failing / slow / stuck / not responding ('X 不工作', 'X 报错', 'X 卡住', '为什么 X 失败'…

shiwenwen/hope-agent · 183 tokens