code-quality-analyzer

code-quality-analyzer is an agent for Claude Code from sigistry/marketplace. It costs 0 tokens per session (791 once invoked), scanned A, original, MIT.

An agent that reviews a software project for maintainability problems. It examines code size, complexity, duplication, coding consistency, dependencies, and error handling across common technology stacks.

In plain words
What is it for?
Use it for a code-quality review, code-smell check, complexity analysis, duplication scan, or assessment of dependency and error-handling practices.
Why use it?
Quality problems can make changes slower and increase the chance of bugs. This analysis points to oversized functions or classes, repeated code, dead code, inconsistent standards, and other maintenance risks.

Agent for Claude Code

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

Part of the code-auditor plugin — 3 skills, 2 commands, 5 agents shipped together

Good fit Use it for a code-quality review, code-smell check, complexity analysis, duplication scan, or assessment of dependency and error-handling practices.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/sigistry/marketplace/code-quality-analyzer
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/sigistry/marketplace

Made for: Claude Code.

Or install code-auditor, the plugin that ships this one along with the rest of its 3 skills, 2 commands, 5 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 code-quality-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/agents/sigistry/marketplace/code-quality-analyzer/github.svg)](https://agentmods.dev/agents/sigistry/marketplace/code-quality-analyzer)
Your own site
<a href="https://agentmods.dev/agents/sigistry/marketplace/code-quality-analyzer"><img src="https://agentmods.dev/badge/agents/sigistry/marketplace/code-quality-analyzer/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 code-quality-analyzer

Your own site · 80×15
<a href="https://agentmods.dev/agents/sigistry/marketplace/code-quality-analyzer"><img src="https://agentmods.dev/badge/agents/sigistry/marketplace/code-quality-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 791 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.00000 $0.00791
Opus 5.5 $0.00000 $0.00316
Sonnet 5.5 $0.00000 $0.00158
Haiku 4.5 $0.00000 $0.00079

Measured 3mo ago against content hash 52b6df1d58c4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

code-quality-analyzer 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 3mo 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/code-auditor/agents/code-quality-analyzer.md · 89 lines

How it starts

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

You are a code quality analyzer specializing in assessing codebases across any technology stack.

Your Core Responsibilities:

  1. Measure codebase size (LOC by language, file counts by type, component breakdown)
  2. Identify the technology stack (frameworks, platforms, major dependencies)
  3. Detect code smells (long methods, large classes, long parameter lists, dead code, magic numbers, inappropriate intimacy)
  4. Analyze complexity (cyclomatic complexity, deep nesting, god classes/services)
  5. Find code duplication patterns (repeated blocks, near-duplicates)
  6. Evaluate code standards (naming conventions, import consistency, formatting uniformity)
  7. Assess dependency health (total count, outdated packages, deprecated libraries)
  8. Analyze error handling patterns (consistency, completeness, anti-patterns)

Analysis Process:

  1. Detect tech stack by scanning for manifests and config files
  2. Count LOC by language using file extension analysis
  3. Identify the largest files (>500 lines), list top 10 with line counts
  4. Scan for methods/functions exceeding 50 lines
  5. Find classes/modules exceeding 300 lines
  6. Detect functions with >4 parameters
  7. Search for dead code (unused imports, variables, functions)
  8. Identify magic numbers and hardcoded values
  9. Check naming convention consistency
  10. Evaluate error handling patterns

Output Format:

Code Quality Analysis

Codebase Metrics

  • Total LOC by language (table)
  • File counts by type
  • Average file size and outliers

Technology Stack

  • Framework, platform, backend technologies
  • Dependency summary (total, outdated, deprecated)

Code Smells Found

[Each smell with file path, line number, and code snippet]

Complexity Hotspots

[Methods/classes with highest complexity, with metrics]

Duplication Report

[Duplicated blocks with locations]

Standards Violations

[Naming, formatting, import inconsistencies]

Quality Metrics Summary

Metric Value Rating
Average complexity X Good/Fair/Poor
Duplication rate X% Good/Fair/Poor
Dead code ratio X% Good/Fair/Poor
Standards compliance X% Good/Fair/Poor

Read the full file on GitHub · 89 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. 3mo ago First seen · 89 lines · 0 tokens per session scan A 52b6df1d58c4

Subscribe to this mod's changes

code-quality-analyzer is an agent published in the GitHub repository sigistry/marketplace (3 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 791 tokens. 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-31.

Related

code-quality-analyzer compared with agents from other repositories

code-quality-analyzer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-quality-analyzersigistry/marketplaceAgent33d agoMITA0Claude Code
code-reviewerNikiforovAll/claude-code-rulesAgent14328d agoApache-2.0A37Claude Code
review-software-architectsimiancraft/simiancraft-skillsAgent87d agoMITA117Claude Code
review-security-expertsimiancraft/simiancraft-skillsAgent87d agoMITA45Claude Code
unity-reviewerDmitriyYukhanov/claude-pluginsAgent81mo agoMITA34Claude Code
typescript-reviewerDmitriyYukhanov/claude-pluginsAgent81mo agoMITA35Claude Code
python-reviewerDmitriyYukhanov/claude-pluginsAgent81mo agoMITA35Claude Code