← 返回 Skills 市场
muguozi1

Muguozi1 Openclaw Json Repair

作者 muguozi1 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
232
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install muguozi1-openclaw-json-repair
功能描述
自动修复格式错误的 JSON(尾随逗号、未引号键、注释等)。当遇到 JSONParseError、SyntaxError 或 malformed_json 时使用。支持字符串和文件修复。
安全使用建议
This skill appears coherent and local-only, but review these practical points before installing: (1) It expects Node.js/npm though the registry metadata did not list them — ensure Node is available or the 'npm install' step will fail. (2) The repair uses simple regex heuristics (e.g., a global replace of single quotes) which can mis-handle complex/ambiguous inputs — test on sample data first. (3) When repairing files the tool will overwrite them (it can create a .bak when --backup is used) — always keep backups or run in a sandbox on important files. (4) There is no network or credential access in the code, so there's no obvious exfiltration risk, but if you want extra caution run the tests and inspect index.js before use.
功能分析
Type: OpenClaw Skill Name: muguozi1-openclaw-json-repair Version: 1.0.0 The skill provides a utility to repair malformed JSON using heuristic regex-based fixes in `index.js`. While the code appears to perform its stated function (fixing trailing commas, unquoted keys, and comments), it includes high-risk capabilities such as reading from and overwriting arbitrary file paths provided via CLI arguments without sanitization. According to the analysis criteria, these risky file system operations, although plausibly needed for the stated purpose, classify the bundle as suspicious.
能力评估
Purpose & Capability
The name/description match the provided code and examples: index.js implements heuristic JSON repair, helper functions, CLI, and file backup behavior. Nothing in the package or SKILL.md suggests capabilities beyond repairing/extracting JSON.
Instruction Scope
SKILL.md and examples instruct local operations (repair strings, repair files, extract from LLM output). Example and CLI code read/write files and create .bak backups when requested. Instructions do reference running 'npm install' and using node, but the skill metadata did not declare Node/npm as required binaries — this is an omission rather than suspicious behavior.
Install Mechanism
There is no formal install spec in the registry (instruction-only), but SKILL.md asks to run 'npm install'. The shipped package.json is minimal and there are no remote downloads or extract operations. This is low risk, but the missing declared requirements (node/npm) and an install step in docs are inconsistent and should be noted.
Credentials
The skill requests no environment variables, no credentials, and no config paths. The code does not read environment variables or network endpoints. This is proportionate for a local JSON repair utility.
Persistence & Privilege
The skill is not always-enabled, uses normal model invocation semantics, and does not modify other skills or global agent settings. It writes to files only when the user explicitly asks to repair a file (and offers a .bak backup).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install muguozi1-openclaw-json-repair
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /muguozi1-openclaw-json-repair 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release with robust JSON auto-repair features: - Automatically fixes malformed JSON, including trailing commas, unquoted keys, comments, and single quotes. - Supports both direct string repair and file repair (with backup). - Provides both programmatic and CLI usage, including utilities for extracting and repairing JSON from text (e.g., LLM outputs). - Includes automated test suite and comprehensive documentation. - Based on EvoMap GDI 66.0 gene with 95% reported success rate.
元数据
Slug muguozi1-openclaw-json-repair
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Muguozi1 Openclaw Json Repair 是什么?

自动修复格式错误的 JSON(尾随逗号、未引号键、注释等)。当遇到 JSONParseError、SyntaxError 或 malformed_json 时使用。支持字符串和文件修复。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 232 次。

如何安装 Muguozi1 Openclaw Json Repair?

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

Muguozi1 Openclaw Json Repair 是免费的吗?

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

Muguozi1 Openclaw Json Repair 支持哪些平台?

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

谁开发了 Muguozi1 Openclaw Json Repair?

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

💬 留言讨论