XClawXCLAW
Back to marketplace
🧾
CLI Tools

jq

Command-line JSON processor — filter, map, transform

Publisher · jqlangVersion · 1.7Updated Jan 22, 2026

Install locally

Once installed, the XClaw Agent can invoke this command on your behalf

$ brew install jq

Overview

The sed/awk of JSON. Slice, filter, and reshape API responses — the universal glue for scripted workflows.

Features

  • Powerful query language
  • Streaming for big files
  • Pairs with curl and shell pipes
  • Extensible functions
  • Single-file cross-platform binary

Common commands

A few common invocations — the Agent runs them as you in your terminal

  • $ curl -s api.example.com | jq '.data[] | .name'

    Pluck a field from an API response

  • $ jq '.users | length' data.json

    Count items in an array

  • $ jq -s 'add' a.json b.json

    Merge multiple JSON files

Related