Skip to content
Kitbay
Submit
Skill

jqschema

MITUpdated on Nov 11, 20265,616GitHub starsIncludes scripts

A small utility skill in the gh-aw repository that ships a shell script built on jq.

What the skill teaches

A small utility skill in the gh-aw repository that ships a shell script built on jq. Piping any JSON into the script prints a compact outline of its structure, with values replaced by their type names and arrays reduced to the shape of their first item, so the agent can learn the layout of a large API response before querying it in full. The examples use GitHub CLI API output, but the script works on any JSON. It needs jq installed.

Capabilities

  • Print the key and type structure of a JSON document
  • Reduce arrays to the shape of their first element
  • Inspect API responses before writing full queries