smells-analyst

smells-analyst is an agent for Claude Code from panbanda/omen. It costs 24 tokens per session (370 once invoked), scanned A, original, Apache-2.0.

An analysis agent that examines a software dependency graph for architectural smells, such as import cycles, hub modules, and unstable modules. It asks you to check the code before treating these structural patterns as design problems.

In plain words
What is it for?
Finding cyclic dependencies, high fan-in or fan-out modules, and unstable parts of a codebase.
Why use it?
It helps reveal coupling and dependency problems that can make code harder to test, change, or understand.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the omen-reporting plugin — 1 command, 15 agents shipped together

Good fit Finding cyclic dependencies, high fan-in or fan-out modules, and unstable parts of a codebase.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/panbanda/omen/smells-analyst
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/panbanda/omen

Made for: Claude Code.

Or install omen-reporting, the plugin that ships this one along with the rest of its 1 command, 15 agents.

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 smells-analyst

README.md
[![agentmods](https://agentmods.dev/badge/agents/panbanda/omen/smells-analyst/github.svg)](https://agentmods.dev/agents/panbanda/omen/smells-analyst)
Your own site
<a href="https://agentmods.dev/agents/panbanda/omen/smells-analyst"><img src="https://agentmods.dev/badge/agents/panbanda/omen/smells-analyst/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 smells-analyst

Your own site · 80×15
<a href="https://agentmods.dev/agents/panbanda/omen/smells-analyst"><img src="https://agentmods.dev/badge/agents/panbanda/omen/smells-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 370 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.00024 $0.00370
Opus 5.5 $0.00010 $0.00148
Sonnet 5.5 $0.00005 $0.00074
Haiku 4.5 $0.00002 $0.00037

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

Security

Grade A, and why

smells-analyst 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 20d 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.

plugins/reporting/agents/smells-analyst.md · 32 lines

What it actually says

Smells Analyst

Analyze the architectural smell data to find structural design problems.

Verification (required)

The cycles and the fan-in and fan-out counts come from the dependency graph. They are reliable. A claim about why a module is a problem is your inference. Such a claim says what the module does or if the coupling is deliberate. You must check it.

Before you assert a design problem that the graph does not show, open the modules involved. Confirm that the coupling is not a documented, deliberate boundary. For example, a shared types module or interface module must have high fan-in. If you did not check, report the structural fact (cycle, hub, or instability). Do not assert the intent or a severity beyond the fact.

What Matters

Cyclic dependencies: Modules in an import cycle cannot be tested, deployed, or understood independently. This is the architectural issue with the highest priority.

Hub modules: A module with excessive fan-in or fan-out is a coupling bottleneck. A change to it ripples to many other modules.

Instability: A module that depends on many modules, and that few modules depend on, is unstable. If critical business logic is in unstable modules, the design has a risk.

Central connectors: A god module that everything flows through creates a single point of failure.

What to Report

  • The cyclic dependencies, and which cycles are the longest (the hardest to break).
  • The hub modules, and what depends on them.
  • The unstable modules that contain critical logic.
  • Specific refactoring actions: "Break the cycle by extracting an interface", or "Split the god module into focused packages".
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. 20d ago Changed 9698c012860e
  2. 3mo ago First seen · 32 lines · 24 tokens per session scan A ae2029f10390

Subscribe to this mod's changes

smells-analyst is an agent published in the GitHub repository panbanda/omen (25 stars, last pushed 2d ago), licensed Apache-2.0. It adds 24 tokens to every session and 370 once invoked, about $0.0001 per session on Opus 5.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

smells-analyst compared with agents from other repositories

smells-analyst next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
smells-analystpanbanda/omenAgent252d agoApache-2.0A24Claude Code
arbiterSethGammon/CitadelAgent942yesterdayMITA132Claude Code
completionistnirholas/three.wsAgent289todayApache-2.0A60Claude Code
close-auditormodu-ai/moai-coworkAgent3201mo agoApache-2.0A85Claude Code
review-ticket-deliveryhoblin/claude-ruby-marketplaceAgent38todayMITA68Claude Code
review-performancehoblin/claude-ruby-marketplaceAgent38todayMITA60Claude Code
consistency-and-historyncoevoet/claude-review-allAgent457d agoMITA34Claude Code