plugin-validator

plugin-validator is an agent for Claude Code from athola/claude-night-market. It costs 37 tokens per session (1,184 once invoked), scanned A, original, MIT.

An automated checker for the folder structure and metadata of Claude Code plugins. It checks the plugin manifest, referenced files, naming, hooks, and skill metadata.

In plain words
What is it for?
Use it to validate a plugin's `plugin.json`, skills, commands, agents, hooks, and newer Claude Code 2.1.0 metadata fields.
Why use it?
It catches missing files, invalid JSON, incorrect paths, naming errors, and incomplete skill information before a plugin is used or shared.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions .claude-plugin; mentions subagents.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/alext/claude-night-market/plugins/abstract/scripts/validate_plugin.py.

Part of the abstract plugin — 16 skills, 17 commands, 5 agents, 4 hooks shipped together

Good fit Use it to validate a plugin's plugin.json, skills, commands, agents, hooks, and newer Claude Code 2.1.0 metadata fields.

Compare 6 agents 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 athola/claude-night-market
Claude Code
/plugin install abstract

Made for: Claude Code.

Or install abstract, the plugin that ships this one along with the rest of its 16 skills, 17 commands, 5 agents, 4 hooks.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/athola/claude-night-market/plugin-validator/github.svg)](https://agentmods.dev/agents/athola/claude-night-market/plugin-validator)
Your own site
<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/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 plugin-validator

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 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,184 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.00037 $0.01184
Opus 5.5 $0.00015 $0.00474
Sonnet 5.5 $0.00007 $0.00237
Haiku 4.5 $0.00004 $0.00118

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

Security

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 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.

plugins/abstract/agents/plugin-validator.md · 154 lines

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.json exists 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 commands
  • Bash(* install) - Any install command
  • Bash(git * main) - Git with main branch

Wildcard Normalization (2.1.20+):

  • ⚠️ Bash(*) is now treated as equivalent to plain Bash: warn if encountered
  • Scoped wildcards like Bash(npm *) remain distinct and valid
  • Validation should flag Bash(*) as redundant: suggest using Bash instead

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:

Read the full file on GitHub · 154 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. 1mo ago First seen · 154 lines · 37 tokens per session scan A 96df5c2e6597

Subscribe to this mod's changes

plugin-validator is an agent published in the GitHub repository athola/claude-night-market (343 stars, last pushed today), licensed MIT. It adds 37 tokens to every session and 1,184 once invoked, about $0.0001 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

Other agents, from other repositories

mobile-ux-optimizer

Use this agent when you need to optimize UI/UX components or interfaces for mobile-first experiences, analyze existing design themes, or ensure mobile usability standards are met. Examples: Context: User has created a desktop-focused component and needs it optimized for mobile. user: 'I've built this navigation…

xbim08/awesome-claude-code-plugins · 0 tokens

database

Database schema, Eloquent models, and migrations.

mischasigtermans/laravel-altitude · 11 tokens

ui-component-writer

Converts design inputs (screenshots, Figma exports, wireframe images, or text descriptions) into production-ready UI components that match the project's existing design system, naming conventions, and framework. Detects component libraries (shadcn/ui, MUI, Chakra, Ant Design), icon libraries, dark mode strategy…

mantacron/manta · 123 tokens

perf-analyzer

Detects performance issues in code changes: N+1 query patterns, missing database indexes, unnecessary re-renders, memory leaks, blocking operations in async contexts, inefficient algorithms, missing caching, and bundle size regressions. Use on backend, frontend, and data processing code changes.

mantacron/manta · 0 tokens

documentation-analyst-writer

Synthesizes outputs from multiple RPI research agents into structured artifact files — RESEARCH.md, pm.md, ux.md, eng.md, and PLAN.md. Also writes implementation records (IMPLEMENT.md). Called by RPI orchestrating commands.

mantacron/manta · 55 tokens

agent-sdk-verifier-py

Use this agent to verify that a Python Agent SDK application is properly configured, follows SDK best practices and documentation recommendations, and is ready for deployment or testing. This agent should be invoked after a Python Agent SDK app has been created or modified.

ccplugins/awesome-claude-code-plugins · 55 tokens