← Back to Skills Marketplace
JSON Wizard
by
freeter226
· GitHub ↗
· v1.0.0
· MIT-0
150
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install json-wizard
Description
JSON formatting, validation, and conversion tool. Format, compress, validate JSON, and convert between JSON and YAML.
README (SKILL.md)
JSON Formatter
A simple JSON formatting, validation, and conversion tool.
Features
- Format/Beautify - Make JSON readable with proper indentation
- Compress/Minify - Remove whitespace for compact JSON
- Validate - Check JSON syntax and report errors
- Convert - JSON ↔ YAML conversion
Usage
python3 skills/json-formatter/scripts/json_formatter.py \x3Caction> [options]
Actions
| Action | Description |
|---|---|
format |
Format JSON with indentation |
compress |
Minify JSON (remove whitespace) |
validate |
Validate JSON syntax |
to-yaml |
Convert JSON to YAML |
from-yaml |
Convert YAML to JSON |
Options
| Option | Type | Default | Description |
|---|---|---|---|
--input |
string | - | Input string or file path |
--indent |
int | 2 | Indentation spaces (for format) |
--file |
bool | false | Treat input as file path |
Examples
# Format JSON
python3 skills/json-formatter/scripts/json_formatter.py format --input '{"name":"test","value":123}'
# Compress JSON
python3 skills/json-formatter/scripts/json_formatter.py compress --input '{"name": "test", "value": 123}'
# Validate JSON
python3 skills/json-formatter/scripts/json_formatter.py validate --input '{"name":"test"}'
# Convert to YAML
python3 skills/json-formatter/scripts/json_formatter.py to-yaml --input '{"name":"test","items":[1,2,3]}'
# From YAML to JSON
python3 skills/json-formatter/scripts/json_formatter.py from-yaml --input 'name: test'
Use Cases
- Debug API responses - Format and inspect JSON data
- Reduce file size - Compress JSON for storage/transmission
- Validate config files - Check JSON syntax before deployment
- Convert formats - Switch between JSON and YAML for different tools
Current Status
In development.
Usage Guidance
This skill appears to do exactly what it says: format, compress, validate JSON and convert to/from YAML. Before installing or running it: 1) ensure python3 is available; install PyYAML (pip install pyyaml) if you need YAML conversion; otherwise JSON-only features work without it. 2) Be aware the script can read arbitrary local files when run with --file, so do not point it at sensitive files unless you intend to process them. 3) Fix the path mismatch in SKILL.md (it references a different path than the actual file) so the agent can invoke the script reliably. Overall the skill is coherent and contains no obvious malicious behavior.
Capability Assessment
Purpose & Capability
The name/description (JSON formatting, validation, conversion) align with the included script and requirements. Minor inconsistency: SKILL.md usage shows the script path as 'skills/json-formatter/scripts/json_formatter.py' while the repository contains 'scripts/json_formatter.py' (README also references 'scripts/json_formatter.py'). This is a packaging/path mismatch that can break execution but is not a security issue.
Instruction Scope
The SKILL.md instructions are narrowly scoped to formatting/validating/converting JSON and YAML. The runtime script will read an input string or an arbitrary local file when invoked with --file; it prints JSON-formatted results to stdout. There are no network calls, no references to unrelated env vars, and no attempts to access config or credentials. Note: reading arbitrary local files is expected for a converter but could expose sensitive files if used on secrets.
Install Mechanism
There is no install spec (instruction-only skill) and no downloads. A requirements.txt lists pyyaml; the script gracefully handles PyYAML not being installed. README suggests 'pip install pyyaml' for YAML support. This is proportionate and low-risk.
Credentials
The skill requests no environment variables, no credentials, and no config paths. This is appropriate for its stated functionality.
Persistence & Privilege
The skill does not request persistent/always presence (always:false) and does not modify other skills or system configuration. Default autonomous invocation is allowed but not in itself a red flag here.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install json-wizard - After installation, invoke the skill by name or use
/json-wizard - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
首个版本:支持 JSON 格式化、压缩、校验、JSON-YAML互转
Metadata
Frequently Asked Questions
What is JSON Wizard?
JSON formatting, validation, and conversion tool. Format, compress, validate JSON, and convert between JSON and YAML. It is an AI Agent Skill for Claude Code / OpenClaw, with 150 downloads so far.
How do I install JSON Wizard?
Run "/install json-wizard" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is JSON Wizard free?
Yes, JSON Wizard is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does JSON Wizard support?
JSON Wizard is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created JSON Wizard?
It is built and maintained by freeter226 (@freeter226); the current version is v1.0.0.
More Skills