Fix Jsonl Surrogates

Diagnose and repair 'invalid high surrogate' API errors in Claude Code chat sessions. Use this skill when the user encounters API Error 400 with 'invalid high surrogate in string', 'not valid JSON', surrogate-related errors, or wants to fix/scan/repair a broken Claude Code JSONL chat file. Also use when a session refuses to resume due to JSON encoding errors, or when the user mentions request IDs (req_...) alongside JSON parse failures.

tebjan 1189f18 2 files · 11.7 KB Updated

File contents

tebjan/agent-skills/tree/main/skills/fix-jsonl-surrogates commit 1189f18cf0

Frequently asked questions

npx skillmds@latest add tebjan/fix-jsonl-surrogates