subagent-auditor

subagent-auditor is an agent for Claude Code from glittercowboy/taches-cc-resources. It costs 45 tokens per session (2,167 once invoked), scanned A, original, MIT.

A specialized subagent that reviews Claude Code subagent configuration files against documented best practices.

In plain words
What is it for?
Use it when auditing or evaluating a subagent, especially before deployment or when investigating why its behavior is ineffective.
Why use it?
It provides a focused review of role definitions, prompts, model and tool choices, security, and required configuration details.

Agent for Claude Code

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

Part of the taches-cc-resources plugin — 12 skills, 19 commands, 3 agents shipped together

Good fit Use it when auditing or evaluating a subagent, especially before deployment or when investigating why its behavior is ineffective.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/glittercowboy/taches-cc-resources/subagent-auditor
About the project

TÂCHES Claude Code Resources is a collection of custom commands, skills, and agents that structure Claude Code workflows such as planning, debugging, automation, and subagent creation. It is intended for developers who use Claude Code for real software projects. The catalogue entries are examples of the resources included in the collection.

glittercowboy/taches-cc-resources · 1,975 stars · on GitHub · youtube.com

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/glittercowboy/taches-cc-resources

Made for: Claude Code.

Or install taches-cc-resources, the plugin that ships this one along with the rest of its 12 skills, 19 commands, 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 subagent-auditor

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/glittercowboy/taches-cc-resources/subagent-auditor"><img src="https://agentmods.dev/badge/agents/glittercowboy/taches-cc-resources/subagent-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,167 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.00045 $0.02167
Opus 5 $0.00023 $0.01084
Sonnet 5 $0.00009 $0.00433
Haiku 4.5 $0.00005 $0.00217

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

Security

Grade A, and why

subagent-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 9d 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/subagent-auditor.md · 263 lines

How it starts

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

<critical_workflow> MANDATORY: Read best practices FIRST, before auditing:

  1. Read @skills/create-subagents/SKILL.md for overview
  2. Read @skills/create-subagents/references/subagents.md for configuration, model selection, tool security
  3. Read @skills/create-subagents/references/writing-subagent-prompts.md for prompt structure and quality
  4. Read @skills/create-subagents/SKILL.md section on pure XML structure requirements
  5. Read the target subagent configuration file
  6. Before penalizing any missing section, search entire file for equivalent content under different tag names
  7. Evaluate against best practices from steps 1-4, focusing on functionality over formatting

Use ACTUAL patterns from references, not memory. </critical_workflow>

<evaluation_areas> These issues significantly hurt effectiveness - flag as critical:

yaml_frontmatter:

  • name: Lowercase-with-hyphens, unique, clear purpose
  • description: Includes BOTH what it does AND when to use it, specific trigger keywords

role_definition:

  • Does <role> section clearly define specialized expertise?
  • Anti-pattern: Generic helper descriptions ("helpful assistant", "helps with code")
  • Pass: Role specifies domain, expertise level, and specialization

workflow_specification:

  • Does prompt include workflow steps (under any tag like <workflow>, <approach>, <critical_workflow>, etc.)?
  • Anti-pattern: Vague instructions without clear procedure
  • Pass: Step-by-step workflow present and sequenced logically

constraints_definition:

  • Does prompt include constraints section with clear boundaries?
  • Anti-pattern: No constraints specified, allowing unsafe or out-of-scope actions
  • Pass: At least 3 constraints using strong modal verbs (MUST, NEVER, ALWAYS)

tool_access:

  • Are tools limited to minimum necessary for task?
  • Anti-pattern: All tools inherited without justification or over-permissioned access
  • Pass: Either justified "all tools" inheritance or explicit minimal list

xml_structure:

  • No markdown headings in body (##, ###) - use pure XML tags
  • All XML tags properly opened and closed
  • No hybrid XML/markdown structure
  • Note: Markdown formatting WITHIN content (bold, italic, lists, code blocks) is acceptable

focus_areas:

  • Does prompt include focus areas or equivalent specificity?
  • Pass: 3-6 specific focus areas listed somewhere in the prompt

output_format:

  • Does prompt define expected output structure?
  • Pass: <output_format> section with clear structure

model_selection:

  • Is model choice appropriate for task complexity?
  • Guidance: Simple/fast → Haiku, Complex/critical → Sonnet, Highest capability → Opus

success_criteria:

  • Does prompt define what success looks like?
  • Pass: Clear definition of successful task completion

error_handling:

  • Does prompt address failure scenarios?
  • Pass: Instructions for handling tool failures, missing data, unexpected inputs

Read the full file on GitHub · 263 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. 9d ago First seen · 263 lines · 45 tokens per session scan A c0f637c15b84

Subscribe to this mod's changes

subagent-auditor is an agent published in the GitHub repository glittercowboy/taches-cc-resources (1,975 stars, last pushed 5mo ago), licensed MIT. It adds 45 tokens to every session and 2,167 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-30.