json-repair

Community

Fix malformed JSON instantly.

AuthorVen0m0
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automatically repairs invalid or malformed JSON strings, which are commonly produced by Large Language Models (LLMs), making them parsable and usable in your applications.

Core Features & Use Cases

  • Robust JSON Parsing: Handles missing quotes, trailing commas, unescaped characters, and incomplete structures.
  • LLM Output Handling: Acts as a drop-in replacement for json.loads() that auto-repairs unreliable model outputs.
  • Schema-Guided Repair: Can optionally use JSON Schema or Pydantic models to guide repairs, fill missing values, and coerce types.

Quick Start

Use the json-repair skill to fix the following broken JSON string: '{"name": "test", "value": 42,}'

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: json-repair
Download link: https://github.com/Ven0m0/claude-config/archive/main.zip#json-repair

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.