schema-check

schema-check is a skill for Claude Code, Codex from runxhq/runx. It costs 31 tokens per session (858 once invoked), scanned A, original, Apache-2.0.

A compatibility check for proposed JSON Schema changes and sample data. JSON Schema is a machine-readable description of the fields and types an API or data payload may contain.

In plain words
What is it for?
Use it before releasing an API or data-contract update to check breaking changes, required fields, allowed values, and sample coverage.
Why use it?
It finds removed fields, changed types, newly required fields, and other changes that could break existing callers. It validates supplied examples and gives a publish decision without publishing the change itself.

Skill for Claude CodeCodex

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

Good fit Use it before releasing an API or data-contract update to check breaking changes, required fields, allowed values, and sample coverage.

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

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 schema-check

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/runxhq/runx/schema-check"><img src="https://agentmods.dev/badge/skills/runxhq/runx/schema-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 858 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.00031 $0.00858
Opus 5.5 $0.00012 $0.00343
Sonnet 5.5 $0.00006 $0.00172
Haiku 4.5 $0.00003 $0.00086

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

Security

Grade A, and why

schema-check 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 22d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (schema-check.mjs, schema-check.test.mjs), 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.

skills/schema-check/SKILL.md · 78 lines

How it starts

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

Schema Check

Check whether a contract change can reject payloads the current contract accepts. Supply the current schema, proposed schema, real payload examples and your compatibility policy. The default check method returns the affected paths, sample failures, unsupported proof cases and, when allowed, a publication proposal bound to the exact schema and sample values. It does not publish.

What the comparison means

The direction is current accepted instances → proposed accepted instances. For example, widening integer to number preserves acceptance. Adding an optional string field to an open object can break it: that key previously allowed a number. Adding the same field to an object that previously forbade it expands acceptance. Removing a property follows the new additionalProperties rule; a removed declaration is not automatically a rejected payload.

This is an input/data acceptance check. It does not establish response-consumer compatibility, output completeness, business meaning or behavior across two API implementations. Set policy required_fields for declarations the proposed contract must retain, and assess consumer expectations separately. It never transforms or strips fields from the actual data.

How it works

  1. Native data.digest binds the exact supplied JSON values for both schemas and the sample array. These identify values, not an unprovided original file.
  2. Native data.validate compiles each original schema with external retrieval disabled and validates every sample against both contracts. Formats are annotations. The native validation steps retain both sets of diagnostics; the result includes the proposed-schema errors by sample index.
  3. The domain comparison checks implication for practical object properties, required declarations, schema-valued additionalProperties, homogeneous arrays, JSON types/unions, enum/const values, string and collection lengths, numeric endpoints and unchanged patterns. Integer is included in number. Integer multipleOf relaxations are proved; decimal-divisor changes remain conservative. Local JSON Pointer references resolve against each original schema, including escaped pointer segments. Equal ref strings do not hide a changed definition.
  4. Potential narrowing is refused unless breaking_allowed is true. A policy exception is stated in the notes; it does not turn that break into an unchanged acceptance guarantee. Missing policy-required fields always refuse.
  5. Passing samples supplement the implication check. They never prove a changed unsupported constraint. Changed composition/tuple/conditional applicators, changed regular-expression inclusion, recursive inclusion, ref assertion siblings, nested resource IDs and external references require separate review. Identical assertion sets need no new inference. A policy exception cannot bypass an unsupported proof case.

Read the full file on GitHub · 78 lines

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. 22d ago Changed 28e22acbaace
  2. 1mo ago Changed · +12 lines · -7 tokens per session 6e971f9429aa
  3. 1mo ago Changed a56e8663add5
  4. 1mo ago First seen · 66 lines · 38 tokens per session scan A b29b3dcd62bb

Subscribe to this mod's changes

schema-check is a skill published in the GitHub repository runxhq/runx (106 stars, last pushed today), licensed Apache-2.0. It adds 31 tokens to every session and 858 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-10-18.

Related

schema-check compared with skills from other repositories

schema-check next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
schema-checkrunxhq/runxSkill106todayApache-2.0A31Claude Code, Codex
mcp-builderHmbown/CodeWhaleSkill41ktodayMITA30Claude Code, Codex
agent-operated-softwaremvschwarz/openrigSkill9.0ktodayApache-2.0A51Claude Code
dd-synthesisAbilityai/trinitySkill830todayApache-2.0A33Claude Code, Codex
dd-report-formatAbilityai/trinitySkill830todayApache-2.0A27Claude Code, Codex
dd-risk-scoringAbilityai/trinitySkill830todayApache-2.0A29Claude Code, Codex
dd-sourcingAbilityai/trinitySkill830todayApache-2.0A29Claude Code, Codex