← 返回 Skills 市场
Jsonlint
作者
bytesagain3
· GitHub ↗
· v3.0.0
· MIT-0
329
总下载
0
收藏
2
当前安装
10
版本数
在 OpenClaw 中安装
/install jsonlint
功能描述
Validate and pretty-print JSON files from the terminal. Use when linting config files, formatting API payloads, checking syntax before deployment.
使用说明 (SKILL.md)
JSONLint
A real JSON linter and toolkit for the terminal. Validate syntax, pretty-print, minify, compare files, list keys, and extract values by path — all powered by python3.
Commands
| Command | Description |
|---|---|
jsonlint validate \x3Cfile> |
Check JSON syntax — reports type, element count, file size, and shows error context on failure |
jsonlint format \x3Cfile> |
Pretty-print JSON with 4-space indentation |
jsonlint minify \x3Cfile> |
Compact JSON (remove all whitespace), shows bytes saved |
jsonlint diff \x3Cfile1> \x3Cfile2> |
Deep structural comparison of two JSON files — shows added, removed, and changed values with dot-paths |
jsonlint keys \x3Cfile> |
List all top-level keys with types and value previews |
jsonlint extract \x3Cfile> \x3Cpath> |
Extract a value by dot-path (e.g. config.database.host), supports array indices like items[0] |
Requirements
python3(usesjsonstdlib module)
Examples
# Validate a config file
jsonlint validate config.json
# Pretty-print API response
jsonlint format response.json
# Minify for deployment
jsonlint minify package.json
# Compare two versions
jsonlint diff old.json new.json
# List what's in a JSON file
jsonlint keys data.json
# Dig into nested values
jsonlint extract config.json database.host
安全使用建议
This skill appears to do exactly what it says: local JSON validation/formatting/inspection using python3. Before installing or running, review the full script (the manifest showed a truncated tail) and ensure you only run it on files you trust — do not feed it JSON containing highly sensitive secrets if you don't want that content processed on the host. Confirm python3 is from a trusted system installation and run the script in your normal user context (no elevated privileges required).
功能分析
Type: OpenClaw Skill
Name: jsonlint
Version: 3.0.0
The JSONLint skill is a legitimate utility for validating, formatting, and manipulating JSON files using Python's standard library. The implementation in `scripts/script.sh` is well-structured, lacks any network or sensitive file access, and uses safe practices for passing arguments to internal Python commands.
能力评估
Purpose & Capability
Name/description (JSON linting, formatting, extracting, diffing) match the provided files. The script implements those features using python3 and standard shell tools; no unrelated services, credentials, or binaries are requested.
Instruction Scope
SKILL.md and the script limit actions to reading and processing JSON files specified by the user. The instructions and code do not reference external endpoints, unrelated system files, or environment variables beyond requiring python3.
Install Mechanism
No install spec is declared (instruction-only). A bundled shell script is present but there are no downloads or archive extraction. The script runs locally and does not fetch remote code.
Credentials
No environment variables, credentials, or config paths are requested. The only runtime dependency is python3, which is appropriate and declared in SKILL.md.
Persistence & Privilege
The skill does not request always-on presence or modify other skills/system settings. It is user-invocable and can be run locally; autonomous invocation is allowed by platform default but not abused by the skill itself.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install jsonlint - 安装完成后,直接呼叫该 Skill 的名称或使用
/jsonlint触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v3.0.0
v3.0.0: Complete rewrite with real functionality.
v2.0.1
update
v2.0.0
v2.5 standard: Use-when desc, homepage, source, security fix
v1.0.6
old template -> domain-specific v2.0.0
v1.0.5
old template -> domain-specific v2.0.0
v1.0.4
Quality upgrade
v1.0.3
Quality upgrade: custom functionality
v1.0.2
De-template, unique content, script cleanup
v1.0.1
Quality fix: cleaner docs, removed flags
v1.0.0
Initial release
元数据
常见问题
Jsonlint 是什么?
Validate and pretty-print JSON files from the terminal. Use when linting config files, formatting API payloads, checking syntax before deployment. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 329 次。
如何安装 Jsonlint?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install jsonlint」即可一键安装,无需额外配置。
Jsonlint 是免费的吗?
是的,Jsonlint 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Jsonlint 支持哪些平台?
Jsonlint 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Jsonlint?
由 bytesagain3(@bytesagain3)开发并维护,当前版本 v3.0.0。
推荐 Skills