Json processing
Skills for processing JSON data in the CLI, primarily using `jq`.From its SKILL.md
npx -y skills add cxcscmu/SkillLearnBench --skill json-processingAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
0.5 KB, 98 tokens by cl100k_base, as published. Nobody here has run it
JSON Processing with jq
Use jq to parse and transform JSON data from API responses.
Examples
- Filter and count:
cat data.json | jq 'length' - Group and count occurrences:
cat data.json | jq 'group_by(.author.login) | map({author: .[0].author.login, count: length})' - Filter for specific labels:
jq 'select(.labels[].name | contains("bug"))'
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.