structure-auditor

structure-auditor is an agent for Claude Code from greglas75/zuvo. It costs 24 tokens per session (1,326 once invoked), scanned A, original, MIT.

A read-only code reviewer for structure, including naming, imports, circular dependencies, oversized files, and tightly connected modules.

In plain words
What is it for?
Use it to inspect project organization, find dependency cycles, assess complexity, and identify files or functions that do too much.
Why use it?
It helps reveal code that is difficult to maintain because its parts are poorly separated or overly dependent on one another.

Agent for Claude Code

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

Part of the zuvo plugin — 57 skills, 48 agents, 5 hooks shipped together

Good fit Use it to inspect project organization, find dependency cycles, assess complexity, and identify files or functions that do too much.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/greglas75/zuvo/structure-auditor
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/greglas75/zuvo

Made for: Claude Code.

Or install zuvo, the plugin that ships this one along with the rest of its 57 skills, 48 agents, 5 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 structure-auditor

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/greglas75/zuvo/structure-auditor"><img src="https://agentmods.dev/badge/agents/greglas75/zuvo/structure-auditor.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 1,326 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.01326
Opus 5.5 $0.00010 $0.00530
Sonnet 5.5 $0.00005 $0.00265
Haiku 4.5 $0.00002 $0.00133

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

Security

Grade A, and why

structure-auditor 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 1mo 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.

skills/review/agents/structure-auditor.md · 128 lines

How it starts

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

Structure Auditor

CRITICAL: First action — load CodeSift schemas

If mcp__codesift__* tools appear in your "deferred tools" list, call ToolSearch FIRST:

ToolSearch(query="select:mcp__codesift__search_text,mcp__codesift__get_file_outline,mcp__codesift__find_circular_deps,mcp__codesift__detect_communities,mcp__codesift__analyze_complexity,mcp__codesift__codebase_retrieval,mcp__codesift__plan_turn")

For ALL code investigation, PREFER CodeSift over Read/Grep/Glob:

  • mcp__codesift__find_circular_deps for cyclic imports
  • mcp__codesift__analyze_complexity(top_n=10) for SRP/size violations
  • mcp__codesift__get_file_outline instead of Read for code files
  • mcp__codesift__detect_communities(focus="src") for module boundaries
  • mcp__codesift__search_text instead of Grep

You are a read-only analysis agent dispatched by zuvo:review. Your job is to audit changed production code for structural quality — naming, imports, file organization, size limits, SRP violations, and coupling.

Read and follow the agent preamble at ../../../shared/includes/agent-preamble.md. You do not modify files.

What You Receive

  1. Production code diff
  2. Detected tech stack and change intent
  3. PRECOMPUTED_DATA — file outlines, complexity scores, and impact data from Phase 0.5
  4. Blast radius data from Phase 0
  5. CODESIFT_AVAILABLE flag and optional repo identifier
  6. Content of rules/file-limits.md (provided by orchestrator)

Tool Discovery

If CODESIFT_AVAILABLE=true:

  1. Repo resolves from CWD. Do NOT call list_repos() unless the orchestrator explicitly says multi-repo.
  2. Start with PRECOMPUTED_DATA. Use find_circular_deps, get_file_outline, or analyze_complexity only for targeted follow-up analysis.

If CODESIFT_AVAILABLE=false: fall back to Read for file content, wc -l for line counts, Grep for function counts.

Workflow

  1. Read PRECOMPUTED_DATA file outlines — check function count, export count per file
  2. Apply file-limits.md thresholds: production file <=300L, test <=400L, function <=50L, params <=5
  3. Check naming conventions against project patterns (read 2-3 existing files in the same directory for calibration)
  4. Check import correctness: circular deps (use CodeSift find_circular_deps if available), barrel export patterns
  5. Check SRP: file outline shows >8 public methods = flag for review
  6. Check coupling: blast radius data shows >5 direct importers of a changed module = flag

Read the full file on GitHub · 128 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. 1mo ago First seen · 128 lines · 24 tokens per session scan A fd7879863bcb

Subscribe to this mod's changes

structure-auditor is an agent published in the GitHub repository greglas75/zuvo (8 stars, last pushed today), licensed MIT. It adds 24 tokens to every session and 1,326 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-09-03.

Related

Other agents, from other repositories

staff-reviewer

Use after full-path verification or for a requested independent review of code, skills, or repository files.

reidemeister94/development-skills · 24 tokens

code-reviewer

Reviews completed implementation for governing-source compliance, scope economy, repository quality policy, and material code correctness. Use after implementation or when review/implementation check/compliance is requested.

shinpr/claude-code-workflows · 38 tokens

release-manager

Cuts a brooks-lint release: sets the version in package.json, propagates it across the four plugin manifests and every version-bearing text file via npm run bump, writes the CHANGELOG entry, re-validates, then commits, pushes to main, tags, and publishes the GitHub release. Final pipeline stage of the brooks-harness…

hyhmrright/brooks-lint · 85 tokens

ring:review-slicer

Review Slicer: Adaptive classification engine that evaluates semantic cohesion to decide whether slicing improves review quality. Sits between Mithril pre-analysis and reviewer dispatch. Classification-only — does NOT read source code.

LerianStudio/ring · 45 tokens

ring:qa

Senior QA Analyst for financial systems. Supports 6 testing modes — unit (default), fuzz, property, integration, chaos, goroutine-leak. Dispatched by orchestrator with mode parameter; loads mode-specific file from qa-modes/.

LerianStudio/ring · 52 tokens

ring:test-reviewer

Test Quality Review: Reviews test coverage, edge cases, test independence, assertion quality, and test anti-patterns. Runs in parallel with other reviewers at Gate 8.

LerianStudio/ring · 39 tokens