Check image sanitizer status and configuration
Checks image sanitizer configuration and system status for troubleshooting.
/plugin marketplace add MussaCharles/claude-code-image-sanitizer/plugin install image-sanitizer@image-sanitizer-marketplaceCheck the current image sanitizer configuration and system status.
Report the following environment variable settings (show defaults if not set):
| Variable | Current Value | Default | Description |
|---|---|---|---|
CLAUDE_IMAGE_MAX_DIMENSION | (check env) | 1200 | Maximum pixels for any dimension |
CLAUDE_IMAGE_MAX_SIZE_MB | (check env) | 4 | Maximum file size in MB |
CLAUDE_IMAGE_QUALITY | (check env) | 85 | JPEG compression quality (1-100) |
CLAUDE_IMAGE_DEBUG | (check env) | 0 | Debug logging (0=off, 1=on) |
CLAUDE_FULLPAGE_ACTION | (check env) | block | Action for fullPage screenshots (block/warn) |
ImageMagick: Check if magick or convert command is available
which magick || which convertmagick --version or convert --versionjq: Check if jq is available (required for JSON parsing)
which jqjq --version| Scenario | Max Dimension | Max Size |
|---|---|---|
| Single image | 8000 x 8000 px | 5 MB |
| Multi-image (>20 images) | 2000 x 2000 px | 5 MB |
| Recommended (safe) | 1200 px | < 4 MB |
If images are still causing issues:
CLAUDE_IMAGE_MAX_DIMENSION to 1000CLAUDE_IMAGE_QUALITY to 60-70CLAUDE_IMAGE_DEBUG=1 and run claude --verbose