AGENT SKILL

json-formatter

Pretty-print, validate, and minify JSON data. Also supports extracting values by path.

License 许可
Apache-2.0
所属仓库
riley1802/HUSK
最近更新
2026-04-15
Stars
★ 0
Forks
0

01 前言 Front Matter

name
json-formatter
description
Pretty-print, validate, and minify JSON data. Also supports extracting values by path.

02 资源文件 2

03 SKILL.md 正文

JSON Formatter

This skill formats, validates, and queries JSON data.

Examples

  • "Format this JSON: {"name":"Riley","age":25}"
  • "Is this valid JSON? {broken: data}"
  • "Minify this JSON: [formatted JSON]"
  • "Get the value at path 'users.0.name' from this JSON: ..."

Instructions

Call the run_js tool with the following exact parameters:

  • script name: index.html
  • data: A JSON string with the following fields:
    • json: the JSON string to process
    • action: (optional) "format" (default), "validate", "minify", or "query"
    • path: (optional, for "query" action) dot-notation path like "users.0.name"

04 同仓库更多 Skills