← 返回 Skills 市场
darbling

Json Formatter Pro

作者 darbling · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ⚠ suspicious
103
总下载
1
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install json-utility-tools
功能描述
All-in-one JSON toolkit — format, validate, query, minify, and extract data from JSON. Built-in JMESPath query, JSONPath support, syntax highlighting. 适合API调...
使用说明 (SKILL.md)

JSON Utility Tools 🛠️

全能JSON工具集。

Features | 功能

  • 格式化:美化JSON输出
  • 验证:检查JSON语法正确性
  • 查询:支持JSONPath/JMESPath
  • 压缩:JSON压缩/解压缩
  • 提取:从JSON中提取特定字段

Usage | 使用

# 格式化
json_tool.py format '{"name":"test"}'

# 验证
json_tool.py validate file.json

# 查询
json_tool.py query '{"a":{"b":1}}' 'a.b'

免责声明:本工具仅供学习参考,不构成任何投资或商业建议。

安全使用建议
This skill appears to be a local JSON utility, but there are clear mismatches and sloppy code that you should address before use: 1) Confirm you have Python on PATH — the skill does not declare this requirement. 2) The SKILL.md calls json_tool.py while the provided file is scripts/json_formatter.py — either the docs or filenames are wrong; ask the author or inspect/rename the script before running. 3) The usage examples (e.g., 'validate file.json') imply file-reading, but the script expects JSON text as an argument; passing a filename will not work as written. 4) Review the script source yourself (it contains some buggy/simplistic logic but no network calls or credential access). 5) If you decide to run it, do so in an isolated environment (sandbox/container) and avoid feeding sensitive data until you trust the author. 6) Prefer installing only from a known/verified source or request a corrected SKILL.md and an explicit runtime requirement (python3).
功能分析
Type: OpenClaw Skill Name: json-utility-tools Version: 1.1.0 The skill bundle provides standard JSON utility functions including formatting, validation, and querying as described in SKILL.md. The implementation in scripts/json_formatter.py uses standard Python libraries (json, sys) and lacks any indicators of malicious intent, data exfiltration, or unauthorized command execution.
能力评估
Purpose & Capability
Name/description match the script's features (format, validate, minify, query, diff, sort). However the skill metadata declares no required binaries while the included script is a Python program (requires a Python runtime). The README/usage references json_tool.py but the bundle provides scripts/json_formatter.py — filename mismatch is incoherent.
Instruction Scope
SKILL.md instructs running a CLI named json_tool.py and gives examples like 'validate file.json' that imply file-path handling. The bundled script expects raw JSON strings as its second argv (it does not open paths), so usage examples are incorrect and could cause failures or confusion. The script performs only local JSON operations and makes no network calls or credential access, but its query/diff implementations are simplistic and buggy (e.g., naive JSONPath parsing, diff uses set(json.dumps(...)) which is likely incorrect).
Install Mechanism
No install spec (instruction-only) and one included script — nothing is downloaded at install time. This keeps install risk low, but the skill ships executable code in the bundle (scripts/json_formatter.py) which will run if invoked.
Credentials
The skill requests no environment variables or credentials (appropriate for a local JSON utility). However it fails to declare the need for a Python interpreter or any runtime dependency, which is a proportion/compatibility oversight. Source/homepage are missing (unknown origin), which affects trust.
Persistence & Privilege
always is false, no install hooks or config paths are requested, and the skill does not request to modify other skills or system settings. No elevated persistence is requested.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install json-utility-tools
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /json-utility-tools 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
- Updated branding: Renamed to "JSON Utility Tools" and refreshed description to highlight JSONPath/JMESPath support and syntax highlighting. - Expanded bilingual documentation (English & Chinese), covering usage and feature list. - Clarified usage examples and simplified command-line interface in docs. - Added and updated disclaimer for better readability and scope clarification.
v1.0.2
- Added a disclaimer section clarifying informational purpose and data accuracy limits. - Disclaimer is provided in both English and Chinese.
v1.0.1
- No changes detected in this version.
v1.0.0
Initial release of json-formatter-pro. - Format, beautify, and minify JSON with configurable indentation. - Validate JSON strings with detailed error feedback. - Extract data using JSONPath queries. - Compare (diff) two JSON objects to show differences. - Sort JSON keys alphabetically. - Command-line usage with support for action-specific parameters.
元数据
Slug json-utility-tools
版本 1.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 4
常见问题

Json Formatter Pro 是什么?

All-in-one JSON toolkit — format, validate, query, minify, and extract data from JSON. Built-in JMESPath query, JSONPath support, syntax highlighting. 适合API调... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 103 次。

如何安装 Json Formatter Pro?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install json-utility-tools」即可一键安装,无需额外配置。

Json Formatter Pro 是免费的吗?

是的,Json Formatter Pro 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Json Formatter Pro 支持哪些平台?

Json Formatter Pro 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Json Formatter Pro?

由 darbling(@darbling)开发并维护,当前版本 v1.1.0。

💬 留言讨论