auditor

auditor is an agent for 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 Cursor

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.

agentmods
npx agentmods add agents/budagov-lab/dreamteam/auditor
Clone the repo
git clone --depth 1 https://github.com/budagov-lab/DreamTeam

Made for: 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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00038 $0.00529
Opus 5 $0.00019 $0.00264
Sonnet 5 $0.00008 $0.00106
Haiku 4.5 $0.00004 $0.00053

Measured 3d ago against content hash 47b882cf66ed, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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.

.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. Terminalpython -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. 3d 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 5mo ago), licensed MIT. It adds 38 tokens to every session and 529 once invoked, about $0.0002 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-08-31.

Related

Other agents, from other repositories

cut

Over-engineering hunter. Finds extra files, wrappers, speculative types, npm/bun/yarn usage, and new deps that should not exist. Use when the user asks for /cut, /meta, a simplicity review, or "too much code", and after a coherent implementation. Do not use for comment-only review (Comment Sicko).

kleosr/kleosrules · 71 tokens

prove

Skeptical verifier. Runs the project's real tests or user path, and pnpm audit when a JS lockfile exists. Reports proven vs claimed. Use when the user asks for /prove, /meta all, or says the work is done. Do not trust the parent summary. Do not edit code or weaken tests. Never npm or bun.

kleosr/kleosrules · 73 tokens

verifier

Skeptical, read-only validator. Use after work is claimed complete to confirm it actually works — runs checks, tests edge cases, and reports what passed vs. what is incomplete or broken.

KingEmma7/cursor-os · 43 tokens

tailwind-reviewer

Reviews code changes for correct Tailwind CSS v4 usage. Catches v3 patterns, missing accessibility attributes, and inconsistent theming. Use after generating or modifying Tailwind code.

RoninForge/roninforge-tailwind-v4 · 41 tokens

researcher

Research specialist for domain knowledge, library/tool evaluation, and architecture best practices. Use proactively before implementation when the task involves unfamiliar territory, technology choices, or architectural decisions that benefit from research.

jaansokk/cursor_tools · 40 tokens

verifier

Verification and QA specialist. Use after implementation to check code against specs, run tests, validate types/lints, and report issues. Reports problems — does not fix them.

jaansokk/cursor_tools · 37 tokens