YonghaoZhao722 / cc-sanitizer
PublicFix Claude Code's "Invalid signature in thinking block" error when switching models
A utility tool that repairs Claude Code conversation sessions by removing thinking blocks from third-party AI models, allowing users to switch between different AI providers without breaking their conversation history.
How It Works
You try to continue a conversation but get an error about invalid signatures, usually after switching between different AI models.
Someone tells you about a tool that can clean up your broken session files and remove the problematic parts.
The tool checks your conversation files and shows you exactly which parts are causing the issue.
See exactly what will change before anything is modified
Remove the problematic thinking blocks right away
Before making any changes, the tool creates a backup so you can undo everything if needed.
You open Claude Code and your conversation continues smoothly with official models, no more errors!
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.