Json Linter
/install json-linter
JSON Linter
A simple utility to recursively scan the workspace for .json files and validate their syntax using JSON.parse().
Usage
# Scan the entire workspace (from current working directory)
node skills/json-linter/index.js
# Scan a specific directory
node skills/json-linter/index.js --dir path/to/dir
Output
JSON report containing:
scanned_at: Timestamptotal_files: Number of.jsonfiles scannedvalid_files: Number of valid filesinvalid_files: Number of invalid fileserrors: Array of error objects:path: Relative path to fileerror: Error message (e.g., "Unexpected token } in JSON at position 42")
Example Output
{
"scanned_at": "2026-02-14T21:45:00.000Z",
"total_files": 150,
"valid_files": 149,
"invalid_files": 1,
"errors": [
{
"path": "config/broken.json",
"error": "Unexpected token } in JSON at position 42"
}
]
}
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install json-linter - After installation, invoke the skill by name or use
/json-linter - Provide required inputs per the skill's parameter spec and get structured output
What is Json Linter?
Validates JSON syntax across the workspace. Use this skill to check for syntax errors in configuration files, memory files, or data assets. It is an AI Agent Skill for Claude Code / OpenClaw, with 826 downloads so far.
How do I install Json Linter?
Run "/install json-linter" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Json Linter free?
Yes, Json Linter is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Json Linter support?
Json Linter is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Json Linter?
It is built and maintained by WANGJUNJIE (@wanng-ide); the current version is v1.0.0.