A specialized Node.js utility designed to automatically repair and normalize malformed or loose JSON syntax into valid standards.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install json-repair-kit
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install json-repair-kit using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The JSON Repair Kit is a robust utility within the Openclaw Skills ecosystem that streamlines the process of fixing "loose" JSON files. Developers often encounter JSON files with trailing commas, single quotes, or unquoted keys—errors that typically break strict parsers. This skill leverages a secure Node.js environment to evaluate these malformed structures as JavaScript objects and re-serialize them into perfectly formatted, valid JSON.
By integrating this tool into your local development environment, you ensure that configuration files, manually edited data, and legacy exports remain compatible with modern applications. As part of the Openclaw Skills library, it focuses on providing a developer-friendly interface for data sanitization and workflow automation.
To use this component from the Openclaw Skills collection, ensure you have a Node.js environment configured. Run the following commands to repair your files:
# Repair a specific file in place (automatically creates a .bak backup)
node skills/json-repair-kit/index.js --file path/to/broken.json
# Repair a file and save the output to a specific location
node skills/json-repair-kit/index.js --file broken.json --out fixed.json
# Recursively scan and repair all JSON files in a directory
node skills/json-repair-kit/index.js --dir config/ --recursive
The JSON Repair Kit processes text-based data files and produces a standardized output. It organizes file operations according to the following schema:
| Attribute | Description | Output Format |
|---|---|---|
| Source File | The malformed JSON or .txt file | Loose JS Object Notation |
| Repaired File | The sanitized, valid JSON output | Strict RFC 8259 JSON |
| Backup File | A .bak copy of the original source | Original Content |
It handles data types including strings, booleans, arrays, nested objects, and numeric conversions (Hex/Octal to Decimal).
Loading
A specialized utility for applying RFC 6902 compliant JSON patches to files safely without rewriting the entire document.

A lightweight utility for recursively scanning workspaces to identify and report syntax errors in JSON files.

A specialized tool for wrapping Humanity's Last Exam (HLE) questions in a structured Chain-of-Thought reasoning framework.

Automates HLE benchmark reward ingestion and curriculum generation for AI capability evolution.

A technical validation skill for auditing Markdown files to ensure link consistency and structural syntax compliance.

A high-performance CLI tool designed to identify broken internal links and maintain documentation integrity within Markdown files.








































