Skip to main content
Run any Skill in Manus
with one click

salvage

Stars6
Forks1
UpdatedJune 26, 2026 at 14:44

Extract and repair valid JSON buried in chatty model output — strip the preamble, the ```json fence, the trailing comma, the // comments, the Python True/False/None, and the smart quotes, then emit clean parseable JSON. Use when a tool, downstream parser, or pipeline needs strict JSON but the source text is prose-wrapped or slightly malformed, or when you are post-processing another model's structured output. Distinct from simply prompting "respond in JSON": salvage assumes the chatter already happened and rips the JSON out of it after the fact.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
7 files
SKILL.md
readonly