Auto-resize oversized images and repair corrupted sessions in Claude Code. Useful for operations teams handling large image inputs from MCP screenshot tools or drag-and-drop. Integrates with Claude Code to maintain session integrity and improve workflow efficiency.
git clone https://github.com/MussaCharles/claude-code-image-sanitizer.gitAuto-resize oversized images and repair corrupted sessions in Claude Code. Useful for operations teams handling large image inputs from MCP screenshot tools or drag-and-drop. Integrates with Claude Code to maintain session integrity and improve workflow efficiency.
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/MussaCharles/claude-code-image-sanitizerCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
I'm using the Claude Code Image Sanitizer to process images from [SCREENSHOT_TOOL] in [COMPANY]'s [INDUSTRY] workflow. Please resize any images over [MAX_SIZE] pixels and repair any corrupted sessions. Here's the first image: [IMAGE_DATA]
# Image Sanitization Report ## Image 1 - **Original Size**: 4000x3000 pixels - **Resized to**: 1920x1440 pixels (maintaining aspect ratio) - **Corruption Status**: Repaired (session integrity restored) ## Image 2 - **Original Size**: 2560x1600 pixels - **Resized to**: 1920x1200 pixels (maintaining aspect ratio) - **Corruption Status**: No corruption detected ## Summary - Total images processed: 2 - Images resized: 2 - Corrupted sessions repaired: 1 All images are now optimized for Claude Code sessions.
Safe collectibles marketplace
AI assistant built for thoughtful, nuanced conversation
IronCalc is a spreadsheet engine and ecosystem
Customer feedback management made simple
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power