output-validation

output-validation is a skill for Claude Code, Codex from benchflow-ai/skillsbench. It costs 23 tokens per session (515 once invoked), scanned A, original, Apache-2.0.

A local checker for generated video instructions, masks, and related files. It verifies formats, frame ranges, labels, and sparse mask structure without comparing against known answers.

In plain words
What is it for?
Use it to validate interval instructions and per-frame binary masks before submission.
Why use it?
It catches missing frames, invalid keys, out-of-range values, and inconsistent mask data before hand-off.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to validate interval instructions and per-frame binary masks before submission.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/benchflow-ai/skillsbench/output-validation
About the project

SkillsBench is a benchmark for measuring how effectively AI agents use modular skills—folders containing instructions, scripts, and resources—to complete specialized tasks. It helps researchers and developers evaluate both skill quality and agent behavior, including tasks that require combining multiple skills. The catalogue’s skills and instructions are evaluated as part of this workflow.

benchflow-ai/skillsbench · 1,941 stars · on GitHub · skillsbench.ai

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.

Any agent
npx skills add benchflow-ai/skillsbench --skill output-validation
Clone the repo
git clone --depth 1 https://github.com/benchflow-ai/skillsbench

Made for: Claude Code, Codex.

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 output-validation

README.md
[![agentmods](https://agentmods.dev/badge/skills/benchflow-ai/skillsbench/output-validation/github.svg)](https://agentmods.dev/skills/benchflow-ai/skillsbench/output-validation)
Your own site
<a href="https://agentmods.dev/skills/benchflow-ai/skillsbench/output-validation"><img src="https://agentmods.dev/badge/skills/benchflow-ai/skillsbench/output-validation/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 output-validation

Your own site · 80×15
<a href="https://agentmods.dev/skills/benchflow-ai/skillsbench/output-validation"><img src="https://agentmods.dev/badge/skills/benchflow-ai/skillsbench/output-validation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 515 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00023 $0.00515
Opus 5.5 $0.00009 $0.00206
Sonnet 5.5 $0.00005 $0.00103
Haiku 4.5 $0.00002 $0.00052

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

Security

Grade A, and why

output-validation 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 2mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

tasks/dynamic-object-aware-egomotion/environment/skills/output-validation/SKILL.md · 44 lines

What it actually says

When to use

  • After generating your outputs (interval instructions, masks, etc.), before submission/hand-off.

Checks

  • Key format: every key is "{start}->{end}", integers only, start<=end.
  • Coverage: max frame index ≤ video total-1; consistent with your sampling policy.
  • Frame count: NPZ f_{i}_* count equals sampled frame count; no gaps or missing components.
  • CSR integrity: each frame has data/indices/indptr; len(indptr)==H+1; indptr[-1]==indices.size; indices within [0,W).
  • Value validity: JSON values are non-empty string lists; labels in the allowed set.

Reference snippet

import json, numpy as np, cv2
VIDEO_PATH = "<path/to/video>"
INSTRUCTIONS_PATH = "<path/to/interval_instructions.json>"
MASKS_PATH = "<path/to/masks.npz>"
cap=cv2.VideoCapture(VIDEO_PATH)
n=int(cap.get(cv2.CAP_PROP_FRAME_COUNT)); H=int(cap.get(cv2.CAP_PROP_FRAME_HEIGHT)); W=int(cap.get(cv2.CAP_PROP_FRAME_WIDTH))
j=json.load(open(INSTRUCTIONS_PATH))
npz=np.load(MASKS_PATH)
for k,v in j.items():
    s,e=k.split("->"); assert s.isdigit() and e.isdigit()
    s=int(s); e=int(e); assert 0<=s<=e<n
    for lbl in v: assert isinstance(lbl,str)
frames=0
while f"f_{frames}_data" in npz: frames+=1
assert frames>0
assert npz["shape"][0]==H and npz["shape"][1]==W
indptr=npz["f_0_indptr"]; indices=npz["f_0_indices"]
assert indptr.shape[0]==H+1 and indptr[-1]==indices.size
assert indices.size==0 or (indices.min()>=0 and indices.max()<W)

Self-check list

  • JSON keys/values pass format checks.
  • Max frame index within video range and near sampled max.
  • NPZ frame count matches sampling; keys consecutive.
  • CSR structure and shape validated.
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. 2mo ago First seen · 44 lines · 23 tokens per session scan A fccdbde22273

Subscribe to this mod's changes

output-validation is a skill published in the GitHub repository benchflow-ai/skillsbench (1,941 stars, last pushed 6d ago), licensed Apache-2.0. It adds 23 tokens to every session and 515 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-09-03.

Related

output-validation compared with skills from other repositories

output-validation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
output-validationbenchflow-ai/skillsbenchSkill1.9k6d agoApache-2.0A23Claude Code, Codex
nemo-gym-analyzing-resultsNVIDIA-NeMo/GymSkill1.4ktodayApache-2.0A101Codex
hotpath_initpawurb/hotpath-rsSkill1.9k8d agoMITA88Claude Code
environment-discoveryvstorm-co/pydantic-deepagentsSkill1.1kyesterdayMITA13Claude Code, Codex
codspeed-optimizeCodSpeedHQ/codspeedSkill3943d agoApache-2.0A113Claude Code
performant-codevstorm-co/pydantic-deepagentsSkill1.1kyesterdayMITA14Claude Code, Codex
portfoliosuyoumo/ClawProBenchSkill8293mo agoApache-2.0A69Claude Code, Codex