json-schema-lookup

json-schema-lookup is a skill for Claude Code from sammcj/agentic-coding. It costs 33 tokens per session (594 once invoked), scanned A, original, Apache-2.0.

A guide for using SchemaStore, a public catalogue of JSON configuration schemas. JSON schemas describe which fields and values a configuration file accepts.

In plain words
What is it for?
Use it when working with configuration files for popular open-source projects and you need to find or validate their JSON schema.
Why use it?
It helps discover valid configuration options and check whether a JSON configuration file has the expected structure.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it when working with configuration files for popular open-source projects and you need to find or validate their JSON schema.

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

Made for: Claude Code.

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 json-schema-lookup

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sammcj/agentic-coding/json-schema-lookup"><img src="https://agentmods.dev/badge/skills/sammcj/agentic-coding/json-schema-lookup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 594 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 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.00033 $0.00594
Opus 5.5 $0.00013 $0.00238
Sonnet 5.5 $0.00007 $0.00119
Haiku 4.5 $0.00003 $0.00059

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

Security

Grade A, and why

json-schema-lookup 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 3mo 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.

allowed-tools: WebFetch Bash(curl *) Bash(jq *) Bash(yq *) Bash(grep *) Bash(head *) Bash(less *)
Skills/json-schema-lookup/SKILL.md · 71 lines

How it starts

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

JSON Schema Lookup via SchemaStore

Query schemastore.org's catalog of public configuration file schemas to validate structure, discover options, and check allowed values.

API

  • Catalog: https://www.schemastore.org/api/json/catalog.json
    • Structure: { "schemas": [{ "name", "description", "fileMatch", "url", "versions"? }] }
  • Individual schemas: Fetch the url from the matching catalog entry

Workflow

1. Find the schema

Search the catalog by name or filename pattern:

# Search by name (case-insensitive)
curl -s https://www.schemastore.org/api/json/catalog.json | jq '.schemas[] | select(.name | test("tsconfig"; "i")) | {name, url, fileMatch}'

# Search by filename match
curl -s https://www.schemastore.org/api/json/catalog.json | jq '.schemas[] | select(.fileMatch[]? | test("package\\.json")) | {name, url}'

Alternatively, use WebFetch on the catalog URL and ask for the relevant entry.

2. Fetch and inspect the schema

# List top-level properties
curl -s SCHEMA_URL | jq '.properties | keys'

# Inspect a specific field (type, enum values, description)
curl -s SCHEMA_URL | jq '.properties.FIELD_NAME'

# Check definitions/shared types (schemas use $ref to these)
curl -s SCHEMA_URL | jq '.definitions.DEF_NAME.properties'

# Get the full schema (warning - might be large!)
curl -s SCHEMA_URL | jq .

3. Common queries

# Find enum values for a field
curl -s SCHEMA_URL | jq '.properties.FIELD.enum'

# List nested properties (e.g. compilerOptions in tsconfig)
curl -s SCHEMA_URL | jq '.definitions.compilerOptionsDefinition.properties.compilerOptions.properties | keys'

# Find all required fields
curl -s SCHEMA_URL | jq '.required'

Tips

  • Some schemas use allOf/anyOf composition -- check those arrays for the full property set
  • The versions field on catalog entries provides version-specific schema URLs when available
  • Schema URLs vary: some point to json.schemastore.org, others to raw.githubusercontent.com
  • For large schemas, query specific paths rather than dumping the entire document
  • Cache the catalog response locally if making multiple lookups in one session

Read the full file on GitHub · 71 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. 3mo ago First seen · 71 lines · 33 tokens per session scan A 565d2cae171d

Subscribe to this mod's changes

json-schema-lookup is a skill published in the GitHub repository sammcj/agentic-coding (174 stars, last pushed 3d ago), licensed Apache-2.0. It adds 33 tokens to every session and 594 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.

Related

json-schema-lookup compared with skills from other repositories

json-schema-lookup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
json-schema-lookupsammcj/agentic-codingSkill1743d agoApache-2.0A33Claude Code
agentproto-llm-endpointagentproto/tsSkill11todayApache-2.0A77Claude Code, Codex
ap-workflowsagentproto/tsSkill11todayApache-2.0A85Claude Code, Codex
agentproto-appsagentproto/tsSkill11todayApache-2.0A171Claude Code, Codex
ap-cronagentproto/tsSkill11todayApache-2.0A70Claude Code, Codex
ap-lifecycleagentproto/tsSkill11todayApache-2.0A77Claude Code, Codex
pb-new-agent-sessionagentproto/tsSkill11todayApache-2.0A68Claude Code, Codex