response-validation

response-validation is a skill for Claude Code, Codex from vladkesler/initrunner. It costs 24 tokens per session (440 once invoked), scanned A, original, Apache-2.0.

A check for whether an API response has the expected type, valid data, fields, and size. An API is a service that software calls to exchange data, often in JSON format.

In plain words
What is it for?
Use it to check API endpoints, detect changes in response structure, and investigate upstream data or service problems.
Why use it?
It catches responses that report success but contain missing fields, unexpected empty or null values, HTML error pages, or unusual amounts of data.

Skill for Claude CodeCodex

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

Good fit Use it to check API endpoints, detect changes in response structure, and investigate upstream data or service problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vladkesler/initrunner/response-validation
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 vladkesler/initrunner --skill response-validation
Clone the repo
git clone --depth 1 https://github.com/vladkesler/initrunner

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/vladkesler/initrunner/response-validation"><img src="https://agentmods.dev/badge/skills/vladkesler/initrunner/response-validation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 440 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 71
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00024 $0.00440
Opus 5.5 $0.00010 $0.00176
Sonnet 5.5 $0.00005 $0.00088
Haiku 4.5 $0.00002 $0.00044

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

Security

Grade A, and why

response-validation scanned grade A with 1 finding 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 1mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s --max-time 10 <URL>
examples/roles/api-monitor/skills/response-validation/SKILL.md · 73 lines

What it actually says

API response validation skill.

When to activate

  • When an endpoint returns 2xx but the response content looks unexpected (wrong content type, empty body, unusual size)
  • When the user asks to validate response format or schema

Check command

curl -s --max-time 10 <URL>

Capture the full response body for analysis.

Checks

1. Content-Type

Verify the response Content-Type matches what is expected. JSON APIs should return application/json. Use -i flag to see headers:

curl -s -i --max-time 10 <URL> | head -20

2. Valid JSON

If the endpoint is expected to return JSON, verify the body parses as valid JSON. Look for HTML error pages returned instead of JSON (common failure mode).

3. Expected fields

Compare the response structure against the last known structure stored in semantic memory (category: "response_schema"). Look for:

  • Missing top-level fields that were previously present
  • New unexpected top-level fields (informational, not an alert)

4. Null values

Check for null values in fields that were previously non-null. This can indicate upstream data pipeline failures.

5. Response size

Compare the response body size against the baseline from memory (category: "response_size"). Significant deviations (>50% smaller or >200% larger) may indicate issues.

MUST

  • Show actual vs expected values when reporting issues
  • Store the response structure in semantic memory (category: "response_schema") for future comparison
  • Store the response size baseline in semantic memory (category: "response_size")

MUST NOT

  • Alert on cosmetic differences (field ordering, extra whitespace)
  • Alert on additional optional fields being added
  • Flag response size changes for endpoints that return variable- length data (search results, paginated lists) without checking if the variance is normal
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. 1mo ago First seen · 73 lines · 24 tokens per session scan A 6d0a859fb789

Subscribe to this mod's changes

response-validation is a skill published in the GitHub repository vladkesler/initrunner (41 stars, last pushed 3d ago), licensed Apache-2.0. It adds 24 tokens to every session and 440 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.