jq
Installation
SKILL.md
Identity
| Property | Value |
|---|---|
| Binary | jq |
| Config | No persistent config — invoked directly |
| Logs | No persistent logs — output to terminal |
| Type | CLI tool |
| Install | apt install jq / dnf install jq |
Key Operations
| Task | Command |
|---|---|
| Pretty-print JSON | jq '.' file.json |
| Extract a field | jq '.name' file.json |
| Nested field | jq '.user.email' file.json |
| Array index | jq '.[0]' file.json |
| Iterate array (all elements) | jq '.[]' file.json |
Related skills