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 Updated

File contents

tebjan/agent-skills commit 1189f18cf0

Frequently asked questions

npx get-skill add tebjan/fix-jsonl-surrogates