jq
CommunityMaster JSON data: filter, transform, analyze.
Authorlanej
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill eliminates the need for cumbersome scripting or complex regex to process JSON data. It provides jq, a lightweight and powerful command-line JSON processor, allowing you to quickly filter, transform, and analyze JSON with simple, composable commands.
Core Features & Use Cases
- JSON Formatting & Selection: Pretty-print JSON, select specific fields (nested or array elements), and create new objects from existing data.
- Array Operations & Aggregations: Map, filter, sort, group, and aggregate values (sum, average, min/max) within JSON arrays.
- Data Transformation: Add, update, rename, or delete fields, and apply conditional logic to modify JSON structures.
- Use Case: Take a complex JSON API response containing an array of user objects. Use
jqto extract only theid,name, andemailfields from active users, and output the result as a clean, readable JSON array, ready for further processing.
Quick Start
Pretty-print the contents of 'data.json' and then extract the 'user.email' field.
Dependency Matrix
Required Modules
jq-cli
Components
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: jq Download link: https://github.com/lanej/dotfiles/archive/main.zip#jq Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.