Plugin · Claude Code · Development Tools

Mussacharles Claude Code Image Sanitizer

mussacharles-claude-code-image-sanitizer is a Claude Code plugin for the Operate phase that auto-resizes oversized images and helps repair image-related session corruption.

by MussaCharles · github.com/MussaCharles/claude-code-image-sanitizer

Keep Claude Code sessions stable when you paste screenshots or large images that would otherwise hit dimension limits or corrupt conversation state.

26
GitHub stars
0
Installs
0
Community votes
One vote per signed-in builder - it helps surface the tools the community actually relies on.
Install

Add it to Claude Code

Install the plugin in Claude Code. One command, paste-ready.

Install the plugin
/plugin install mussacharles-claude-code-image-sanitizer@MussaCharles/claude-code-image-sanitizer
Add to ClaudeUse the Agent APISkillselion is itself an MCP server - your agent can fetch this config directly.
Agent API

Built to be called by your agent

Skillselion is itself an MCP server. Your agent can pull this entry and a paste-ready install config straight from the API - no copy-paste.

Retrieve this entry with skillselion.get_details("plugin:MussaCharles/claude-code-image-sanitizer") and the paste-ready config with skillselion.get_install_config("plugin:MussaCharles/claude-code-image-sanitizer").

About

What it does

The mussacharles-claude-code-image-sanitizer Claude Code plugin is a narrow reliability utility for builders 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. Solo builders 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.

Highlights

  • 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

Why builders use it

Pasting huge screenshots into Claude Code often triggers dimension errors or leaves sessions unusable until you start over.

After you add the plugin, images are sanitized automatically and corrupted sessions are more likely to be recoverable without losing your whole thread.

At a glance

  • Type - Plugin in Development Tools.
  • Adoption - 0 installs, 26 stars, 0 votes.

FAQ

Who is mussacharles-claude-code-image-sanitizer for?

It is for Claude Code users—especially indie builders 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.

Discussion

Comments

Share how you use mussacharles-claude-code-image-sanitizer, gotchas, or tips for other indie builders.

No comments yet - be the first to share how you use it.

This week for builders

Five minutes, every Monday — the tools, releases and tactics for shipping solo.

unsubscribe anytime.