Install
openclaw skills install @itspremkumar/json-toolsValidate, format, query, diff, filter, flatten, merge JSON files with dot-notation paths
openclaw skills install @itspremkumar/json-toolsValidate, format, query, diff, filter, flatten, and merge JSON with dot-notation paths.
Keywords: json, tools, validate, query, diff, cli, data, python, open-source, agent, automation, MIT
Part of the itsPremkumar Hermes / OpenClaw / Paperclip agent stack — 31 free, MIT-licensed, CI-tested agent-native tools.
JSON wrangling across many small tasks needs many one-off tools. JSON Toolkit solves this: Validate, format, query, diff, filter, flatten, and merge JSON with dot-notation paths.
Best for: Developers, data engineers, and agents processing JSON.
# Requires Python 3.8+. No pip install needed.
curl -O https://raw.githubusercontent.com/itsPremkumar/json-tools/main/json_tools.py
# Or copy the file anywhere — it's self-contained.
python json_tools.py self-test # prove it works end-to-end
python json_tools.py validate --help # validate subcommand
python json_tools.py format --help # format subcommand
python json_tools.py query --help # query subcommand
python json_tools.py diff --help # diff subcommand
python json_tools.py filter --help # filter subcommand
python json_tools.py stats --help # stats subcommand
python json_tools.py flatten --help # flatten subcommand
python json_tools.py merge --help # merge subcommand
| Alternative | Why this skill is better |
|---|---|
| jq | Familiar dot-path query plus diff/flatten/merge. |
| Online JSON formatters | Local, no upload. |
| Multiple tools | One CLI for the whole lifecycle. |
Q: Query syntax?
A: Dot-notation paths (e.g. a.b.c).
Q: Diff?
A: Semantic diff of two JSON files.
Q: Merge?
A: Deep merge with conflict handling.
Q: Offline?
A: Yes.
Built and maintained by @itsPremkumar (Chennai, India · serving developers worldwide). Free for individuals and teams everywhere. Documentation in English; tool output is locale-neutral.
# .github/workflows/verify.yml
name: Verify
on: [push]
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Self-test json-tools
run: python json_tools.py self-test
Free + MIT-0 (free, modifiable, no attribution required). Sponsor if useful:
⭐ Star on GitHub