evolve-smell-scan

evolve-smell-scan is an agent for Claude Code from mickeyyaya/evolve-loop. It costs 56 tokens per session (619 once invoked), scanned A, original, Apache-2.0.

A code-analysis agent that scans selected files for structural problems, design anti-patterns, duplicated code, and architectural violations.

In plain words
What is it for?
Use it during refactoring to find and rank code smells in a module or package.
Why use it?
It gives refactoring work an independent list of problems to address without changing the code itself.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the evo plugin — 26 skills, 27 commands, 97 agents, 3 hooks shipped together

Good fit Use it during refactoring to find and rank code smells in a module or package.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/mickeyyaya/evolve-loop/evolve-smell-scan
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.

Clone the repo
git clone --depth 1 https://github.com/mickeyyaya/evolve-loop

Made for: Claude Code.

Or install evo, the plugin that ships this one along with the rest of its 26 skills, 27 commands, 97 agents, 3 hooks.

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 evolve-smell-scan

README.md
[![agentmods](https://agentmods.dev/badge/agents/mickeyyaya/evolve-loop/evolve-smell-scan.svg)](https://agentmods.dev/agents/mickeyyaya/evolve-loop/evolve-smell-scan)
Your own site
<a href="https://agentmods.dev/agents/mickeyyaya/evolve-loop/evolve-smell-scan"><img src="https://agentmods.dev/badge/agents/mickeyyaya/evolve-loop/evolve-smell-scan.svg" alt="Measured on agentmods" height="20"></a>
Per session 56 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 619 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 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.1 $0.00056 $0.00619
Opus 5 $0.00028 $0.00309
Sonnet 5 $0.00011 $0.00124
Haiku 4.5 $0.00006 $0.00062

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

Security

Grade A, and why

evolve-smell-scan 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 3d 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/evolve-smell-scan.md · 45 lines

What it actually says

Evolve Smell Scanner

You are the Smell Scanner in the Evolve Loop pipeline — an Evaluate-archetype phase the advisor inserts on refactor cycles after Triage. Your job is to locate and rank code smells in the target module or package.

Guiding principle: Be systematic and descriptive. Fowler's taxonomy of code smells (such as primitive obsession, long methods, duplicate code, refused bequest) and intent-level design smells are your primary focus. You document problems but never implement fixes.

Pipeline Position

Triage → [Smell Scan] → (behavior-baseline)
  • Receives from Triage/Scout: scout-report.md (issue description) and the codebase to analyze.
  • Delivers: smell-scan-report.md containing all identified code smells and a design summary.

Workflow

  1. Scope target files. Read scout-report.md to identify the modules or directories being refactored.
  2. Perform smell analysis.
    • Scan files (Read) and search (Grep) to look for structural patterns, code size, nested conditionals, duplicate code blocks, tight coupling, and design patterns.
  3. Report findings. Under ## Findings, list each identified code smell with:
    • File path and line range (e.g., pkg/file.go:L12-34)
    • Severity (Low, Medium, High, Blocker)
    • Smell type (Fowler taxonomy)
    • Detailed description and suggested refactoring approach
  4. Emit signals. Set the namespaced signals:
    • smell.count: total count of identified code smells.
    • smell.blocker_count: count of High or Blocker severity code smells.

Output Contract

Write smell-scan-report.md to the exact path the Deliverable Contract block specifies. It MUST contain a ## Findings section. Run evolve phase verify smell-scan --workspace <dir> before finishing.

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. 3d ago First seen · 45 lines · 56 tokens per session scan A 56b8ba798768

Subscribe to this mod's changes

evolve-smell-scan is an agent published in the GitHub repository mickeyyaya/evolve-loop (5 stars, last pushed 4d ago), licensed Apache-2.0. It adds 56 tokens to every session and 619 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-09-03.

Related

Other agents, from other repositories

architect

Maps component boundaries, data flow, interfaces, and dependency graph.

greglas75/zuvo · 15 tokens

behavior-auditor

Logic correctness, error handling, async safety, and CQ3-CQ10 checks on changed production files.

greglas75/zuvo · 26 tokens

investigator

Comprehensively collects problem-related information and creates evidence matrix. Use PROACTIVELY when bug/error/issue/defect/not working/strange behavior is reported. Reports observations and evidence for downstream cause verification.

shinpr/claude-code-workflows · 46 tokens

solver

Derives multiple solutions for verified causes and analyzes tradeoffs. Use when root cause verification has concluded, or when "solution/how to fix/fix method/remedy" is mentioned. Focuses on solutions from given conclusions without investigation.

shinpr/claude-code-workflows · 48 tokens

trigger-boundary-auditor

Audits the trigger boundaries of the six brooks-lint skills for false-triggering risk and routing collisions. Use before a release, or after editing any SKILL.md description: field. Read-only — reports findings, makes no edits.

hyhmrright/brooks-lint · 56 tokens

fec-performance-optimizer

Front-end performance analysis and optimization specialization: Core Web Vitals, packaging volume, runtime and rendering, network and cache, memory leak troubleshooting; can cooperate with Lighthouse, Bundle analysis and Profiler. Use it when users mention page slowness, lag, first screen, package size, poor…

bovinphang/frontend-craft · 0 tokens