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.
npx skills add runxhq/runx --skill schema-checkgit clone --depth 1 https://github.com/runxhq/runxWrote 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/skills/runxhq/runx/schema-check)<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.
<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>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.00031 | $0.00858 |
| Opus 5.5 | $0.00012 | $0.00343 |
| Sonnet 5.5 | $0.00006 | $0.00172 |
| Haiku 4.5 | $0.00003 | $0.00086 |
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.
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 — 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
- Native
data.digestbinds the exact supplied JSON values for both schemas and the sample array. These identify values, not an unprovided original file. - Native
data.validatecompiles 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. - 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.
- Potential narrowing is refused unless
breaking_allowedis 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. - 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.
What ships with it
25 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.
- eval_queries.json 2.3 KB
- evals/evals.json 911 B
- evals/files/local-ref-array-contracts.json 767 B
- fixtures/composed/run.yaml 891 B
- fixtures/composed/SKILL.md 155 B
- mark.svg 4.1 KB
- packets/check.v1.schema.json 4.7 KB
- references/presentation.md 170 B
- run.yaml 3.2 KB
- schema-check.mjs 22 KB runs code
- schema-check.test.mjs 8.4 KB runs code
- tests/accepts-integers-as-jsonschema-numbers.yaml 493 B
- tests/accepts-local-ref-array-relaxation.yaml 750 B
- tests/allowed-removal-keeps-change-path.yaml 690 B
- tests/composes-in-workflow.yaml 333 B
- tests/policy-cannot-approve-unproved-tuples.yaml 525 B
- tests/refuses-minlength-regression.yaml 498 B
- tests/refuses-new-root-enum.yaml 499 B
- tests/refuses-new-undeclared-required-field.yaml 523 B
- tests/refuses-open-optional-field.yaml 537 B
- tests/refuses-unproved-array-compatibility.yaml 575 B
- tests/schema-check-additive-change-proposes.yaml 1.3 KB
- tests/schema-check-breaking-change-refuses.yaml 845 B
- tests/schema-check-invalid-samples-refuse.yaml 687 B
- tests/schema-check-needs-proposed-schema.yaml 245 B
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.
- 22d ago Changed 28e22acbaace
- 1mo ago Changed · +12 lines · -7 tokens per session 6e971f9429aa
- 1mo ago Changed a56e8663add5
- 1mo ago First seen · 66 lines · 38 tokens per session scan A b29b3dcd62bb
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.
schema-check compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| schema-checkrunxhq/runx | Skill | 106 | today | Apache-2.0 | A | 31 | Claude Code, Codex |
| mcp-builderHmbown/CodeWhale | Skill | 41k | today | MIT | A | 30 | Claude Code, Codex |
| agent-operated-softwaremvschwarz/openrig | Skill | 9.0k | today | Apache-2.0 | A | 51 | Claude Code |
| dd-synthesisAbilityai/trinity | Skill | 830 | today | Apache-2.0 | A | 33 | Claude Code, Codex |
| dd-report-formatAbilityai/trinity | Skill | 830 | today | Apache-2.0 | A | 27 | Claude Code, Codex |
| dd-risk-scoringAbilityai/trinity | Skill | 830 | today | Apache-2.0 | A | 29 | Claude Code, Codex |
| dd-sourcingAbilityai/trinity | Skill | 830 | today | Apache-2.0 | A | 29 | Claude Code, Codex |