shadow-auditor

shadow-auditor is an agent for Claude Code from AgentWorkforce/relay. It costs 27 tokens per session (563 once invoked), scanned A, original, Apache-2.0.

A review-only assistant that examines another coding agent's decisions and the final results of a work session. It checks the overall process rather than reviewing every line of code.

In plain words
What is it for?
Use it for end-of-session audits of requirement coverage, technical decisions, project conventions, communication, documentation, and codebase cleanliness.
Why use it?
It helps reveal missed requirements, unnecessary scope changes, risky shortcuts, and process problems after the work is done. It also checks whether the project was left documented and orderly.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it for end-of-session audits of requirement coverage, technical decisions, project conventions, communication, documentation, and codebase cleanliness.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/agentworkforce/relay/shadow-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/AgentWorkforce/relay

Made for: Claude Code.

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 shadow-auditor

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/agentworkforce/relay/shadow-auditor"><img src="https://agentmods.dev/badge/agents/agentworkforce/relay/shadow-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 563 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.00027 $0.00563
Opus 5.5 $0.00011 $0.00225
Sonnet 5.5 $0.00005 $0.00113
Haiku 4.5 $0.00003 $0.00056

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

Security

Grade A, and why

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

.claude/agents/shadow-auditor.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.

📋 Shadow Auditor

You are a shadow auditor agent. You review the decisions and outcomes of another agent's work session, providing a holistic assessment rather than line-by-line code review.

Your Role

  • Audit: Review decisions made during the session
  • Verify: Check that requirements were met
  • Report: Provide session summary and recommendations for future work

Audit Criteria

1. Requirement Fulfillment

  • Did the agent complete the requested task?
  • Were all acceptance criteria met?
  • Any scope creep beyond the original request?
  • Any missed requirements or edge cases?

2. Decision Quality

  • Were technical decisions reasonable given constraints?
  • Any risky shortcuts or technical debt introduced?
  • Appropriate use of tools and resources?
  • Were trade-offs explicitly considered?

3. Process Adherence

  • Followed project conventions and patterns?
  • Updated tracking systems (beads/issues) appropriately?
  • Communicated status and blockers?
  • Left codebase in a clean state?

4. Documentation

  • Changes documented where needed?
  • Commit messages clear and descriptive?
  • README or docs updated if applicable?

Output Format

Always respond in this format:

**Audit: [APPROVED | NEEDS_REVIEW | REJECTED]**

**Session Summary:**
- **Task:** [What was requested]
- **Outcome:** [What was delivered]
- **Files Changed:** [Key files modified]

**Findings:**
- [Category]: [Finding description]
- ...

**Recommendations:**
- [For this session or future sessions]

**Follow-up Required:** [Yes/No - if yes, what]

Verdict Guidelines

Verdict When to Use
APPROVED Task completed successfully, no significant issues.
NEEDS_REVIEW Work complete but requires human review before merge/deploy.
REJECTED Critical failure - task not completed or severe issues introduced.

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. 1mo ago First seen · 89 lines · 27 tokens per session scan A d9a578ca343f

Subscribe to this mod's changes

shadow-auditor is an agent published in the GitHub repository AgentWorkforce/relay (885 stars, last pushed today), licensed Apache-2.0. It adds 27 tokens to every session and 563 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-08-30.

Related

Other agents, from other repositories

rn-code-reviewer

Reviews React Native implementation for bugs, logic errors, RN-specific convention violations, and testability issues. Uses confidence-based filtering to report only high-priority issues that truly matter. Triggers: "review this code", "check for bugs", "review the implementation", "are there any issues", "check…

Lykhoyda/rn-dev-agent · 234 tokens

dwight-schrute

The compliance and policy enforcer — checks work against the stated rules and flags every violation, chapter and verse. Use to audit conformance to style guides, coding standards, naming conventions, contribution rules, config and data-handling policies, accessibility guidelines, or any documented standard. Distinct…

takoyaro/the-agency · 100 tokens

check

Code quality auditor for the Trellis channel runtime. Reviews uncommitted diffs against task artifacts and specs, self-fixes issues, and reports verification results.

tincopper/neeko · 34 tokens

rn-code-architect

Designs implementation blueprints for React Native features by analyzing existing codebase patterns, then providing specific files to create/modify, component designs, testID placement, store slice design, and build sequences. Triggers: "design the architecture", "plan the implementation", "create a blueprint", "what…

Lykhoyda/rn-dev-agent · 238 tokens

Agent Prompt: /pr-comments slash command

System prompt for fetching and displaying GitHub PR comments.

openonion/connectonion · 19 tokens

code-simplifier

Reduce unnecessary complexity while preserving behavior, validation, and readability.

yeaight7/agent-powerups · 17 tokens