cpv-plugin-validator-agent

cpv-plugin-validator-agent is an agent for Claude Code from Emasoft/claude-plugins-validation. It costs 86 tokens per session (4,202 once invoked), scanned A, original, MIT.

A lightweight checker that runs plugin validation scripts and returns a short summary. Validation checks whether a plugin follows required structural and configuration rules.

In plain words
What is it for?
Use it to run a plugin validation report and see its severity table and report path.
Why use it?
It gives you the validation result and report location without reading source code, changing files, or judging the plugin's meaning. Fixes require a separate tool.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: reads .claude/ paths; mentions .claude-plugin; mentions CLAUDE.md.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the claude-plugins-validation plugin — 52 skills, 14 commands, 14 agents shipped together

Good fit Use it to run a plugin validation report and see its severity table and report path.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Emasoft/claude-plugins-validation
Claude Code
/plugin install claude-plugins-validation

Made for: Claude Code.

Or install claude-plugins-validation, the plugin that ships this one along with the rest of its 52 skills, 14 commands, 14 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 cpv-plugin-validator-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/emasoft/claude-plugins-validation/cpv-plugin-validator-agent/github.svg)](https://agentmods.dev/agents/emasoft/claude-plugins-validation/cpv-plugin-validator-agent)
Your own site
<a href="https://agentmods.dev/agents/emasoft/claude-plugins-validation/cpv-plugin-validator-agent"><img src="https://agentmods.dev/badge/agents/emasoft/claude-plugins-validation/cpv-plugin-validator-agent/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 cpv-plugin-validator-agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/emasoft/claude-plugins-validation/cpv-plugin-validator-agent"><img src="https://agentmods.dev/badge/agents/emasoft/claude-plugins-validation/cpv-plugin-validator-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,202 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.00086 $0.04202
Opus 5.5 $0.00034 $0.01681
Sonnet 5.5 $0.00017 $0.00840
Haiku 4.5 $0.00009 $0.00420

Measured 8d ago against content hash 3966bb4de3f7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cpv-plugin-validator-agent 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 8d 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/cpv-plugin-validator-agent.md · 260 lines

How it starts

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

Plugin Validator Agent

You must load the skills you need dynamically. Use the Skill() tool to load them. Skills from plugins need to be prefixed by the plugin name as namespace, for example my-plugin:my-skill <ARGUMENTS>. Use only the skills needed to do your task, so to save tokens and context memory.

You are a script-runner agent. Your ONLY job is to run validation scripts with --report, read the compact stdout summary, and return the severity table + report file path. You do NOT read source files, fix issues, or perform semantic analysis. If the caller actually wants a fix, check cpv-the-skills-menu to point them at the agent that owns it.

Invocation (no First Contact menu)

Per TRDD-c50531c2 (v2.90.0 menu unification) this agent has NO First Contact menu. All user-facing menus live in cpv-main-menu-skill.

The single-validate leaves under /cpv-main-menu → Validate (plugin / skill / agent / command / hook / MCP / LSP / output-style / rule / marketplace / scope / security / cache / xref / docs / encoding / enterprise / scoring / lint / telemetry) run the matching validator inline in the menu orchestrator's own bash — they do NOT dispatch this agent. This agent is dispatched only by the batch flows (/cpv-batch-validate and /cpv-batch-security-audit, both reachable via /cpv-main-menu → Validate → Batch / fleet), one validator per plugin, in the batch_validate / batch_security_audit modes below. The target plugin path is supplied at dispatch time via the <context> block — the validator runs the matching validator via the launcher (see "Validation Scripts" below) and returns the severity table + report path.

Path Auto-Discovery

If the user provides just a name instead of a full path, auto-discover the element:

  1. Normalize: lowercase, replace _ with -, trim whitespace
  2. Search: ./name/, ./OUTPUT_SKILLS/name/, ./.claude/plugins/name/, ~/.claude/plugins/name/
  3. If fuzzy match found (not exact) → ask the user to confirm the resolved path as a plain-text yes/no question (NEVER AskUserQuestion).
  4. If multiple matches → print a small numbered table listing the candidates (# / Path / Type) plus 0 — Cancel, and wait for the user's number.

Read the full file on GitHub · 260 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. 8d ago Changed 3966bb4de3f7
  2. 3mo ago First seen · 260 lines · 86 tokens per session scan A bac4bd521cd0

Subscribe to this mod's changes

cpv-plugin-validator-agent is an agent published in the GitHub repository Emasoft/claude-plugins-validation (4 stars, last pushed yesterday), licensed MIT. It adds 86 tokens to every session and 4,202 once invoked, about $0.0003 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-31.

Related

cpv-plugin-validator-agent compared with agents from other repositories

cpv-plugin-validator-agent next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cpv-plugin-validator-agentEmasoft/claude-plugins-validationAgent4yesterdayMITA86Claude Code
playwright-test-generatormicrosoft/playwrightAgent102kyesterdayApache-2.0A151Claude Code
.NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginnersAgent82ktodayMITA33Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code
WinForms Expertgithub/awesome-copilotAgent42ktodayMITA19Claude Code