JSON Transform

SkillDev tools

Manipulate and query JSON data using jq-style operations in the shared volume at {{SHARED_VOLUME}}.

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Then ask your AI: use the JSON Transform skill

What this skill tells your AI

The instructions your AI receives, as published by bidewio/better-openclaw in skills/json-transform/SKILL.md and read by ahel’s review.

Process JSON files from the shared volume at {{SHARED_VOLUME}}.

Query and Filter

# Pretty print JSON
jq '.' {{SHARED_VOLUME}}/input/data.json

# Extract a field
jq '.users[].name' {{SHARED_VOLUME}}/input/data.json

# Filter objects
jq '.items[] | select(.price > 10)' {{SHARED_VOLUME}}/input/data.json > {{SHARED_VOLUME}}/output/expensive.json

# Transform structure
jq '{total: (.items | length), names: [.items[].name]}' {{SHARED_VOLUME}}/input/data.json

Merge and Combine

# Merge two JSON files
jq -s '.[0] * .[1]' {{SHARED_VOLUME}}/input/a.json {{SHARED_VOLUME}}/input/b.json > {{SHARED_VOLUME}}/output/merged.json

Tips for AI Agents

  • jq is the standard tool for command-line JSON processing.
  • Use -r flag for raw string output without quotes.
  • Pipe JSON API responses directly to jq for parsing.

Signals

GitHub stars
58
Forks
6
Last commit
Aug 2026
Advanced
Item type
skill
Key
json-transform
Source
github.com/bidewio/better-openclaw