LaunchKit · 2026
Back to Skills

expanso-json-pretty

"Pretty print JSON with indentation".

0
588 downloads
by @aronchick

Setup & Installation

openclaw skills install @aronchick/expanso-json-pretty

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install expanso-json-pretty

What This Skill Does

Formats JSON input with standard indentation. Accepts raw or minified JSON via stdin and outputs a human-readable version. Can run as a standalone CLI pipeline or as an MCP server.

Runs as both a CLI pipeline and an MCP server from the same skill, so the same tool works for interactive terminal use and automated agent workflows without switching utilities.

When to use it

  • Formatting raw API response bodies before reading
  • Inspecting minified JSON config files
  • Cleaning up curl output in a terminal pipeline
  • Reviewing webhook payloads during local development
  • Preparing JSON snippets for readable code review comments

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Format this JSON: {"name":"alice","age":30,"active":true}

AGENT
  1. 1Receives the raw JSON string as input
  2. 2Pipes it through expanso-edge using pipeline-cli.yaml
  3. 3Expanso Edge applies indentation and formatting
  4. 4Returns the pretty-printed JSON
OUTPUT

{ "name": "alice", "age": 30, "active": true }

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

Expanso Edge binary installed in PATH (run `clawhub install expanso-edge`)