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.
npx agentmods add agents/athola/claude-night-market/plugin-validatorgit clone --depth 1 https://github.com/athola/claude-night-marketWrote 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/athola/claude-night-market/plugin-validator)<a href="https://agentmods.dev/agents/athola/claude-night-market/plugin-validator"><img src="https://agentmods.dev/badge/agents/athola/claude-night-market/plugin-validator.svg" alt="Measured on agentmods" 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 | $0.00037 | $0.01184 |
| Opus 5 | $0.00018 | $0.00592 |
| Sonnet 5 | $0.00007 | $0.00237 |
| Haiku 4.5 | $0.00004 | $0.00118 |
Grade A, and why
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 4d 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 — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Plugin Validator Agent
Validates Claude Code plugin structure against official requirements and best practices.
Capabilities
- Validates
.claude-plugin/plugin.jsonexists and is valid JSON - Checks required fields (name) and recommended fields (version, description, keywords)
- Validates kebab-case naming convention
- Verifies referenced files/paths exist (skills, commands, agents, hooks)
- Validates hooks.json references and JSON syntax
- Checks path format (relative with
./) - Validates skill frontmatter completeness
- Detects deprecated
skills/shared/directory pattern (modules should be skill-specific)
Claude Code 2.1.0+ Validation
The validator recognizes and validates new 2.1.0 frontmatter fields:
| Field | Valid Values | Description |
|---|---|---|
context |
fork |
Run in forked sub-agent context |
agent |
string | Agent type for skill execution |
user-invocable |
boolean | Visibility in slash command menu |
hooks |
object | PreToolUse/PostToolUse/Stop hooks |
allowed-tools |
list | YAML-style tool list with wildcards |
Wildcard Patterns Validated:
Bash(npm *)- All npm commandsBash(* install)- Any install commandBash(git * main)- Git with main branch
Wildcard Normalization (2.1.20+):
- ⚠️
Bash(*)is now treated as equivalent to plainBash: warn if encountered - Scoped wildcards like
Bash(npm *)remain distinct and valid - Validation should flag
Bash(*)as redundant: suggest usingBashinstead
Agent Memory Field (2.1.33+)
Agents can declare persistent memory scope in frontmatter:
| Value | Scope |
|---|---|
user |
Persisted across all projects for the user |
project |
Persisted within a specific project |
local |
Local to current session |
Validation: Warn if memory value is not one of: user, project, local.
Sub-Agent Restrictions (2.1.33+)
Agent tools frontmatter supports Task(agent_type) syntax to restrict sub-agent spawning:
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.
- 4d ago First seen · 154 lines · 37 tokens per session scan A 96df5c2e6597
plugin-validator is an agent published in the GitHub repository athola/claude-night-market (335 stars, last pushed today), licensed MIT. It adds 37 tokens to every session and 1,184 once invoked, about $0.0002 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-30.
Other agents, from other repositories
aws-cost-saver
AWS cost optimization scanner with Compute Optimizer ML integration, data transfer analysis, and 173 checks across 11 domains. Use when scanning AWS accounts for cost savings opportunities.
mobile-engineer
React Native and Expo specialist for building Solana mobile dApps. Handles mobile wallet adapter integration, transaction signing UX, deep linking, and mobile-specific performance optimization. Use when: Building React Native or Expo mobile apps with Solana integration, implementing mobile wallet adapter flows…
codebase-documenter
Use this agent when you need to analyze a service or codebase component and create comprehensive documentation in CLAUDE.md files. This agent should be invoked after implementing new services, major refactoring, or when documentation needs updating to reflect the current codebase structure. Examples: Context: The user…
analyst
Octopus 需求分析官——把現實面問題(客戶訊息、ticket、模糊想法、截圖)拆解成技術問題+假設+風險;context 不足時反問釐清;需求進交付管線前做魔鬼代言人挑戰。.
security
Security auditing and vulnerability prevention.
probe
Read-only discovery delegate. Investigates one bounded question and returns findings with sources and a recommendation. Never edits anything. Use for codebase exploration and external research; run in the foreground.