← Back to Skills Marketplace
honestqiao

JSON Formatter

by HonestQiao · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
943
Downloads
0
Stars
10
Active Installs
1
Versions
Install in OpenClaw
/install json-formatter
Description
Format, validate, compress JSON data, and extract JSON paths for improved readability and structure verification.
README (SKILL.md)

JSON Formatter

格式化、验证和压缩 JSON 数据。

功能

  • JSON 格式化(缩进)
  • JSON 验证
  • JSON 压缩
  • 路径提取

触发词

  • "格式化JSON"
  • "json格式化"
  • "prettify json"
  • "验证json"

示例

输入: {"a":1,"b":2}
输出: {
  "a": 1,
  "b": 2
}

输出

{
  "formatted": "...",
  "valid": true,
  "size": 1024,
  "paths": ["$.a", "$.b"]
}
Usage Guidance
This appears to be a simple, low-risk JSON formatting skill, but it advertises features (compression/minification and JSON path extraction) that are not implemented in the provided snippet or output schema. Before installing or enabling it for autonomous use, ask the author to: (1) clarify/implement the path-extraction and compression features or remove them from the docs, (2) align the SKILL.md output schema with the actual implementation, and (3) provide examples showing how 'paths' are derived. Test the skill on representative inputs to confirm outputs match expectations. No external credentials are requested, so there is no immediate credential-exfiltration risk, but the capability mismatch could lead to confusing or incorrect agent behavior.
Capability Analysis
Type: OpenClaw Skill Name: json-formatter Version: 1.0.0 The skill is designed for JSON formatting, validation, and compression. The JavaScript implementation in `skill.yaml` uses standard `JSON.parse` and `JSON.stringify` methods, performing only the stated functions without any high-risk operations like network calls, file system access, or arbitrary code execution. While there is a minor inconsistency between the `SKILL.md` (mentioning 'path extraction' and a 'paths' key in output) and the `skill.yaml` implementation (which does not include this feature), and a type mismatch in the `skill.yaml` function signature (string return type vs. object actual return), these are considered minor bugs or incomplete features, not malicious intent or exploitable vulnerabilities.
Capability Assessment
Purpose & Capability
The skill name and description (format/validate/compress/extract paths) match an instruction-only JSON formatter. It appropriately requires no binaries, env vars, or installs. However, the implementation snippet only implements formatting, validation, and size — it does not implement compression/minification options or JSON path extraction despite those being advertised.
Instruction Scope
SKILL.md declares outputs including 'paths' and lists compression as a feature. The skill.yaml's JavaScript implementation returns {formatted, valid, size} (and error on parse failure) and does not produce 'paths' nor a dedicated 'compressed' output. This mismatch may cause the agent to promise outputs it cannot produce.
Install Mechanism
Instruction-only skill with no install spec and no code files beyond short manifest; nothing is written to disk or downloaded. This is low-risk from an install perspective.
Credentials
No environment variables, credentials, or config paths are requested — consistent and proportionate for a JSON formatting utility.
Persistence & Privilege
Skill is not forced-always, does not request elevated privileges, and does not modify other skills. Autonomous invocation is allowed by default (platform normal) and does not combine with other red flags here.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install json-formatter
  3. After installation, invoke the skill by name or use /json-formatter
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of JSON Formatter. - Supports JSON formatting (indentation), validation, and compression. - Allows extraction of all JSON paths from input data. - Handles trigger phrases in both Chinese and English. - Provides structured output with formatted JSON, validity status, size, and paths.
Metadata
Slug json-formatter
Version 1.0.0
License
All-time Installs 11
Active Installs 10
Total Versions 1
Frequently Asked Questions

What is JSON Formatter?

Format, validate, compress JSON data, and extract JSON paths for improved readability and structure verification. It is an AI Agent Skill for Claude Code / OpenClaw, with 943 downloads so far.

How do I install JSON Formatter?

Run "/install json-formatter" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is JSON Formatter free?

Yes, JSON Formatter is completely free (open-source). You can download, install and use it at no cost.

Which platforms does JSON Formatter support?

JSON Formatter is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created JSON Formatter?

It is built and maintained by HonestQiao (@honestqiao); the current version is v1.0.0.

💬 Comments