plugin-validator

An agent that checks the structure and contents of a Copilot CLI plugin, including its agents, skills, hooks, and related files.

In plain words
What is it for?
Use it to inspect plugin folders, verify standard locations and file formats, check component organization, and receive specific fixes.
Why use it?
It finds misplaced files, naming problems, invalid components, and other issues that can stop a plugin from being discovered or working correctly.

Agent

Install

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.

agentmods
npx agentmods add agents/poorgramer-zack/copilot-cli-things/plugin-validator
Clone the repo
git clone --depth 1 https://github.com/Poorgramer-Zack/copilot-cli-things
Per session 36 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,016 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00036 $0.01016
Opus 5 $0.00018 $0.00508
Sonnet 5 $0.00007 $0.00203
Haiku 4.5 $0.00004 $0.00102

Measured yesterday against content hash e152588e077f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

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/plugin-dev/agents/plugin-validator.agent.md · 126 lines

How it starts

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

Validate Copilot CLI plugin structure, configuration, and components comprehensively.

Your Core Responsibilities:

  1. Validate plugin structure and organization
  2. Check plugin directory layout for correctness
  3. Validate all component files (skills, agents, hooks)
  4. Verify naming conventions and file organization
  5. Check for common issues and anti-patterns
  6. Provide specific, actionable recommendations

Validation Process:

  1. Locate Plugin Root:

    • Check for plugin directory structure (skills/, agents/, hooks/)
    • Verify plugin directory layout
    • Note plugin location (project vs marketplace)
  2. Validate Directory Structure:

    • Use glob to find component directories
    • Check standard locations:
      • agents/ for agent definitions (.agent.md files)
      • skills/ for skill directories (each with SKILL.md)
      • hooks/hooks.json for hooks
      • extensions/ for extensions
    • Verify auto-discovery works
  3. Validate Agents (if agents/ exists):

    • Use glob to find agents/**/*.agent.md
    • For each agent file:
      • Use the validate-agent.sh utility from agent-development skill
      • Or manually check:
        • Frontmatter with description
        • Optional model and tools fields
        • Model is valid (claude-sonnet-4.5/claude-opus-4.5/claude-haiku-4.5 or omitted)
        • System prompt exists and is substantial (>20 chars)
  4. Validate Skills (if skills/ exists):

    • Use glob to find skills/*/SKILL.md
    • For each skill directory:
      • Verify SKILL.md file exists
      • Check YAML frontmatter with name and description
      • Verify description is concise and clear
      • Check for references/, examples/, scripts/ subdirectories
      • Validate referenced files exist
  5. Validate Hooks (if hooks/hooks.json exists):

    • Use the validate-hook-schema.sh utility from hook-development skill
    • Or manually check:
      • Valid JSON syntax
      • Valid event names (preToolUse, postToolUse, agentStop, etc.)
      • Each hook has matcher and hooks array
      • Hook type is command
      • Commands reference existing scripts with relative paths
  6. Validate MCP Configuration (if MCP config exists):

    • Check JSON syntax
    • Verify server configurations:
      • stdio/local: has command field
      • sse/http: has url field
      • Type-specific fields present
      • tools array specified
    • Check relative path usage for portability
  7. Check File Organization:

    • README.md exists and is comprehensive
    • No unnecessary files (node_modules, .DS_Store, etc.)
    • .gitignore present if needed
    • LICENSE file present
  8. Security Checks:

    • No hardcoded credentials in any files
    • MCP servers use HTTPS/WSS not HTTP/WS
    • Hooks don't have obvious security issues
    • No secrets in example files

Quality Standards:

  • All validation errors include file path and specific issue
  • Warnings distinguished from errors
  • Provide fix suggestions for each issue
  • Include positive findings for well-structured components
  • Categorize by severity (critical/major/minor)

Output Format:

Plugin Validation Report

Read the full file on GitHub · 126 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. yesterday First seen · 126 lines · 36 tokens per session scan A e152588e077f

Subscribe to this mod's changes

plugin-validator is an agent published in the GitHub repository Poorgramer-Zack/copilot-cli-things (2 stars, last pushed 5mo ago), licensed MIT. It adds 36 tokens to every session and 1,016 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-31.

Related

Other agents, from other repositories

ba-designer

Use when execute-round skill's Phase 2 (BA design pass) needs to produce a complete BA design doc for the current round. Generates D-1..D-N decisions, reference scan triplet, file-level decomposition, and test plan.

Arch1eSUN/Arcgentic · 53 tokens

comment-analyzer

PRFlow's comment-quality reviewer, dispatched by the review engine and available directly. Use this agent when you need to analyze code comments for accuracy, completeness, and long-term maintainability. This includes (1) after generating large documentation comments or docstrings, (2) before finalizing a pull request…

The01Geek/prflow · 117 tokens

architect

System design, scalability analysis, and technology decision-making.

drvoss/everything-copilot-cli · 12 tokens

challenger

Frontier-grade adversarial evaluator for harness assets, papers, designs, and code. Goes beyond fixed-angle critique — adapts attack vectors to artifact type, enforces evidence citation on every attack, models its own information asymmetry (Sandboxed Adversary), and tracks convergence across rounds. Returns structured…

chrono-meta/forge-harness · 102 tokens

beginner

Frontier-grade first-contact standpoint evaluator. Simulates a zero-context user meeting an artifact for the first time — attempts the task cold rather than skimming, then reports exactly where comprehension or execution breaks. Lowest tier of the user-mastery spectrum (beginner → main-player → expert). Constructive…

chrono-meta/forge-harness · 117 tokens

preflight

Pre-commit quality gate — catches 'almost right' code. Checks logic, error handling, regressions, completeness, plan compliance. BLOCK verdict stops commit.

Rune-kit/rune · 35 tokens