← Back to Skills Marketplace
52
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install json-tool
Description
Validate, format, and transform JSON data. Use when user needs to pretty print JSON, validate JSON syntax, minify JSON, extract JSON paths, or convert JSON t...
README (SKILL.md)
JSON Tool
Validate, format, and transform JSON data.
Quick Start
# Format JSON
python scripts/json_tool.py data.json --format
# Validate JSON
python scripts/json_tool.py data.json --validate
Usage
python scripts/json_tool.py [FILE] [OPTIONS]
Options:
--format Pretty print JSON
--minify Minify JSON
--validate Validate JSON syntax
--query PATH JSONPath query
--convert FORMAT Convert to: yaml, csv, xml
--sort-keys Sort object keys
--indent NUM Indentation size
Examples
# Pretty print
python scripts/json_tool.py data.json --format
# Minify
python scripts/json_tool.py data.json --minify
# Extract field
python scripts/json_tool.py data.json --query "items[0].name"
# Convert to YAML
python scripts/json_tool.py data.json --convert yaml
# Sort keys
python scripts/json_tool.py data.json --sort-keys
Features
- Pretty printing
- Minification
- Validation
- JSONPath queries
- Format conversion (YAML, CSV, XML)
- Key sorting
Usage Guidance
This skill appears to be what it claims: a local Python-based JSON utility. Before installing, ensure you have Python available (and install PyYAML if you need YAML conversion). Note the script will overwrite the input file by default when formatting/minifying/sorting unless you pass --output, so use copies for important files. The query implementation is a simple custom parser (not a full JSONPath engine) so complex queries may fail. Because the source/homepage is unknown, consider reviewing the included script (scripts/json_tool.py) yourself before use — it reads and writes files on your system but does not perform network I/O or access secrets.
Capability Analysis
Type: OpenClaw Skill
Name: json-tool
Version: 1.0.0
The skill bundle provides standard JSON manipulation utilities including formatting, validation, minification, and conversion to YAML/CSV. The implementation in `scripts/json_tool.py` uses standard Python libraries and safe manual parsing for JSONPath queries without any evidence of malicious intent, data exfiltration, or prompt injection.
Capability Assessment
Purpose & Capability
Name/description (JSON validation/format/transform) align with the included Python script and SKILL.md examples. The script implements formatting, minifying, validation, querying, key-sorting, and basic conversions (YAML/CSV) — all described in the manifest. No unrelated binaries, env vars, or services are required.
Instruction Scope
SKILL.md tells the agent to run the included local script against a user-supplied file. The script only reads/writes the specified file(s) and does not attempt to read unrelated system files or environment variables, nor does it send data to external endpoints.
Install Mechanism
No install spec — instruction-only usage launching a local Python script. No network downloads or archive extraction. The script optionally imports PyYAML for YAML conversion and prints a pip install suggestion if missing; that is reasonable and documented.
Credentials
No required environment variables, credentials, or config paths. The script does not access secrets or other environment data.
Persistence & Privilege
always:false and user-invocable:true (defaults). The skill does not request persistent system presence or modify other skills or system settings. Autonomous invocation is allowed by platform default but is not coupled with elevated privileges or broad credential access.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install json-tool - After installation, invoke the skill by name or use
/json-tool - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release
Metadata
Frequently Asked Questions
What is Json Tool?
Validate, format, and transform JSON data. Use when user needs to pretty print JSON, validate JSON syntax, minify JSON, extract JSON paths, or convert JSON t... It is an AI Agent Skill for Claude Code / OpenClaw, with 52 downloads so far.
How do I install Json Tool?
Run "/install json-tool" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Json Tool free?
Yes, Json Tool is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Json Tool support?
Json Tool is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Json Tool?
It is built and maintained by BIN (@dinghaibin); the current version is v1.0.0.
More Skills