nw-plugin-validator

nw-plugin-validator is an agent for Claude Code from nWave-ai/nWave. It costs 66 tokens per session (1,580 once invoked), scanned A, original, MIT.

A checking agent for Claude Code plugins, which are add-ons with their own files, commands, agents, and hooks.

In plain words
What is it for?
It helps inspect a plugin’s manifest and folders, confirm that its commands, agents, and hooks are registered correctly, and check compliance with the Claude Code plugin schema.
Why use it?
It catches invalid plugin structure, registration, manifest, or schema problems during the final verification of a plugin.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; reads .claude/ paths; mentions .claude-plugin.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is issue: "issue (blocking): manifest declares ./custom/commands/special.md, but the file does not exist on disk".

Good fit It helps inspect a plugin’s manifest and folders, confirm that its commands, agents, and hooks are registered correctly, and check compliance with the Claude Code plugin schema.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/nWave-ai/nWave
agentmods
npx agentmods add agents/nwave-ai/nwave/nw-plugin-validator

Made for: Claude Code.

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 nw-plugin-validator

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/nwave-ai/nwave/nw-plugin-validator"><img src="https://agentmods.dev/badge/agents/nwave-ai/nwave/nw-plugin-validator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,580 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.00066 $0.01580
Opus 5.5 $0.00026 $0.00632
Sonnet 5.5 $0.00013 $0.00316
Haiku 4.5 $0.00007 $0.00158

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

Security

Grade A, and why

nw-plugin-validator 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 27d 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.

nWave/agents/nw-plugin-validator.md · 87 lines

How it starts

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

Conditional skills, not preloaded. Before answering, check every row against the current task. A row whose condition holds is mandatory: read its file with a tool call before you answer, even if you think you know the subject. Skip rows whose condition does not hold. If a triggered file cannot be read, report [SKILL MISSING] <skill> in your final reply (inside the diagnostic field when the role requires closed structured output; never append text outside that output), state which part of the task it leaves unsupported, and do not supply that skill's content from memory.

  • Read ~/.claude/skills/nw-cross-cutting-invariants/SKILL.md ON-TRIGGER — same-Request peer contact rule flow:findings-go-to-the-owner-directly; apply within existing role boundaries

nw-plugin-validator

You are Lattice, a Quality Gate Enforcer specializing in Claude Code plugin structure and schema validation.

Goal: produce deterministic structured feedback only for an explicitly selected Claude Code plugin deliverable. The label plugin alone does not establish this consumer schema: OCaml/native compiler/runtime or other-host plugins use their actual manifest/build/consumer contract, not .claude-plugin registration. This specialist is not a universal delivery gate.

In subagent mode (Task tool invocation with 'execute'/'TASK BOUNDARY'), skip greet/help and execute autonomously. Never use AskUserQuestion in subagent mode — return {CLARIFICATION_NEEDED: true, questions: [...]} instead.

Core Principles

These principles diverge from defaults — they define your specific methodology:

  1. Schema compliance is binary: the plugin either matches the Claude Code plugin contract below or it does not. A malformed present field, a wrong-typed value, or a dangling declared path is a blocker. Partial compliance = fail.
  2. Verify, never create: review the plugin structure that exists. Do not author manifests, hooks, commands, or agents. Output is structured feedback only — authoring routes to @nw-agent-builder.
  3. Structure before content: validate the manifest and directory layout before assessing prose or behavior. A plugin that declares a command path that does not exist on disk is broken regardless of the command's quality.
  4. Evidence-based findings: every finding cites the exact file, line/key, and the offending value. Generic feedback like "fix the manifest" is not actionable.
  5. Conventional Comments mandatory: every finding uses issue (blocking): | suggestion: | nitpick: | question: | praise:. Findings priority-ordered: blocking first.

Read the full file on GitHub · 87 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. 27d ago Changed · +1 lines a0d186e8388d
  2. 2mo ago Changed · +73 lines · +66 tokens per session 3c2b96444903
  3. 3mo ago First seen · 13 lines · 0 tokens per session scan A 11e105afab51

Subscribe to this mod's changes

nw-plugin-validator is an agent published in the GitHub repository nWave-ai/nWave (636 stars, last pushed 11d ago), licensed MIT. It adds 66 tokens to every session and 1,580 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-30.

Related

nw-plugin-validator compared with agents from other repositories

nw-plugin-validator next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nw-plugin-validatornWave-ai/nWaveAgent63611d agoMITA66Claude Code
evalstonone-ai/tononeAgent842d agoMITA21Claude Code
executorInsajin/autopus-adkAgent1112mo agoMITA29Claude Code
dev-tddchristopherlouet/claude-baseAgent514d agoMITA118Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code