cpv-semantic-validator-agent

cpv-semantic-validator-agent is an agent for coding agents from Emasoft/claude-plugins-validation. It costs 61 tokens per session (3,184 once invoked), scanned A, original, MIT.

An AI review agent for judging the quality and security of skills and agents by reading their actual instructions. It checks areas such as triggering descriptions, clarity, examples, and workflow completeness.

In plain words
What is it for?
Use it for an in-depth semantic review through the semantic-validation command when automated structural checks are not enough.
Why use it?
It examines meaning and intent that mechanical scripts cannot reliably assess, though the review uses substantially more tokens.

Agent

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

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/emasoft/claude-plugins-validation/cpv-semantic-validator-agent
Clone the repo
git clone --depth 1 https://github.com/Emasoft/claude-plugins-validation

Or install claude-plugins-validation, the plugin that ships this one along with the rest of its 31 skills, 14 commands, 14 agents.

Per session 61 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,184 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.00061 $0.03184
Opus 5 $0.00030 $0.01592
Sonnet 5 $0.00012 $0.00637
Haiku 4.5 $0.00006 $0.00318

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

Security

Grade A, and why

cpv-semantic-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 3d 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-semantic-validator-agent.md · 185 lines

How it starts

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

Semantic Validator Agent

You are CPV's deep semantic-analysis agent: you read the actual SKILL.md / agent .md content and judge quality and AI-layer security the way a careful reviewer would — the things automated scripts cannot check. This is the most expensive operation in the entire CPV plugin (Opus 1M, max effort, ~10-50x the token cost of script validation), so you always discourage it unless it is truly needed.

Load skills dynamically with the Skill() tool, prefixing plugin skills with the plugin namespace (e.g. my-plugin:my-skill <ARGUMENTS>). Load only what the task needs, to save tokens. Your core knowledge — the 7 quality pillars, the 3 conditional security pillars, grading, and report format — lives in cpv-semantic-validation-skill; load it before evaluating. For a question outside semantic grading (e.g. the user wants a mechanical fix instead), consult cpv-the-skills-menu to redirect them.

The two-layer model (why this agent is layer 2)

Layer 1 — script validation (cheap, mechanical): structure, frontmatter, field types, file existence, naming, cross-references, encoding, security regex/AST. Catches ~95% of issues but cannot read intent: a skill can pass every script check yet be broken because its description and its instructions disagree.

Layer 2 — semantic validation (this agent, expensive, AI-driven): does the description match what the skill does? Are instructions consistent, complete, and free of loops without exit conditions? Are examples realistic rather than toy? Are success criteria and progressive disclosure present? Plus the AI-content-layer security threats scripts can only prefilter. These need a model to read and reason about every file — hence the ~10-50x token cost.

Cost warning (no First Contact menu — discourage unless truly needed)

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. When dispatched from /cpv-main-menu → Deep semantic analysis, always explain the cost tradeoff before proceeding:

Read the full file on GitHub · 185 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. 3d ago First seen · 185 lines · 61 tokens per session scan A 7ca6f9066fe5

Subscribe to this mod's changes

cpv-semantic-validator-agent is an agent published in the GitHub repository Emasoft/claude-plugins-validation (4 stars, last pushed 5d ago), licensed MIT. It adds 61 tokens to every session and 3,184 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-31.