← Back to Skills Marketplace
muguozi1

Muguozi1 Openclaw Json Repair

by muguozi1 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
232
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install muguozi1-openclaw-json-repair
Description
自动修复格式错误的 JSON(尾随逗号、未引号键、注释等)。当遇到 JSONParseError、SyntaxError 或 malformed_json 时使用。支持字符串和文件修复。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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).
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install muguozi1-openclaw-json-repair
  3. After installation, invoke the skill by name or use /muguozi1-openclaw-json-repair
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug muguozi1-openclaw-json-repair
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Muguozi1 Openclaw Json Repair?

自动修复格式错误的 JSON(尾随逗号、未引号键、注释等)。当遇到 JSONParseError、SyntaxError 或 malformed_json 时使用。支持字符串和文件修复。 It is an AI Agent Skill for Claude Code / OpenClaw, with 232 downloads so far.

How do I install Muguozi1 Openclaw Json Repair?

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

Is Muguozi1 Openclaw Json Repair free?

Yes, Muguozi1 Openclaw Json Repair is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Muguozi1 Openclaw Json Repair support?

Muguozi1 Openclaw Json Repair is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Muguozi1 Openclaw Json Repair?

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

💬 Comments