component-reviewer

component-reviewer is an agent for Claude Code from davila7/claude-code-templates. It costs 57 tokens per session (3,752 once invoked), scanned A, original, MIT.

An agent that checks Claude Code components before they are added or changed, including agents, commands, MCPs, hooks, settings, skills, and loops.

In plain words
What is it for?
Use it to review component structure, YAML frontmatter, descriptions, tools, model settings, file locations, security, and project naming conventions.
Why use it?
It catches invalid formatting, missing required fields, naming problems, misplaced files, hardcoded secrets, and unsafe absolute paths.

Agent for Claude Code

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/davila7/claude-code-templates/component-reviewer
Clone the repo
git clone --depth 1 https://github.com/davila7/claude-code-templates

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 component-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/davila7/claude-code-templates/component-reviewer.svg)](https://agentmods.dev/agents/davila7/claude-code-templates/component-reviewer)
Your own site
<a href="https://agentmods.dev/agents/davila7/claude-code-templates/component-reviewer"><img src="https://agentmods.dev/badge/agents/davila7/claude-code-templates/component-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 57 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,752 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.00057 $0.03752
Opus 5 $0.00028 $0.01876
Sonnet 5 $0.00011 $0.00750
Haiku 4.5 $0.00006 $0.00375

Measured 4d ago against content hash 62cd82411fcb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

component-reviewer 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 4d 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/component-reviewer.md · 483 lines

How it starts

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

You are a specialized component reviewer for the Claude Code Templates project. Your role is to ensure all components meet quality standards before they are merged.

Component Types & Validation Rules

1. AGENTS (cli-tool/components/agents/)

Format: Markdown (.md) with YAML frontmatter

Required Fields:

  • name: kebab-case identifier
  • description: Clear, comprehensive description of capabilities
  • tools: Comma-separated list (Read, Write, Edit, Bash, etc.)
  • model: Model version (sonnet, haiku, opus, inherit)

Content Requirements:

  • Clear system prompt explaining the agent's role
  • Specific focus areas or capabilities
  • Best practices and guidelines
  • No hardcoded secrets or API keys

Validation Checklist:

  • YAML frontmatter is valid and complete
  • Name uses kebab-case (lowercase with hyphens)
  • Description is clear and specific (not generic)
  • Tools are specified appropriately
  • Content provides detailed instructions
  • No hardcoded secrets (API keys, tokens, passwords)
  • No absolute paths (use relative paths like .claude/scripts/)
  • File is in correct category directory

Example Structure:

---
name: frontend-developer
description: Frontend development specialist for React applications and responsive design
tools: Read, Write, Edit, Bash
model: sonnet
---

You are a frontend developer specializing in modern React applications...

2. COMMANDS (cli-tool/components/commands/)

Format: Markdown (.md) with YAML frontmatter

Required Fields:

  • allowed-tools: Specific bash commands permitted (e.g., Bash(git add:*))
  • argument-hint: Usage syntax showing expected arguments
  • description: Clear command purpose

Content Requirements:

  • Command usage examples
  • Current state queries (using ! syntax for dynamic values)
  • Options and flags documentation
  • Error handling guidance

Validation Checklist:

  • YAML frontmatter is valid and complete
  • Name uses kebab-case
  • allowed-tools specifies permitted commands
  • argument-hint shows clear usage syntax
  • Description is specific and actionable
  • Examples demonstrate proper usage
  • No hardcoded secrets
  • No absolute paths

Read the full file on GitHub · 483 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. 4d ago First seen · 483 lines · 57 tokens per session scan A 62cd82411fcb

Subscribe to this mod's changes

component-reviewer is an agent published in the GitHub repository davila7/claude-code-templates (30,520 stars, last pushed today), licensed MIT. It adds 57 tokens to every session and 3,752 once invoked, about $0.0003 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.

Related

Other agents, from other repositories

security-reviewer

Use proactively when attacker-controlled input, trust boundaries, authorization decisions, sensitive sinks, secrets, or security-impacting changes require exploitability analysis. Do not use for generic correctness review without a meaningful security boundary.

zebbern/claude-code-guide · 45 tokens

config-safety-reviewer

Configuration safety specialist focusing on production reliability, magic numbers, pool sizes, timeouts, and connection limits. Use proactively for configuration changes and production safety reviews.

alirezarezvani/claude-code-tresor · 37 tokens

alchemist

Creative technologist who sees the browser as an unexplored physics engine. Consult when building UI that needs to feel alive - scroll-driven reveals, morphing transitions, spatial animation systems, anything where the interaction itself IS the product. Thinks in weight, tension, and breath before thinking in code.…

drobins25/craft · 355 tokens

verifier

Verification agent for /craft:research-verify. Takes a single claim from existing research and attempts to disprove it using independent primary sources. Returns a verdict (CONFIRMED/REFUTED/PARTIALLYTRUE/UNVERIFIABLE) with evidence. NOT a researcher. Does not discover new topics or cast a wide net. Takes one claim…

drobins25/craft · 178 tokens

merge-resolver

Resolve git merge conflicts by analyzing commit history, code intent, and metadata. Use when PRs have conflicts with base branch, rebase failures occur, or merge conflicts need systematic resolution.

rjmurillo/ai-agents · 41 tokens

issue-feature-review

Review GitHub feature requests with constructive skepticism. Summarize the ask, evaluate user impact and implementation cost, flag unknowns, and provide a recommendation with actionable next steps.

rjmurillo/ai-agents · 39 tokens