Skip to content
Back to skills

Command Line Json Processing

ASecurity

Command-line JSON processor. Extract, filter, transform JSON.

  • 19 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 19, 2026
ai-agentsgobash

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 19, 2026

npx -y skills add rondoflow/rondoflow --skill command-line-json-processing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Command Line Json Processing?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Command Line Json Processing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rondoflow-command-line-json-processing/badge)](https://www.skillsdirectory.com/skills/rondoflow-command-line-json-processing)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: command-line-json-processing
description: "Command-line JSON processor. Extract, filter, transform JSON."
category: "Community"
author: community
version: "1.2.0"
icon: puzzle
---

# jq

Command-line JSON processor for extracting, filtering, and transforming JSON.

## Installation

**macOS / Linux (Homebrew):**
```bash
brew install jq
```

**All platforms:** See [jqlang.org/download](https://jqlang.org/download/) for packages, binaries, and build instructions.

## Usage

```bash
jq '[filter]' [file.json]
cat file.json | jq '[filter]'
```

## Quick Reference

```bash
.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
```

## Flags

`-r` raw output (no quotes) · `-c` compact · `-s` slurp into array · `-S` sort keys

## Examples

```bash
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
```

Files in this skill

  • SKILL.md1.4 KB
  • manifest.json278 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…