Agent skill · Data & Analytics

jq

Expert jq usage for JSON querying, filtering, transformation, and pipeline integration. Practical patterns for real shell workflows.

Nick44,414★ · +328/wk · 1 repos on radarProfile →
claude-codecodexcursorMIT
Install
npx skills add sickn33/agentic-awesome-skills --skill jq --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 8 KB
Bundled scripts: none
Declared author: kostakost2
Path: skills/jq/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 44,414 · +328 this week
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# jq — JSON Querying and Transformation ## Overview `jq` is the standard CLI tool for querying and reshaping JSON. This skill covers practical, expert-level usage: filtering deeply nested data, transforming structures, aggregating values, and composing `jq` into shell pipelines. Every example is copy-paste ready for real workflows. ## When to Use This Skill - Use when parsing JSON output from APIs, CLI tools (AWS, GitHub, kubectl, docker), or log files - Use when transforming JSON structure (rename keys, flatten arrays, group records) - Use when the user needs `jq` inside a bash script or one-liner - Use when explaining what a complex `jq` expression does ## How It Works `jq` takes a filter expression and applies it to JSON input. Filters compose with pipes (`|`), and `jq` handles arrays, objects, strings, numbers, booleans, and `null` natively. ### Basic Selection ```bash # Extract a field echo '{"name":"alice","age":30}' | jq '.name' # "alice" # Nested access echo '{"user":{"email":"a@b.com"}}' | jq '.user.email' # Array index echo '[10, 20, 30]' | jq '.[1]' # 20 # Array slice echo '[1,2,3,4,5]' | jq '.[2:4]' # [3, 4] # All array elements echo '[{"id":1},{"id":2}]' | jq '.[]' ```

What's inside
Steps it walks through
  1. Overview
  2. When to Use This Skill
  3. How It Works
  4. Basic Selection
  5. Filtering with select
  6. Mapping and Transformation
  7. Aggregation and Reduce
  8. String Interpolation and Formatting
  9. Working with Keys and Paths
  10. Conditionals and Error Handling
  11. Practical Shell Integration
  12. Advanced Patterns
  13. Best Practices
  14. Security & Safety Notes
Commands it runs
Extract a field
echo '{"name":"alice","age":30}' | jq '.name'
Nested access
echo '{"user":{"email":"a@b.com"}}' | jq '.user.email'
Array index
echo '[10, 20, 30]' | jq '.[1]'
Array slice
echo '[1,2,3,4,5]' | jq '.[2:4]'
All array elements
echo '[{"id":1},{"id":2}]' | jq '.[]'
More from agentic-awesome-skills
All skills →
About this skill
What does the jq skill do?

Expert jq usage for JSON querying, filtering, transformation, and pipeline integration. Practical patterns for real shell workflows.

How do I install it?

Run `npx skills add sickn33/agentic-awesome-skills --skill jq --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going