Jump to related tools in the same category or review the original source on GitHub.

CLI Utilities @gumadeiras Updated 2/26/2026

Jq OpenClaw Skill - ClawHub

Do you want your AI agent to automate Jq workflows? This free skill from ClawHub helps with cli utilities tasks without building custom tools from scratch.

What this skill does

Command-line JSON processor. Extract, filter, transform JSON.

Install

npx clawhub@latest install jq

Full SKILL.md

Open original
namedescription
jqCommand-line JSON processor. Extract, filter, transform JSON.

jq

Command-line JSON processor for extracting, filtering, and transforming JSON.

Installation

macOS / Linux (Homebrew):

brew install jq

All platforms: See jqlang.org/download for packages, binaries, and build instructions.

Usage

jq '[filter]' [file.json]
cat file.json | jq '[filter]'

Quick Reference

.key                    # Get key
.a.b.c                  # Nested access
.[0]                    # First element
.[]                     # Iterate array
.[] | select(.x > 5)    # Filter
{a: .x, b: .y}          # Reshape
. + {new: "val"}        # Add field
del(.key)               # Remove field
length                  # Count
[.[] | .x] | add        # Sum
keys                    # List keys
unique                  # Dedupe array
group_by(.x)            # Group

Flags

-r raw output (no quotes) · -c compact · -s slurp into array · -S sort keys

Examples

jq '.users[].email' data.json          # Extract emails
jq -r '.name // "default"' data.json   # With fallback
jq '.[] | select(.active)' data.json   # Filter active
jq -s 'add' *.json                     # Merge files
jq '.' file.json                       # Pretty-print
Original URL: https://github.com/openclaw/skills/blob/main/skills/gumadeiras/jq

Related skills

If this matches your use case, these are close alternatives in the same category.