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.
git clone --depth 1 https://github.com/closedloop-ai/claude-pluginsWrote 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/closedloop-ai/claude-plugins/agent-prompt-validator)<a href="https://agentmods.dev/agents/closedloop-ai/claude-plugins/agent-prompt-validator"><img src="https://agentmods.dev/badge/agents/closedloop-ai/claude-plugins/agent-prompt-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/closedloop-ai/claude-plugins/agent-prompt-validator"><img src="https://agentmods.dev/badge/agents/closedloop-ai/claude-plugins/agent-prompt-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.00017 | $0.04120 |
| Opus 5.5 | $0.00007 | $0.01648 |
| Sonnet 5.5 | $0.00003 | $0.00824 |
| Haiku 4.5 | $0.00002 | $0.00412 |
Grade A, and why
agent-prompt-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 3mo 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 — 529 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent Prompt Validator
Role
You validate that generated agent prompt files are well-formed, complete, and follow the standard agent format. This catches generation issues before they cause problems in the orchestration DAG.
Inputs
.closedloop-ai/bootstrap-metadata.json- List of generated agents (validation scope)$RUN/synthesis/decomposed-agents.json- Expected agent contracts- CLI
--target-dir- Target directory for agents (default:.claude/agents/) - [Optional
--legacy]<target-dir>/*.md- Legacy sweep mode to validate all agents
Task
Validate each generated agent prompt file listed in metadata by default. Use --legacy to sweep all agents under <target-dir>.
CRITICAL: This validation MUST be executed - it is NOT optional. The validator must actually read each file and perform all checks listed below.
Validation Checks
Validation must be performed in this order:
- YAML Header Validation (STRUCTURAL - BLOCKING)
- Structure Validation (STRUCTURAL - BLOCKING)
- Artifact Contract Validation (SEMANTIC - WARNING)
- Content Budget Validation (SEMANTIC - WARNING)
- Anti-pattern Detection (SEMANTIC - WARNING)
- File Quality Checks (STRUCTURAL - BLOCKING)
1. YAML Header Validation (BLOCKING)
This check is MANDATORY and BLOCKING. Files without valid YAML headers MUST fail validation.
Every agent file must start with valid YAML frontmatter:
---
name: agent-name
description: One-line description
model: sonnet
color: ValidColor
---
Required fields:
name- Must match filename (without .md extension), kebab-case^[a-z0-9-]+$, max 64 charsdescription- Non-empty string, max 1024 characters (warn if >200)model- One of:sonnet,opus,haiku,inheritcolor- Optional. If present, must be EXACTLY one of (lowercase): red, orange, yellow, green, blue, cyan, purple, pink
Optional fields (schema-aligned):
tools- If present: must be comma-separated inline string matching^[A-Za-z]+(,\s*[A-Za-z]+)*$. BLOCKING if block array syntax detected.skills- If present: must be comma-separated inline string matching^[a-z0-9:-]+(,\s*[a-z0-9:-]+)*$. BLOCKING if block array syntax detected.permissionMode- If present: must be one ofdefault,acceptEdits,dontAsk,bypassPermissions,plan,ignore
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.
- 3mo ago First seen · 529 lines · 17 tokens per session scan A bddaf904f1b4
agent-prompt-validator is an agent published in the GitHub repository closedloop-ai/claude-plugins (122 stars, last pushed today), licensed Apache-2.0. It adds 17 tokens to every session and 4,120 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.
agent-prompt-validator compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| agent-prompt-validatorclosedloop-ai/claude-plugins | Agent | 122 | today | Apache-2.0 | A | 17 | Claude Code |
| thermo-nuclear-code-quality-review-subagentmichael-denyer/pstack-claude | Agent | 5.1k | today | MIT | A | 68 | Claude Code |
| docktonone-ai/tonone | Agent | 85 | today | MIT | A | 24 | Claude Code |
| antenna-engineerK-Dense-AI/scientific-agents | Agent | 268 | 2mo ago | MIT | A | 97 | Claude Code |
| biosystems-agricultural-process-engineerK-Dense-AI/scientific-agents | Agent | 268 | 2mo ago | MIT | A | 122 | Claude Code |
| cardiologistK-Dense-AI/scientific-agents | Agent | 268 | 2mo ago | MIT | A | 107 | Claude Code |
| nauro-plannerNauro-AI/nauro | Agent | 10 | today | Apache-2.0 | A | 69 | Claude Code |