json-tools
Parse, query, and transform JSON data
Source facts
- Repository
- gebruder/wirken
- Last source activity
- September 19, 2026 at 16:07
- Detected SKILL.md language
- English
- Stars
- 186
- Forks
- 8
Install options
The review-first prompt is selected by default. You can switch to a direct command or download a local copy.
Review the source files
Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.
File Explorer
4 filesShowing SKILL.md
SKILL.md
Source instructions · Read-only preview- name
- json-tools
- description
- Parse, query, and transform JSON data
- disable-model-invocation
- false
- metadata
- {"wirken":{"requires":{"bins":"[Truncated]"}}}
- permissions
- {"tools":{"allow":["exec"]},"egress":{"mode":"deny"},"inference":{"allow":["*"]}}
# JSON Tools
Parse and transform JSON using jq.
## Query
- Pretty print: `echo '<json>' | jq .`
- Get field: `echo '<json>' | jq '.field'`
- Nested field: `echo '<json>' | jq '.a.b.c'`
- Array element: `echo '<json>' | jq '.[0]'`
- Array length: `echo '<json>' | jq 'length'`
## Filter and transform
- Select fields: `echo '<json>' | jq '{name: .name, id: .id}'`
- Filter array: `echo '<json>' | jq '.[] | select(.status == "active")'`
- Map: `echo '<json>' | jq '[.[] | .name]'`
- Sort: `echo '<json>' | jq 'sort_by(.date)'`
- Group: `echo '<json>' | jq 'group_by(.type)'`
- Unique: `echo '<json>' | jq '[.[].category] | unique'`
## File operations
- Read and query: `jq '.key' file.json`
- Compact: `jq -c . file.json`
- Raw strings (no quotes): `jq -r '.name' file.json`
- Convert to CSV: `jq -r '.[] | [.name, .value] | @csv' file.json`
View on GitHub