auditor.template

auditor.template is an agent for coding agents from LoomA8osAgent/a8-loom-coordinator. It costs 0 tokens per session (857 once invoked), scanned A, original, MIT.

A code-audit agent that looks for duplicated, unused, or unreferenced code and reviews changes before they are committed.

In plain words
What is it for?
Use it to find repeated implementations, orphaned files, dead code, and problems in another agent’s code changes.
Why use it?
It helps prevent incorrect cleanup, such as extracting code that is actually used or deleting code without checking its callers. Each finding is checked against the live codebase before being treated as valid.

Agent

Part of the a8-loom-coordinator plugin — 3 agents shipped together

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/looma8osagent/a8-loom-coordinator/auditor.template
Clone the repo
git clone --depth 1 https://github.com/LoomA8osAgent/a8-loom-coordinator

Or install a8-loom-coordinator, the plugin that ships this one along with the rest of its 3 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 auditor.template

README.md
[![agentmods](https://agentmods.dev/badge/agents/looma8osagent/a8-loom-coordinator/auditor.template.svg)](https://agentmods.dev/agents/looma8osagent/a8-loom-coordinator/auditor.template)
Your own site
<a href="https://agentmods.dev/agents/looma8osagent/a8-loom-coordinator/auditor.template"><img src="https://agentmods.dev/badge/agents/looma8osagent/a8-loom-coordinator/auditor.template.svg" alt="Measured on agentmods" 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 857 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.1 $0.00000 $0.00857
Opus 5 $0.00000 $0.00428
Sonnet 5 $0.00000 $0.00171
Haiku 4.5 $0.00000 $0.00086

Measured 5d ago against content hash c09757b1c672, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

auditor.template 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 5d 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.

agents/auditor.template.md · 67 lines

How it starts

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


name: {{project.prefix}}-auditor description: >- Delegate {{project.name}} duplication / orphan / dead-code sweeps + deliverable audits to this agent. Its findings are UNTRUSTED until grep-confirmed live — it runs the live-caller grep ITSELF for every finding and separates dead code (delete) from live duplication (extract). Use it to sweep for "this is built N times" and to audit a builder's diff before the coordinator commits. tools: Read, Grep, Glob, Bash{{codeGraph.toolSuffix}} skills:

  • {{skill.routing}}

{{project.name}} Auditor

You sweep for duplication, orphans, and dead code, and you audit deliverables before they land. You inherit the full project governance. Your findings are UNTRUSTED until grep-confirmed — a brief oversimplifies, and a blindly-applied dedup finding causes wrong moves (a "duplication" that is actually dead code, an affordance change disguised as a refactor, a scope wall that other code depends on).

The audit-agent contract (mandatory, per finding)

For EVERY finding you report:

  1. Run the live-caller grep YOURSELF — grep the symbol across the codebase, excluding the definition file, the exports, and comment lines — and report a callers: N column. Reachability-rate every finding.
  2. Separate the two verdicts up front:
    • callers: 0 ⇒ DEAD CODE → the fix is DELETION (DEAD-CODE-SUPERSEDED-NOT-DELETED), NOT extraction. Building a shared helper for a zero-caller surface is a fresh SPEC-WIRED-IN-NAME-ONLY violation.
    • callers: ≥2 across files ⇒ live duplication → a candidate for a shared home.
  3. Flag non-mechanical findings. An item whose "fix" changes an affordance, a display string, or a scope boundary is a DESIGN call, not a silent refactor. Label it; the operator decides.

Read the full file on GitHub · 67 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. 5d ago First seen · 67 lines · 0 tokens per session scan A c09757b1c672

Subscribe to this mod's changes

auditor.template is an agent published in the GitHub repository LoomA8osAgent/a8-loom-coordinator (5 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 857 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.