validate

validate is a skill for Claude Code from melodic-software/claude-code-plugins. It costs 124 tokens per session (2,693 once invoked), scanned A, original, MIT.

A static checker for Claude plugin evaluation cases. It reads the test files without making a model call or using the network and reports problems the evaluation command would reject.

In plain words
What is it for?
It checks files such as prompt.md, case.yaml, and grader files, then reports failures and warnings with suitable exit codes or JSON output.
Why use it?
It catches invalid test definitions before a run spends money on a case that cannot load or execute.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the evals plugin — 4 skills shipped together

Good fit It checks files such as prompt.md, case.yaml, and grader files, then reports failures and warnings with suitable exit codes or JSON output.

Compare 6 skills 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 melodic-software/claude-code-plugins
Claude Code
/plugin install evals

Made for: Claude Code.

Or install evals, the plugin that ships this one along with the rest of its 4 skills.

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 validate

README.md
[![agentmods](https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/validate/github.svg)](https://agentmods.dev/skills/melodic-software/claude-code-plugins/validate)
Your own site
<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/validate"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/validate/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 validate

Your own site · 80×15
<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/validate"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/validate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 124 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,693 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.00124 $0.02693
Opus 5.5 $0.00050 $0.01077
Sonnet 5.5 $0.00025 $0.00539
Haiku 4.5 $0.00012 $0.00269

Measured 7d ago against content hash ba707857fa99, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

validate 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 7d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/test_validate_cases.py, scripts/validate-cases.py, scripts/validate-cases.test.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/evals/skills/validate/SKILL.md · 175 lines

How it starts

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

Validate eval cases before a run spends money

A case that fails to load costs the same as one that works. scripts/validate-cases.py reads the suite off disk and reports what would break, with no model call and no network access.

Run it

python3 "${CLAUDE_PLUGIN_ROOT}/skills/validate/scripts/validate-cases.py" <eval-dir>

<eval-dir> is the directory holding the cases, evals/ under the plugin root by default. Add --json for the findings as an array of {level, case, file, message} objects; --help prints the full contract from the script's header.

Exit Meaning
0 no FAIL finding. WARN findings are printed and do not gate
1 at least one FAIL finding
2 usage error, or the eval dir is missing or unreadable

Findings print one per line as <FAIL|WARN> <case>/<file>: <message>, sorted by case then file; a finding about the suite as a whole carries the eval dir in place of <case>/<file>.

What the two tiers mean

FAIL is what the binary itself rejects: an unknown prompt.md frontmatter key, a grader with no usable type, an unknown option for the declared grader type, a case with no grader, two graders sharing a name, a non-positive weight, runs / max_turns / timeout_seconds out of bounds, an env key that does not match EVAL_[A-Z0-9_]*, a case that has a case.yaml but no schema_version or name in it or in prompt.md frontmatter (without a case.yaml the binary supplies both), a case with no prompt (prompt.md body or execution.prompt), a grader missing an option its type requires, and a schema_version that is not a quoted version string or whose major is newer than the binary supports. The complete sets the script checks, so a question about a key or a type is answered here without opening the script:

  • prompt.md frontmatter keys: schema_version, name, description, tags, plugins, runs, expected_outcome, model, max_turns, timeout_seconds, allowed_tools, append_system_prompt, env. A time limit is timeout_seconds; timeout is an unknown key, so the case fails to load.
  • Grader type: regex, tool_order, tool_used, file_exists, llm, baseline. Any other value, such as contains or string_match, is no usable type, so the case fails to load. A substring or pattern check is type: regex with the text in pattern.
  • Options per type, beside the type, weight, arm and name every grader takes: regex pattern, flags, match, target; tool_used tool, input_match, min, max; tool_order before, after; file_exists path, exists; llm criteria, focus; baseline baseline_file, criteria.
  • Required options per type: regex pattern; tool_used tool; tool_order before, after; file_exists path; llm criteria; baseline baseline_file, criteria. A graders/*.md body stands in for pattern (regex) or criteria (llm, baseline).
  • Bounds: runs 1 to 50, max_turns 1 to 200, timeout_seconds 1 to 3600.

Read the full file on GitHub · 175 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 7d ago Changed · -1 lines · -91 tokens per session ba707857fa99
  2. 12d ago Changed · +7 lines 3a9dd06baefa
  3. 18d ago Changed 009cd5584544
  4. 19d ago Changed · +62 lines · +18 tokens per session 7bf411ac0b70
  5. 22d ago Changed · +2 lines e2295de4a11f
  6. 1mo ago First seen · 105 lines · 197 tokens per session scan A e583cc901d7c

Subscribe to this mod's changes

validate is a skill published in the GitHub repository melodic-software/claude-code-plugins (26 stars, last pushed today), licensed MIT. It adds 124 tokens to every session and 2,693 once invoked, about $0.0005 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-09-14.