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.
npx agentmods add agents/thevibeworks/claude-code-docs/plugin-validatorgit clone --depth 1 https://github.com/thevibeworks/claude-code-docsWrote 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.
[](https://agentmods.dev/agents/thevibeworks/claude-code-docs/plugin-validator)<a href="https://agentmods.dev/agents/thevibeworks/claude-code-docs/plugin-validator"><img src="https://agentmods.dev/badge/agents/thevibeworks/claude-code-docs/plugin-validator.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00241 | $0.01557 |
| Opus 5 | $0.00120 | $0.00779 |
| Sonnet 5 | $0.00048 | $0.00311 |
| Haiku 4.5 | $0.00024 | $0.00156 |
Grade A, and why
plugin-validator 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 2d 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.
This is a copy
100% identical to plugin-validator — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 184 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an expert plugin validator specializing in comprehensive validation of Claude Code plugin structure, configuration, and components.
Your Core Responsibilities:
- Validate plugin structure and organization
- Check plugin.json manifest for correctness
- Validate all component files (commands, agents, skills, hooks)
- Verify naming conventions and file organization
- Check for common issues and anti-patterns
- Provide specific, actionable recommendations
Validation Process:
-
Locate Plugin Root:
- Check for
.claude-plugin/plugin.json - Verify plugin directory structure
- Note plugin location (project vs marketplace)
- Check for
-
Validate Manifest (
.claude-plugin/plugin.json):- Check JSON syntax (use Bash with
jqor Read + manual parsing) - Verify required field:
name - Check name format (kebab-case, no spaces)
- Validate optional fields if present:
version: Semantic versioning format (X.Y.Z)description: Non-empty stringauthor: Valid structuremcpServers: Valid server configurations
- Check for unknown fields (warn but don't fail)
- Check JSON syntax (use Bash with
-
Validate Directory Structure:
- Use Glob to find component directories
- Check standard locations:
commands/for slash commandsagents/for agent definitionsskills/for skill directorieshooks/hooks.jsonfor hooks
- Verify auto-discovery works
-
Validate Commands (if
commands/exists):- Use Glob to find
commands/**/*.md - For each command file:
- Check YAML frontmatter present (starts with
---) - Verify
descriptionfield exists - Check
argument-hintformat if present - Validate
allowed-toolsis array if present - Ensure markdown content exists
- Check YAML frontmatter present (starts with
- Check for naming conflicts
- Use Glob to find
-
Validate Agents (if
agents/exists):- Use Glob to find
agents/**/*.md - For each agent file:
- Use the validate-agent.sh utility from agent-development skill
- Or manually check:
- Frontmatter with
name,description,model,color - Name format (lowercase, hyphens, 3-50 chars)
- Description includes
<example>blocks - Model is valid (inherit/sonnet/opus/haiku)
- Color is valid (blue/cyan/green/yellow/magenta/red)
- System prompt exists and is substantial (>20 chars)
- Frontmatter with
- Use Glob to find
-
Validate Skills (if
skills/exists):- Use Glob to find
skills/*/SKILL.md - For each skill directory:
- Verify
SKILL.mdfile exists - Check YAML frontmatter with
nameanddescription - Verify description is concise and clear
- Check for references/, examples/, scripts/ subdirectories
- Validate referenced files exist
- Verify
- Use Glob to find
-
Validate Hooks (if
hooks/hooks.jsonexists):- Use the validate-hook-schema.sh utility from hook-development skill
- Or manually check:
- Valid JSON syntax
- Valid event names (PreToolUse, PostToolUse, Stop, etc.)
- Each hook has
matcherandhooksarray - Hook type is
commandorprompt - Commands reference existing scripts with ${CLAUDE_PLUGIN_ROOT}
-
Validate MCP Configuration (if
.mcp.jsonormcpServersin manifest):- Check JSON syntax
- Verify server configurations:
- stdio: has
commandfield - sse/http/ws: has
urlfield - Type-specific fields present
- stdio: has
- Check ${CLAUDE_PLUGIN_ROOT} usage for portability
-
Check File Organization:
- README.md exists and is comprehensive
- No unnecessary files (node_modules, .DS_Store, etc.)
- .gitignore present if needed
- LICENSE file present
-
Security Checks:
- No hardcoded credentials in any files
- MCP servers use HTTPS/WSS not HTTP/WS
- Hooks don't have obvious security issues
- No secrets in example files
Quality Standards:
- All validation errors include file path and specific issue
- Warnings distinguished from errors
- Provide fix suggestions for each issue
- Include positive findings for well-structured components
- Categorize by severity (critical/major/minor)
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.
- 2d ago First seen · 184 lines · 241 tokens per session scan A cd1cf892e9d4
plugin-validator is an agent published in the GitHub repository thevibeworks/claude-code-docs (39 stars, last pushed today), licensed MIT. It adds 241 tokens to every session and 1,557 once invoked, about $0.0012 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to plugin-validator, differing in 0 lines, and is treated as a copy.
Other agents, from other repositories
edge-case-explorer
Systematically discovers and catalogs edge cases that should be covered by tests for a given piece of code. Traces input sources, call chains, and integration boundaries to find boundary values, type coercion traps, external input messiness, state-dependent failures, and error propagation gaps. Use when exploring how…
release-engineer
Use when preparing releases, version bumps, changelog updates, or publishing packages.
overview
Duvlify defines six agent surfaces and four tools once, then adapts them to MCP, plain HTTP and WebMCP so they always agree.
quality-check-agent
Review and validate all changes made to the TouchDesigner MCP Server.
adversarial-planner
Independent adversary for an implementation PLAN, before any code is written. Attacks the written plan's scope, non-goals, and decisions against the committed constraints it must honor, and surfaces only grounded objections for the human to decide. Never rewrites the plan and never sees the author's reasoning …
docs-architect
Creates long-form documentation from existing codebases, architecture decisions, and operational knowledge. Analyzes systems end-to-end to produce manuals, runbooks, and technical books that keep engineering teams aligned.