
Mussacharles Claude Code Image Sanitizer
- 26 repo stars
- Updated December 8, 2025
- MussaCharles/claude-code-image-sanitizer
mussacharles-claude-code-image-sanitizer is a Claude Code plugin that auto-resizes oversized images and helps repair image-related session corruption.
About
The mussacharles-claude-code-image-sanitizer Claude Code plugin is a narrow reliability utility for developers who lean on visual context—UI mocks, bug screenshots, and design references—in agent sessions. Large or malformed image payloads can exceed model dimension constraints or leave session storage in a bad state, which wastes time on restarts and lost thread context. This plugin auto-resizes oversized inputs and includes logic to repair corrupted sessions tied to those failures. It is best thought of as guardrail infrastructure: install once, let hooks or bundled behavior run in the background, and keep coding without manually preprocessing every PNG. developers shipping with Claude Code who frequently attach images will get the most value; teams on other agents or text-only workflows can skip it. Complexity is beginner-friendly because the goal is automatic prevention rather than configuring pipelines.
- Automatically resizes oversized images before they enter Claude Code context
- Repairs corrupted sessions when image-related state breaks conversations
- Targets screenshot and attachment workflows that trigger dimension errors
- Single-plugin bundle focused on session hygiene, not general image editing
- Community plugin (1 plugin) aimed at day-to-day Claude Code stability
Mussacharles Claude Code Image Sanitizer by the numbers
- Data as of Jul 7, 2026 (Skillselion catalog sync)
/plugin install mussacharles-claude-code-image-sanitizer@MussaCharles/claude-code-image-sanitizerAdd your badge
Show developers this plugin is listed on Skillselion. Paste this into your README.
| repo stars | ★ 26 |
|---|---|
| Last updated | December 8, 2025 |
| Repository | MussaCharles/claude-code-image-sanitizer ↗ |
What it does
Keep Claude Code sessions stable when you paste screenshots or large images that would otherwise hit dimension limits or corrupt conversation state.
Who is it for?
Best when you paste screenshots and design assets into Claude Code daily and have hit image size or session corruption errors.
Skip if: Skip if you never attach images to agent chats or and do all visual review outside Claude Code.
What you get
After you add the plugin, images are sanitized automatically and corrupted sessions are more likely to be recoverable without losing your whole thread.
- Automatic downsizing of oversized images entering sessions
- Reduced frequency of image-related session corruption
- More recoverable Claude Code threads after bad attachments
Recommended Plugins
How it compares
Session hygiene hook for Claude Code, not a standalone image editor or MCP media server.
FAQ
Who is Mussacharles Claude Code Image Sanitizer for?
It is for Claude Code users—especially developers debugging UI or sharing mocks—who need attachments to work without breaking the session.
When should I use Mussacharles Claude Code Image Sanitizer?
Install it before you rely on screenshot-driven workflows, or right after you see oversized-image or session corruption errors in Claude Code.
How do I add Mussacharles Claude Code Image Sanitizer to my agent?
Install the plugin from the MussaCharles/claude-code-image-sanitizer repository into Claude Code’s plugin flow, then enable it so resize and repair behavior runs on your sessions.