mcpbeat

Jqschema

github/jqschema

Infer JSON structure and types with jq-based schema discovery.

1k tokens
context cost
the whole folder, loaded on every use
3
files
ships runnable scripts
0
copies elsewhere
how many repositories repackaged it
4864
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/github/gh-aw --skill jqschema

What comes with it

4 019 bytes besides the instruction
jqschema.sh
ssl.json

The instruction itself

1 sections, as written by the author

jqschema - JSON Schema Discovery

Use ./.github/skills/jqschema/jqschema.sh to generate a compact structural schema (keys + types) from JSON input. Pipe any JSON source through it to discover structure before querying full data.

# Analyze a file or command output
cat data.json | ./.github/skills/jqschema/jqschema.sh
gh api search/repositories?q=language:go | ./.github/skills/jqschema/jqschema.sh

The script replaces object values with type names ("string", "number", "boolean", "null"), reduces arrays to first-element structure, and outputs compact JSON. Use perPage: 1 to fetch minimal data when exploring unknown API shapes.

Example: {"total_count":1000,"items":[{"login":"user1","id":123}]}{"total_count":"number","items":[{"login":"string","id":"number"}]}

How to use it

Copy the folder

Take github/jqschema from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.