cpv-standardize-plugin

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

An auditing and repair tool for bringing Claude Code plugin or marketplace repositories into the required CPV structure.

In plain words
What is it for?
Use it to standardize an existing plugin or marketplace repository.
Why use it?
It finds missing or incorrect files, workflows, and hooks while preserving special build and release setups.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

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 standardize an existing plugin or marketplace repository.

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-standardize-plugin

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/emasoft/claude-plugins-validation/cpv-standardize-plugin"><img src="https://agentmods.dev/badge/skills/emasoft/claude-plugins-validation/cpv-standardize-plugin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,924 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.00047 $0.01924
Opus 5.5 $0.00019 $0.00770
Sonnet 5.5 $0.00009 $0.00385
Haiku 4.5 $0.00005 $0.00192

Measured 1mo ago against content hash 5ab3300b1ad0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cpv-standardize-plugin 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.

skills/cpv-standardize-plugin/SKILL.md · 102 lines

How it starts

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

Standardize Plugin / Marketplace

Overview

Audits existing plugin or marketplace repositories against CPV standards and auto-fixes missing files, workflows, and hooks.

Profile-aware. The standardize flow first resolves the plugin's pipeline profile (scripts/cpv_pipeline_profile.py's resolve_pipeline_profile() — manifest cpv.pipeline_profile overrides; fails safe to standard), then generates/expects the PROFILE-APPROPRIATE templates. Do NOT migrate a non-standard plugin to the plain standard shape: a remote-validation plugin keeps its remote cpv-remote-validate gate (no re-vendored validators), a submodule-build plugin keeps its build-source submodule + shipped bin/ and submodule-aware publish.py, and a binary-release plugin keeps its SHA-pinned, least-privilege build/release workflow (SHA256SUMS + build matrix). The profile is a SELECTOR not a SUPPRESSOR — drift findings still fire against the profile's canon.

Prerequisites

  • uv on PATH
  • CPV plugin installed
  • Target repository accessible on disk

Instructions

  1. Audit a Plugin:

    uv run --with pyyaml python "${CLAUDE_PLUGIN_ROOT}/scripts/remote_validation.py" standardize <plugin-path> [--report report.md]
    

    Checks: 190+ validation rules, pipeline readiness, file inventory, .gitignore, README badges.

  2. Fix a Plugin (generates missing files, does NOT modify existing code):

    uv run --with pyyaml python "${CLAUDE_PLUGIN_ROOT}/scripts/remote_validation.py" standardize <plugin-path> --fix [--dry-run]
    
  3. After --fix, manually fix remaining issues:

    • Under --force-templates (the canon UPGRADE verb, NOT plain --fix), ALL agents are migrated to cpv-the-skills-menu: each agent's frontmatter skills: is rewritten to [cpv-the-skills-menu] (every other field preserved) and the mandatory dynamic-loading instruction is inserted into its body; a per-plugin skills/cpv-the-skills-menu/SKILL.md catalog is created if absent (reusing the scaffold generator so it is byte-identical). The migration is idempotent (re-running is a no-op) and skips + reports any agent file lacking YAML frontmatter — see the cpv-the-skills-menu-create skill for the canonical rewrite rules. Plain --fix never touches an agent.
    • Markdown-poison guardrail: after editing any .md, reword a line-start # / + / * prose continuation (markdownlint MD018/MD004 NIT blocks --strict).
    • .gitignore gaps, SKILL.md missing Nixtla sections, README badges, MINOR/NIT issues
    • Pre-push hook blocks on CRITICAL, MAJOR, MINOR, NIT — only WARNINGs pass
    • Empirical-loading-bugs MAJORs (added 2026-04-18) need manual fixes — see skills/cpv-canonical-pipeline/references/detailed-standard.md "Empirical Validation Rules":
      • agents field with folder paths → list specific .md files instead
      • hooks: "./hooks/hooks.json" → remove the field (default file auto-loads) or point at non-default path
      • MCP/LSP same server name in 2 sources → consolidate into one source per name
    • Layout C consistency findings (when both plugin.json and marketplace.json exist at the repo root):
      • plugin.json.name ≠ marketplace self-entry name → align both
      • plugin.json.version ≠ marketplace self-entry version → align (publish.py should bump both atomically)
      • Self-entry source ≠ "./" → set to "./"
    • Current pipeline standards — load cpv-fix-validation skill's pipeline-migration.md for the full conversion recipes:
      • §1 dangling script refs · §2 lint engine consolidation · §3 cross-platform Python (bash → Python, os.path → pathlib, hook commands) · §4 idempotent publish.py · §5 input sanitization (no shell=True; regex-validate every CLI flag / env-var / JSON field at the boundary)

Read the full file on GitHub · 102 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 102 lines · 47 tokens per session scan A 5ab3300b1ad0

Subscribe to this mod's changes

cpv-standardize-plugin is a skill published in the GitHub repository Emasoft/claude-plugins-validation (4 stars, last pushed 3d ago), licensed MIT. It adds 47 tokens to every session and 1,924 once invoked, about $0.0002 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

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Optimize the meaningful UI available immediately from a Next.js route on an initial load (hard navigation) or named client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route and entry point at a time; the shipped test then guards…

vercel/next.js · 123 tokens