A powerful command-line tool to format, validate, beautify, and minify any JSON data for cleaner code and optimized performance.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install king-json-formatter
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install king-json-formatter using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The JSON Formatter is an indispensable tool for developers, data engineers, and AI workflows. As part of the ecosystem of Openclaw Skills, this tool simplifies raw JSON processing by offering instant formatting, structural validation, and minification. Whether you are dealing with large API payloads, local configuration files, or debugging data schemas, it helps make data human-readable and production-ready in seconds.
By integrating this utility into your development agent, you can automate JSON manipulation, enforce style rules, and detect structural syntax issues early in the software development lifecycle.
To get started with this addition to your Openclaw Skills workspace, install the package and run the formatting commands as needed:
# Install the JSON Formatter skill
clawdhub install king-json-formatter
# Format and pretty-print a JSON file
python3 main.py format data.json
# Minify a JSON file for production
python3 main.py minify data.json
# Validate JSON structure
python3 main.py validate data.json
The JSON Formatter skill works natively with any standard .json file formats. Below is an overview of the CLI commands and the expected outcomes:
| Command | Description | Input Format | Output Format |
|---|---|---|---|
format |
Pretty-prints JSON with clean indentation | Raw/Unformatted JSON | Human-readable, spaced JSON |
minify |
Compresses JSON by removing spaces/newlines | Any JSON file | Single-line compressed JSON |
validate |
Checks for syntax errors and validates schema | Any JSON file | Status message (Valid/Invalid) |
| Keys Sorting | Alphabetizes keys at each hierarchy level | Unsorted JSON | Sorted JSON structure |
It does not require complex local databases or remote metadata storage, operating directly on local file references.
Loading
An enterprise-grade cron scheduler that enables visual expression building, robust job execution logging, dependency tracking, and failure alerting.

An advanced password generation and strength analysis CLI tool designed for AI agents to securely create, configure, and analyze passwords.

An automated cryptocurrency trading engine utilizing momentum and accumulation strategies with integrated risk management and Gate.io support.

An AI-powered photo geolocation tool that reconstructs lost GPS metadata for JPG images by visually identifying global landmarks and writing coordinates to EXIF records.

A specialized AI agent skill designed to search, deduplicate, and visually map out the latest AI model updates, breakthroughs, and regulatory trends.

A read-only analyzer skill designed to parse historical Alibaba Cloud Performance Testing Service (PTS) reports and provide ranked, evidence-grounded performance insights.








































