jqCommand-line JSON processor. Extract, filter, transform JSON.
Install via ClawdBot CLI:
clawdbot install gumadeiras/jqCommand-line JSON processor for extracting, filtering, and transforming JSON.
macOS / Linux (Homebrew):
brew install jq
All platforms: See jqlang.org/download for packages, binaries, and build instructions.
jq '[filter]' [file.json]
cat file.json | jq '[filter]'
.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
-r raw output (no quotes) · -c compact · -s slurp into array · -S sort keys
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
Generated Mar 1, 2026
DevOps engineers use jq to parse JSON logs from cloud services like AWS CloudWatch or Kubernetes. They extract error messages, filter by timestamp, and aggregate metrics to monitor system health and troubleshoot issues efficiently.
Web developers integrate jq into scripts to handle JSON responses from REST APIs. They filter data, transform structures for frontend consumption, and validate payloads during testing, speeding up development cycles.
Data analysts use jq to preprocess JSON datasets from sources like Salesforce or Google Analytics. They reshape nested objects, calculate sums or averages, and deduplicate records before loading into BI tools for reporting.
IT administrators apply jq to manage JSON configuration files for tools like Docker or Terraform. They update settings, remove sensitive keys, and merge multiple files to maintain consistent environments across deployments.
A company offers a SaaS platform that uses jq as a core component for processing JSON data from customer APIs. They provide automated data transformation pipelines, charging based on data volume processed, with tiered subscription plans.
A consultancy firm provides specialized training and implementation services for jq in enterprise environments. They help clients optimize JSON workflows, offering one-time project fees and ongoing support contracts.
A developer or agency offers custom jq script development and support for businesses needing advanced JSON processing. Revenue comes from hourly consulting rates and selling pre-built jq modules or plugins.
💬 Integration Tip
Integrate jq into shell scripts or CI/CD pipelines to automate JSON tasks; use it with curl for real-time API data processing to enhance workflow efficiency.
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
Command-line tool to manage Google Workspace services including Gmail, Calendar, Drive, Sheets, Docs, Slides, Contacts, Tasks, People, Groups, and Keep.
Runs shell commands inside a dedicated tmux session named claw, captures, and returns the output, with safety checks for destructive commands.
A modern text-based browser. Renders web pages in the terminal using headless Firefox.
Write robust, portable shell scripts. Use when parsing arguments, handling errors properly, writing POSIX-compatible scripts, managing temp files, running commands in parallel, managing background processes, or adding --help to scripts.
NotebookLM CLI wrapper via `node {baseDir}/scripts/notebooklm.mjs`. Use for auth, notebooks, chat, sources, notes, sharing, research, and artifact generation/download.