โ† All skills
Tencent SkillHub ยท Developer Tools

Json Repair Kit

Repair malformed JSON files by normalizing them through Node.js evaluation. Use this to fix trailing commas, single quotes, unquoted keys, or other common sy...

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Repair malformed JSON files by normalizing them through Node.js evaluation. Use this to fix trailing commas, single quotes, unquoted keys, or other common sy...

โฌ‡ 0 downloads โ˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, index.js, package.json, scripts/test.js

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 4 sections Open source page

JSON Repair Kit

A utility to repair broken or "loose" JSON files (like those with trailing commas, single quotes, or unquoted keys) by parsing them as JavaScript objects and re-serializing as valid JSON.

Usage

# Repair a file in place (creates .bak backup) node skills/json-repair-kit/index.js --file path/to/broken.json # Repair and save to a new file node skills/json-repair-kit/index.js --file broken.json --out fixed.json # Scan directory and repair all .json files (recursive) node skills/json-repair-kit/index.js --dir config/ --recursive

Supported Repairs

Trailing Commas: {"a": 1,} -> {"a": 1} Single Quotes: {'a': 'b'} -> {"a": "b"} Unquoted Keys: {key: "value"} -> {"key": "value"} Comments: Removes JS-style comments // (if parser supports it, standard Node eval may strip them if they are line comments outside of strings). Hex/Octal Numbers: 0xFF -> 255

Safety

Backup: Always creates a .bak file before overwriting (unless --no-backup is used, but default is safe). Validation: Verifies the repaired content is valid JSON before writing. Eval Sandbox: Uses vm.runInNewContext to parse, ensuring no access to global scope or process. It is safer than eval().

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
2 Scripts1 Docs1 Config
  • SKILL.md Primary doc
  • index.js Scripts
  • scripts/test.js Scripts
  • package.json Config