From atum-stack-web
Image dimension management rules to prevent workflow blocking. Applies to ALL image sources — browser screenshots, ADB captures, Figma/Canva, user-pasted images.
npx claudepluginhub arnwaldn/atum-plugins-collection --plugin atum-stack-webThis skill uses the workspace's default tool permissions.
The Claude API has a hard limit: when multiple images exist in conversation context,
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Guides implementation of event-driven hooks in Claude Code plugins using prompt-based validation and bash commands for PreToolUse, Stop, and session events.
The Claude API has a hard limit: when multiple images exist in conversation context, EACH image must be <= 2000px in both width and height. Exceeding this blocks ALL further tool calls.
Two hooks work together to prevent this:
BEFORE calling browser_take_screenshot or computer on Claude in Chrome:
mcp__claude-in-chrome__resize_window with width: 1280, height: 900This applies EVERY time. No exceptions.
Mobile phone screenshots are ALWAYS > 2000px (typical: 1080x2400). The auto-resize hook handles this automatically when you Read the file.
If taking screenshots in batch (e.g., beta testing multiple screens):
/compact every 5 screenshots to keep context cleanBefore taking a screenshot, ask: "Can I get this information as text instead?"
| Use this tool FIRST | Instead of screenshot |
|---|---|
get_page_text | Full page screenshot |
read_page | Page content capture |
browser_snapshot | Accessibility tree |
read_console_messages | Console screenshot |
adb shell uiautomator dump | Android UI structure |
Only take a screenshot when VISUAL information is strictly needed.
Recommend /compact after processing each pasted image to prevent accumulation.
If the error occurs:
/compact immediatelyWhen planning a task that involves many images (beta testing, UI review, design comparison):