Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Infer JSON structure and types with jq-based schema discovery.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-02 | ✗→✓ | ▲ Improved | -76% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -49% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -58% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -79% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -37% | 0% |
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.
bash# 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"}]}
Other measured skills in the registry, with their headline benchmark lift.