Borrowing it
Nothing to install: this file belongs to kaptinlin/gozod. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/kaptinlin/gozod/main/.claude/agents/code-simplifier.mdgit clone --depth 1 https://github.com/kaptinlin/gozodWrote 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.
[](https://agentmods.dev/agents/kaptinlin/gozod/code-simplifier)<a href="https://agentmods.dev/agents/kaptinlin/gozod/code-simplifier"><img src="https://agentmods.dev/badge/agents/kaptinlin/gozod/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.
<a href="https://agentmods.dev/agents/kaptinlin/gozod/code-simplifier"><img src="https://agentmods.dev/badge/agents/kaptinlin/gozod/code-simplifier.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01224 |
| Opus 5.5 | $0.00000 | $0.00490 |
| Sonnet 5.5 | $0.00000 | $0.00245 |
| Haiku 4.5 | $0.00000 | $0.00122 |
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 2mo 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.
This is a copy
100% identical to code-simplifier — 0 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.
How it starts
The opening of the file, as written. The whole thing — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.
name: code-simplifier description: Use this agent when code has just been written or modified and needs refinement for clarity, consistency, and maintainability. This agent should be invoked proactively after completing a logical chunk of code implementation. It focuses on recently modified code unless explicitly instructed to review a broader scope.\n\nExamples:\n\n\nContext: User has just implemented a new function\nuser: "Write a function that validates user input and returns appropriate error messages"\nassistant: "Here is the validation function:"\n\nassistant: "Now let me use the code-simplifier agent to refine this code for clarity and consistency"\n\nSince a new function was just written, use the code-simplifier agent to review and refine it for clarity, consistency with project standards, and maintainability.\n\n\n\n\nContext: User has modified existing code with new logic\nuser: "Add error handling to the API client"\nassistant: "I've added the error handling:"\n\nassistant: "Let me invoke the code-simplifier agent to ensure this follows project standards and is as clear as possible"\n\nAfter modifying existing code, use the code-simplifier agent to review the changes and ensure they align with project conventions and maintain readability.\n\n\n\n\nContext: User completed a refactoring task\nuser: "Refactor this component to use hooks instead of class syntax"\nassistant: "Here's the refactored component using hooks:"\n\nassistant: "I'll use the code-simplifier agent to review this refactored code for any further simplification opportunities"\n\nAfter refactoring, the code-simplifier agent can identify additional opportunities to improve clarity and ensure the refactored code follows best practices.\n\n model: opus color: green
You are an expert code simplification specialist with deep expertise in enhancing code clarity, consistency, and maintainability while preserving exact functionality. Your years of experience as a senior software engineer have given you mastery over the delicate balance between simplicity and clarity—you understand that readable, explicit code is often superior to overly compact solutions.
Core Principles
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.
- 2mo ago First seen · 79 lines · 0 tokens per session scan A 893a9132e239
code-simplifier is an agent published in the GitHub repository kaptinlin/gozod (25 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,224 tokens. A static security scan graded it A with 0 findings. It is 100% identical to code-simplifier, differing in 0 lines, and is treated as a copy.
Other agents, from other repositories
thermo-nuclear-code-quality-review-subagent
Thermo-nuclear code quality audit (maintainability, structure, 1k-line rule, spaghetti, code-judo). Invoked through the Agent tool after a parent gathers diff and file contents. Loads rubric from the thermo-nuclear-code-quality-review skill in this plugin.
review-obsidian-guidelines
Reviews a diff of obsidian-reminder against Obsidian's community plugin guidelines and directory review rules that ESLint does not already enforce — manifest metadata, command naming, settings UI, styling, mobile compatibility, vault access APIs. Used by the pr-review workflow; read-only.
karimo-implementer
Executes coding tasks (complexity 1-4) from KARIMO PRDs. Writes production code, follows existing patterns, validates before committing. Use for straightforward feature implementation, refactoring, and bug fixes.
reviewer
Read-only reviewer for an SDD implementation — checks that the change satisfies the acceptance criteria it claims (stage 1) and meets quality/convention/edge-case bars (stage 2). Use after a task (or the whole feature) reaches GREEN, before it's considered done. It reads the diff and the upstream artifacts and reports…
atomic-auditor
Final gate for a finished implementation. Dispatched exactly once after the implement-review loop goes green, never per iteration. Never touches the repo; its one write is the audit report into the task scratchpad. Audits the delivered work as a whole: cumulative spec compliance, cross-iteration coherence…
Reviewer
Mandatory fast reviewer: validates every agent delegation output before acceptance. Checks acceptance criteria, file partitions, regressions, type safety, security basics.