cpv-plugin-validation-skill

cpv-plugin-validation-skill is a skill for Claude Code from Emasoft/claude-plugins-validation. It costs 63 tokens per session (1,153 once invoked), scanned A, original, MIT.

A validator for Claude Code plugins that checks their files, settings, components, and marketplace readiness.

In plain words
What is it for?
Use it when validating, fixing, migrating, upgrading, or scaffolding a Claude Code plugin.
Why use it?
It catches structural and quality problems before a plugin is published or changed.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions .claude-plugin; mentions Claude Code.

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 when validating, fixing, migrating, upgrading, or scaffolding a Claude Code plugin.

Compare 6 skills 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-validation-skill

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/emasoft/claude-plugins-validation/cpv-plugin-validation-skill"><img src="https://agentmods.dev/badge/skills/emasoft/claude-plugins-validation/cpv-plugin-validation-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,153 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.00063 $0.01153
Opus 5.5 $0.00025 $0.00461
Sonnet 5.5 $0.00013 $0.00231
Haiku 4.5 $0.00006 $0.00115

Measured 8d ago against content hash 06e1cc7f2160, 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-validation-skill 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.

The scan reads SKILL.md. This mod also ships 1 executable file (references/pre-push-hook.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/cpv-plugin-validation-skill/SKILL.md · 73 lines

How it starts

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

Plugin Validation Skill

Phase 0 — plugin-shape detection (MANDATORY before any other action)

Before validating, fixing, migrating, upgrading, or scaffolding ANY directory, the agent MUST run shape-detection to verify the directory IS a plugin. If .claude-plugin/plugin.json is missing, the agent MUST refuse to scaffold a plugin around a SKILL.md / single agent / loose commands / unknown folder, and instead ABORT and ask the user whether to "wrap into a NEW plugin" or "ADD to an existing plugin". Hard refusal protocol + detection table in the reference.

The canonical plugin layout, manifest schema, env vars, caching rules, and CLI commands are EMBEDDED verbatim from the official doc at plugins-reference. Always read it BEFORE deciding any plugin shape question.

Overview

Validates Claude Code plugins against 190+ structural and quality rules covering manifests, hooks, skills, MCP servers, marketplace configs, and agents. Produces a severity-graded report with actionable fix guidance.

Prerequisites

  • Python 3.12+ with pyyaml, uv package manager
  • Plugin directory with valid structure (.claude-plugin/plugin.json — see Phase 0)

Instructions

  1. Run Phase 0 plugin-shape detection. If NOT a plugin → ABORT and ask the user.
  2. Run via the launcher (see launcher-invocation — NEVER call validate_plugin.py directly).

    Why the launcher is mandatory · The one-liner (use this verbatim) · Full alias table · Direct invocation (development only)

  3. Review compact summary; always use --report to save details.
  4. Fix issues CRITICAL > MAJOR > MINOR (/cpv-fix-validation <report_path>).
  5. Re-run until exit code 0.

Output

  • Exit codes: 0 (pass), 1 (CRITICAL), 2 (MAJOR), 3 (MINOR), 4 (NIT, --strict). WARNING never blocks.
  • Report at $MAIN_ROOT/reports_dev/validate_plugin/<TS>-<slug>.md.
  • For A-F semantic grades use /cpv-semantic-validation.

Read the full file on GitHub · 73 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 06e1cc7f2160
  2. 3mo ago First seen · 73 lines · 63 tokens per session scan A 572e6de226a9

Subscribe to this mod's changes

cpv-plugin-validation-skill is a skill published in the GitHub repository Emasoft/claude-plugins-validation (4 stars, last pushed yesterday), licensed MIT. It adds 63 tokens to every session and 1,153 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-09-03.

Related

cpv-plugin-validation-skill compared with skills from other repositories

cpv-plugin-validation-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cpv-plugin-validation-skillEmasoft/claude-plugins-validationSkill4yesterdayMITA63Claude Code
ad-nachbausebaskauf/skaile-community-librarySkill99d agoMITA125Claude Code
ad-schnittsebaskauf/skaile-community-librarySkill99d agoMITA104Claude Code
ad-analysesebaskauf/skaile-community-librarySkill99d agoMITA100Claude Code
skill-teilensebaskauf/skaile-community-librarySkill99d agoMITA97Claude Code
show-and-sharesebaskauf/skaile-community-librarySkill99d agoMITA74Claude Code
commit-changestomoking2004/claude-pluginsSkill3yesterdayMITA113Claude Code