Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

expanso-json-pretty

bởi aronchick

PDF & Documents
588Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

"Pretty print JSON with indentation".

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

AGENT
  1. 1

    Receives the raw JSON string as input

  2. 2

    Pipes it through expanso-edge using pipeline-cli.yaml

  3. 3

    Expanso Edge applies indentation and formatting

  4. 4

    Returns the pretty-printed JSON

ĐẦU RA

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

Yêu cầu

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

Cài đặt

clawhub install aronchick/expanso-json-pretty

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết