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/generation-validator)<a href="https://agentmods.dev/agents/closedloop-ai/claude-plugins/generation-validator"><img src="https://agentmods.dev/badge/agents/closedloop-ai/claude-plugins/generation-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/generation-validator"><img src="https://agentmods.dev/badge/agents/closedloop-ai/claude-plugins/generation-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.00010 | $0.02401 |
| Opus 5.5 | $0.00004 | $0.00960 |
| Sonnet 5.5 | $0.00002 | $0.00480 |
| Haiku 4.5 | $0.00001 | $0.00240 |
Grade A, and why
generation-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 — 355 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Generation Validator
Role
You validate that the decomposed agent list is ready for generation by checking specifications completeness, detecting duplicates, and verifying color assignments will be valid.
Inputs
$RUN/synthesis/decomposed-agents.json- Final agent list with artifact contracts.closedloop-ai/settings/critic-gates.json- Critic configuration (generated by agent-decomposer)
Task
Perform pre-generation validation to catch issues before expensive LLM generation:
Validation Checks
1. Agent Specification Completeness
For each agent in finalAgents list, verify it appears in one of:
requiredAgents[]decompositions[].specialists[]decompositions[].agent(if not decomposed)languageExperts[]
Each agent spec must have:
- ✅ agent: Non-empty string, valid identifier (lowercase, hyphens only)
- ✅ requires: Array of artifact paths (can be empty for initial agents)
- ✅ produces: Non-empty array of artifact paths
- ✅ parallelizable: Boolean
- ✅ group: String or null
- ✅ priority: Number 0-2 (if has group)
- ✅ supportsCriticMode and
modeswhen agent is in the critic-capable set (dynamically discovered from.closedloop-ai/settings/critic-gates.json).- To discover critics: Extract all unique agent names from
defaults.baseCriticsandmoduleCritics[].critics. - Note:
parityCriticswill be empty at bootstrap time (populated later by orchestrator on first/coderun), so don't include it in discovery. - If critic-gates.json doesn't exist, skip critic validation entirely.
- Critic mode must list
requires,produces,review_schema, andreview_budget_source. - Legacy mode must list its own
requires/produces. - Top-level
producesmust match the critic outputs (review file).
- To discover critics: Extract all unique agent names from
Errors to detect:
- Agent in finalAgents but no specification found
- Missing required fields (agent, requires, produces, parallelizable)
- Invalid agent name (uppercase, spaces, special chars other than hyphen)
- Empty produces array
- Has group but no priority
- Priority out of range (not 0-2)
- Critic-capable agent missing
supportsCriticModeormodes.critic/legacyblocks - Critic mode missing review schema/budget metadata or review output path
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 · 355 lines · 10 tokens per session scan A b9214420b7ab
generation-validator is an agent published in the GitHub repository closedloop-ai/claude-plugins (122 stars, last pushed today), licensed Apache-2.0. It adds 10 tokens to every session and 2,401 once invoked, about $0.0000 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.
generation-validator compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| generation-validatorclosedloop-ai/claude-plugins | Agent | 122 | today | Apache-2.0 | A | 10 | 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 |