A specialized utility for applying RFC 6902 compliant JSON patches to files safely without rewriting the entire document.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install json-modifier
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-modifier 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 Modifier is a high-precision tool designed to manipulate JSON data structures using the industry-standard RFC 6902 format. Unlike traditional text-editing methods that rely on brittle regex or complete file overwrites, this skill allows for granular modifications including adding, removing, replacing, moving, and copying specific data nodes. It is an essential component for developers building complex Openclaw Skills that require reliable configuration management.
By treating JSON as a structured tree rather than raw text, the JSON Modifier ensures that data integrity is maintained throughout the editing process. It is particularly effective for automated environments where multiple agents or processes need to update shared configuration files, package manifests, or state records without causing merge conflicts or syntax errors.
To use this utility within your Openclaw Skills environment, you can invoke the script directly via Node.js:
# Basic syntax to modify a file in place
node skills/json-modifier/index.js --file path/to/config.json --patch '[{"op": "replace", "path": "/key", "value": "new_value"}]'
# Using a dedicated patch file for complex updates
node skills/json-modifier/index.js --file input.json --patch-file patches/update.json --out output.json
The JSON Modifier utilizes the RFC 6902 standard for defining patches. Each patch is an array of objects with the following structure:
| Attribute | Type | Description |
|---|---|---|
op |
String | The operation to perform: add, remove, replace, move, copy, or test. |
path |
String | A JSON Pointer (RFC 6901) string representing the target location. |
value |
Mixed | The value to be used (required for add, replace, and test operations). |
from |
String | The source location for move or copy operations. |
Loading
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 streamlined utility for visualizing directory hierarchies in both human-readable ASCII and machine-readable JSON formats.

A specialized Node.js utility designed to automatically repair and normalize malformed or loose JSON syntax into valid standards.

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








































