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,159 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,159 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.04159
Opus 5.5 $0.00034 $0.01664
Sonnet 5.5 $0.00017 $0.00832
Haiku 4.5 $0.00009 $0.00416

Measured 1mo ago against content hash bac4bd521cd0, 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 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.

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. 1mo 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 3d ago), licensed MIT. It adds 86 tokens to every session and 4,159 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

Other agents, from other repositories

project-implementer

Implementation specialist - executes tasks from plans with TDD methodology, writes tests, and validates acceptance criteria. Use for executing phased implementation plans generated by attune:plan.

athola/claude-night-market · 38 tokens

python-pro

Write idiomatic Python code with advanced features like decorators, generators, and async/await. Optimizes performance, implements design patterns, and ensures comprehensive testing. Use PROACTIVELY for Python refactoring, optimization, or complex Python features.

echoVic/blade-code · 51 tokens

test-engineer

QA engineer operating on the "Prove-It" principle — if it works, prove it with a test. Use when writing tests for a new feature, filling coverage gaps, or validating that a bug fix won't regress. Can read, write and edit test files. Dispatch with Task tool for isolated test work.

felvieira/claude-skills-fv · 66 tokens

e2e-tester

Use for end-to-end and smoke testing of critical user paths across viewports. Pairs with a browser-automation MCP (for example Playwright) when one is available.

mnzralee/claude-multi-agent-architecture · 41 tokens

test-writer

Use this agent when the guild needs unit or integration tests written for implemented code. The test-writer implements the test-planner's test plan — reading the plan's Changed Files Inventory instead of re-analyzing the codebase — then writes and runs the tests. Spawned by the check-in skill when a test-writing task…

HirogaKatageri/hirokata · 77 tokens

implement-test-diversifier

Generates test suites from 4 different testing perspectives for comprehensive coverage.

eai-support/eai-gofer · 19 tokens