json-schema-lookup

json-schema-lookup is a skill for Claude Code, Codex 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 CodeCodex

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.

agentmods
npx agentmods add skills/sammcj/agentic-coding/json-schema-lookup
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, 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 json-schema-lookup

README.md
[![agentmods](https://agentmods.dev/badge/skills/sammcj/agentic-coding/json-schema-lookup.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00033 $0.00594
Opus 5 $0.00016 $0.00297
Sonnet 5 $0.00007 $0.00119
Haiku 4.5 $0.00003 $0.00059

Measured 5d ago against content hash 565d2cae171d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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. 5d 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 (159 stars, last pushed yesterday), licensed Apache-2.0. It adds 33 tokens to every session and 594 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories

ai-interface-reviewer

Audit AI-powered interfaces against the uxuiprinciples Part V taxonomy — 44 principles covering transparency, trust calibration, human override, consent, agentic workflows, and conversational design. Returns structured findings with severity and remediation. API key optional — enriched output requires…

uxuiprinciples/agent-skills · 66 tokens

docs-writer

Draft or rewrite Strands Agents documentation pages. Use when writing new doc pages, rewriting pages that failed audit, drafting sections for existing pages, or writing blog posts and release notes about Strands. Also triggers on "write a doc", "draft a page", "rewrite the quickstart", "add a tutorial for X"…

strands-agents/harness-sdk · 74 tokens

fetch-url

Fetch a single URL and convert its content to Markdown. Use when you need to read a web page, documentation page, or API reference without indexing it. The content is returned as plain Markdown text on stdout.

arabold/docs-mcp-server · 45 tokens

引用生成器

自动生成规范引用格式。当用户需要生成参考文献、引用来源、标注知识库内容出处、或要求提供引用信息时使用此技能。.

Tencent/WeKnora · 37 tokens

synthesize-report

Produces a citation-grounded summary across one or more workspace source files for summaries, briefings, literature reviews, or comparisons.

agentscope-ai/agentscope-java · 29 tokens

git-checkpoint

Use git as a safety net - create a checkpoint commit before risky or large changes and roll back cleanly if a change makes things worse. Use before multi-file refactors.

agentscope-ai/agentscope-java · 39 tokens