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.
git clone --depth 1 https://github.com/nWave-ai/nWavenpx agentmods add agents/nwave-ai/nwave/nw-plugin-validatorWrote 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.
[](https://agentmods.dev/agents/nwave-ai/nwave/nw-plugin-validator)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.mdON-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:
- 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.
- 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. - 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.
- Evidence-based findings: every finding cites the exact file, line/key, and the offending value. Generic feedback like "fix the manifest" is not actionable.
- Conventional Comments mandatory: every finding uses
issue (blocking):|suggestion:|nitpick:|question:|praise:. Findings priority-ordered: blocking first.
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.
- 27d ago Changed · +1 lines a0d186e8388d
- 2mo ago Changed · +73 lines · +66 tokens per session 3c2b96444903
- 3mo ago First seen · 13 lines · 0 tokens per session scan A 11e105afab51
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.
nw-plugin-validator compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nw-plugin-validatornWave-ai/nWave | Agent | 636 | 11d ago | MIT | A | 66 | Claude Code |
| evalstonone-ai/tonone | Agent | 84 | 2d ago | MIT | A | 21 | Claude Code |
| executorInsajin/autopus-adk | Agent | 111 | 2mo ago | MIT | A | 29 | Claude Code |
| dev-tddchristopherlouet/claude-base | Agent | 5 | 14d ago | MIT | A | 118 | Claude Code |
| playwright-test-generatormicrosoft/playwright | Agent | 101k | today | Apache-2.0 | A | 151 | Claude Code |
| AVM Owner Triagegithub/awesome-copilot | Agent | 42k | today | MIT | A | 61 | Claude Code |
| Pimcore Expertgithub/awesome-copilot | Agent | 42k | today | MIT | A | 26 | Claude Code |