jq-json-processor

Filter, transform, and query JSON data using jq.

58.3k|3.9k|Updated Dec 29, 2015
One-click install
npx skills add https://github.com/penpot/penpot --skill jq-json-processor-penpot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jq-json-processor
Source: https://github.com/penpot/penpot/tree/main/.opencode/skills/jq-json-processor
Command: npx skills add https://github.com/penpot/penpot --skill jq-json-processor-penpot

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps developers and data practitioners quickly filter, map, and reshape JSON data using jq, reducing manual parsing and scripting overhead.

Core Features & Use Cases

  • Powerful jq-based transformations: select fields, map arrays, and restructure objects.
  • Ad-hoc data shaping for APIs, logs, and configuration files.
  • Use Case: Extract user names from nested JSON or format data for CSV output.

Quick Start

Run a sample command to extract a field from a JSON file and print the result.

Frequently Asked Questions about jq-json-processor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I filter and transform JSON data from API responses?

Filter and transform JSON data from API responses by applying jq patterns to select fields, map arrays, and restructure objects. This Skill processes JSON input and outputs the reshaped data as plain text.

What is the best way to extract specific fields from nested JSON?

Extract specific fields from nested JSON by applying jq transformations. This Skill allows you to quickly select user names and map arrays from nested structures, reducing manual parsing overhead.

Do I need jq installed to process JSON files?

Yes, you need jq installed to process JSON files. This Skill requires the jq command-line tool to execute its filtering, transforming, and querying operations on your JSON data inputs.

Can I use this to prepare JSON log data for CSV output?

Yes, you can use this to prepare JSON log data for CSV output. It supports ad-hoc data shaping for logs and configuration files, allowing you to format extracted JSON fields into plain text output.

How do I restructure JSON objects for data preparation?

Restructure JSON objects for data preparation by running jq commands to map arrays and reshape objects. This Skill handles the query and transformation logic, outputting the restructured data as plain text.

Why does my JSON transformation output as plain text instead of JSON?

Your JSON transformation outputs as plain text because this Skill is designed to output plain text results. It processes the JSON input using jq patterns to filter and shape the data into a readable text format.