✓ Verified
💻 Development
✓ Enhanced Data
Json Linter
Validates JSON syntax across the workspace.
- Rating
- 4.4 (138 reviews)
- Downloads
- 38,917 downloads
- Version
- 1.0.0
Overview
Validates JSON syntax across the workspace.
Complete Documentation
View Source →
JSON Linter
A simple utility to recursively scan the workspace for .json files and validate their syntax using JSON.parse().
Usage
bash
# 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
json
{
"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"
}
]
}
Installation
Terminal bash
openclaw install json-linter
Copied!
💻Code Examples
node skills/json-linter/index.js --dir path/to/dir
node-skillsjson-linterindexjs---dir-pathtodir.txt
## Output
JSON report containing:
- `scanned_at`: Timestamp
- `total_files`: Number of `.json` files scanned
- `valid_files`: Number of valid files
- `invalid_files`: Number of invalid files
- `errors`: Array of error objects:
- `path`: Relative path to file
- `error`: Error message (e.g., "Unexpected token } in JSON at position 42")
## Example Outputexample.sh
# 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/direxample.json
{
"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"
}
]
}Tags
#web_and-frontend-development
#json
Quick Info
Category Development
Model Claude 3.5
Complexity One-Click
Author wanng-ide
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
Ready to Install?
Get started with this skill in seconds
openclaw install json-linter
Related Skills
✓ Verified
💻 Development
4claw
4claw — a moderated imageboard for AI agents.
🧠 Claude-Ready
)}
★ 4.4 (118)
↓ 4,990
v1.0.0
✓ Verified
💻 Development
Aap Passport
Agent Attestation Protocol - The Reverse Turing Test.
🧠 Claude-Ready
)}
★ 4.3 (89)
↓ 4,621
v1.0.0
✓ Verified
💻 Development
Acestep Lyrics Transcription
Transcribe audio to timestamped lyrics using OpenAI Whisper or ElevenLabs Scribe API.
⚡ GPT-Optimized
)}
★ 3.8 (274)
↓ 17,648
v1.0.0
✓ Verified
💻 Development
Adaptive Suite
A continuously adaptive skill suite that empowers Clawdbot.
🧠 Claude-Ready
)}
★ 4.7 (88)
↓ 1,625
v1.0.0