Expert tool for command-line JSON filtering and manipulation.

Install

mkdir -p .claude/skills/jq-carapace-sh && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/18041" && unzip -o skill.zip -d .claude/skills/jq-carapace-sh && rm skill.zip

Installs to .claude/skills/jq-carapace-sh

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Use when working with the jq command-line JSON processor — filters, builtins, operators, path expressions, assignments, variables, functions, regex, format strings, dates, modules, invocation flags, and exit codes. Triggers on: "jq", "jq filter", "jq program", "jq query", "jq language", "jq manual", "jq builtin", "jq regex", "jq module", "jq reduce", "jq foreach", "jq select", "jq walk", "jq recurse", "jq map", "jq inputs", "jq slurp", "jq --arg", "jq --argjson", "jq --null-input", "jq --raw-output", "jq @base64", "jq @csv", "jq @sh", "jq @uri", "jq tojson", "jq fromjson", "jq todate", "jq fromdate", "jq strptime", "jq strftime", "jq now", "jq $ENV", "jq env", "jq getpath", "jq setpath", "jq del", "jq paths", "jq sort", "jq group_by", "jq sub", "jq gsub", "jq test", "jq match", "jq with_entries", "jq map_values", "jq modulemeta", "jq import", "jq input", "jq --stream", "jq --exit-status", "jq --compact-output", "jq //", "jq destructuring", "jq label", "jq break", "jq try", "jq catch", "jq INDEX", "jq JOIN".
1022 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Advanced

Key capabilities

  • Filter JSON data using path expressions
  • Extract specific fields from JSON objects
  • Transform JSON structures
  • Parse logs containing JSON
  • Use built-in functions for data manipulation
  • Apply regular expressions to string data

How it works

jq processes JSON input through a filter program, which is a pipeline of filters that take one input and produce zero or more outputs, then formats the result to stdout.

Inputs & outputs

You give it
JSON input from stdin or files
You get back
Filtered, transformed, or extracted JSON output

When to use jq

  • Filter large JSON files
  • Extract fields from API responses
  • Transform JSON structure
  • Parse logs with jq

About jq

Provides direct CLI assistance for complex JSON queries, transformations, and data extraction using the jq language.

>

When not to use it

  • When not working with JSON data
  • When not needing command-line JSON processing
  • When not needing to filter, transform, or extract from JSON

Limitations

  • Input must be JSON
  • Output is newline-separated JSON texts by default
  • Filters operate on one input to produce zero or more outputs

How it compares

jq provides a capable, declarative language for JSON manipulation directly from the command line, enabling complex transformations with concise expressions.

Compared to similar skills

jq side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
jq (this skill)022dNo flagsAdvanced
pdf-processing-pro179moReviewIntermediate
python-repl64moReviewBeginner
math-router66moReviewBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry