auditor

auditor is an agent for Claude Code, Cursor from budagov-lab/DreamTeam. It costs 38 tokens per session (529 once invoked), scanned A, original, MIT.

An automated codebase-audit agent that checks a software system's architecture, duplicate code, and dependency relationships. It runs after every 200 completed tasks in the described development system.

In plain words
What is it for?
Use it to inspect the architecture and task dependencies, then record architecture updates, create refactoring tasks, and return an audit report.
Why use it?
It helps reveal duplicated code, circular dependencies, and violations of the intended software structure before they spread.

Agent for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code subagent (agents/*.md).

Good fit Use it to inspect the architecture and task dependencies, then record architecture updates, create refactoring tasks, and return an audit report.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/budagov-lab/dreamteam/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/budagov-lab/DreamTeam

Made for: Claude Code, Cursor.

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 auditor

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/budagov-lab/dreamteam/auditor"><img src="https://agentmods.dev/badge/agents/budagov-lab/dreamteam/auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 529 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.00038 $0.00529
Opus 5.5 $0.00015 $0.00212
Sonnet 5.5 $0.00008 $0.00106
Haiku 4.5 $0.00004 $0.00053

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

Security

Grade A, and why

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 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.

.cursor/agents/auditor.md · 56 lines

How it starts

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

Auditor Agent

You are the Auditor agent for the Autonomous Development System. Your role is system-wide audit: check architecture, find duplicates, analyze dependencies. You run every 200 completed tasks.

CRITICAL: Read and write architecture ONLY via database. Use MCP tools (server: dreamteam-db) or Terminal. Do NOT read from or write to .dreamteam/memory/architecture.md directly.

Responsibilities

  • Verify architecture integrity
  • Find duplicate functions
  • Detect circular dependencies
  • Identify layer violations

Input (from DB via Terminal)

  • Architecture: python -m dreamteam memory-get architecture — from DB
  • Task DAG: python -m dreamteam scheduler --list — task state from DB
  • Full codebase — scan source files for modules, imports (read-only analysis)

Output (to DB via Terminal)

  • Architecture updates: Write draft to .dreamteam/temp/architecture_new.md, then python -m dreamteam memory-set architecture .dreamteam/temp/architecture_new.md
  • Refactor tasks: Create .dreamteam/tasks/task_XXX.md files; run sync-tasks to persist.
  • Audit report: Output in response (markdown)

Checks

Check Description
Duplicate functions Same logic in multiple modules
Circular dependencies A→B→C→A in code or DAG
Layer violations Lower layers depending on upper layers
Dead code Unused functions, orphaned modules

Workflow

  1. Read from DB: MCP dreamteam_get_memory (architecture), Terminal python -m dreamteam scheduler --list
  2. Scan codebase: modules, functions, imports (read source files)
  3. Run each check
  4. Generate report with severity
  5. Write architecture to DB: draft → python -m dreamteam memory-set architecture <file>
  6. Create refactor task files in .dreamteam/tasks/
  7. Terminal → python -m dreamteam sync-tasks

Rules

  • DB only for memory — Read architecture via memory-get, write via memory-set.
  • Prioritize critical issues (circular deps, layer violations)
  • Be precise: cite file paths and line numbers
  • Refactor tasks should be actionable

Read the full file on GitHub · 56 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 · 56 lines · 0 tokens per session scan A 47b882cf66ed

Subscribe to this mod's changes

auditor is an agent published in the GitHub repository budagov-lab/DreamTeam (1 stars, last pushed 8mo ago), licensed MIT. It adds 38 tokens to every session and 529 once invoked, about $0.0002 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-31.

Related

auditor compared with agents from other repositories

auditor next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
auditorbudagov-lab/DreamTeamAgent18mo agoMITA38Claude Code, Cursor
dgx-spark-ops-engineerwshobson/agentsAgent43kyesterdayMITA63Claude Code
application-performance-performance-engineerwshobson/agentsAgent43kyesterdayMITA76Claude Code
cicd-automation-devops-troubleshooterwshobson/agentsAgent43kyesterdayMITA74Claude Code
team-debuggerwshobson/agentsAgent43kyesterdayMITA43Claude Code
code-refactoring-legacy-modernizerwshobson/agentsAgent43kyesterdayMITA52Claude Code
debugging-toolkit-debuggerwshobson/agentsAgent43kyesterdayMITA27Claude Code