/mage:mage-ad-resizerfrom mage
Recomposes static ads for every placement (square, portrait, Stories, landscape, banners, Pinterest) instead of cropping. Extends background, preserves text, product, and logo, and respects platform safe zones.
Ships in mage. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Re-lay out one static ad for every placement. Each size is recomposed from the original, not cropped: text reflows, the background extends, and the product and logo stay intact and in focus.
get_model, estimate_cost, generate, get_request, and create_upload for local files. If they are missing, ask the user to connect Mage (Claude: Customize → Connectors → Add custom connector, https://mcp.mage.space/mcp; Claude Code: /mcp to sign in if the Mage plugin is installed, otherwise claude mcp add --transport http mage https://mcp.mage.space/mcp; others: https://www.mage.space/mcp), then wait.create_upload. Files attached to the chat never reach Mage.1:1, 4:5, 9:16) when the user doesn't list sizes; ask only if the platform is unclear.| Placement | Aspect | Layout |
|---|---|---|
| Feed square (Meta, LinkedIn, X) | 1:1 | Headline top, product center, CTA bottom |
| Feed portrait (Instagram, Facebook) | 4:5 | Same as square with more vertical breathing room |
| Stories, Reels, TikTok, Shorts | 9:16 | Keep the top ~14% and bottom ~20% free of text and logo (app UI covers them); stack headline, product, CTA in the middle band |
2:3 | Tall, product-led, headline in the top half | |
| YouTube thumbnail, display landscape, X/LinkedIn link | 16:9 | Product on one side, text on the other |
| Wide web banner, email header | 21:9 | Product on the right third, text on the left, lots of background |
Other Mage ratios (3:2, 5:4, 2:3, 9:21) are available for custom slots. Exact pixel sizes (for example 1080×1920) come from resizing the 2K output afterwards; the aspect ratio is what matters here.
Read the ad. List its text (every line, verbatim), the product, the logo, the CTA, the background, and the visual hierarchy.
Choose the model. GPT Image 2.5 Flare (gpt_image_2, gpt-image-2.5-flare) when the ad has text; it renders words most reliably. Mango 4 (mango, mango-v4) for image-only ads. resolution: "2K".
Prompt each size, with the original in image:
Recompose the ad in @image1 as a <aspect> <placement> ad. Reuse exactly the
same text, word for word: "<line 1>", "<line 2>", "<CTA>". Keep the product,
its label, and the logo identical and prominent. <Layout for this placement
from the table.> Extend the background naturally in the same style; do not
stretch, crop, or distort the product. Same fonts, colors, and visual
hierarchy as the original.
Price, generate, wait: get_model, estimate_cost per size, quote the total, generate each (new UUID idempotency_key), get_request with wait_seconds: 120.
Check each result if you can see it: every word spelled as in the original, nothing cut off, the product undistorted, text clear of the safe zones on 9:16. Regenerate once if not.
Resized for 3 placements:
- 1:1 feed: https://…
- 4:5 feed: https://…
- 9:16 Stories and Reels: https://…
Offer once to localize the set (mage-ad-localizer) or make variations of the winner (mage-ad-multiplier).
invalid_config: the aspect ratio isn't offered by the model; check get_model.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub mage-space/skills --plugin mage30 skills in this plugin
/mage-ad-localizerLocalize static ads into other languages and markets with Mage: translate
every line of on-image text naturally (not word for word), keep the offer,
brand voice, product, logo, fonts, and layout, and adjust line breaks,
number and currency formats, and right-to-left layouts so each version
reads as native. Uses GPT Image 2.5 Flare for precise text replacement.
Use when: "translate this ad", "localize this ad", "Spanish and German
versions", "adapt this ad for Japan", "make this ad in French", "ad in
Arabic", "international versions of my ad", "market-specific ad copy".
NOT for: new creative variations (use mage-ad-multiplier), resizing for
placements (mage-ad-resizer), translating video voiceovers, or documents
and websites.
/mage-ad-multiplierTurn one ad into many independent variations with Mage: new talent,
wardrobe, setting, background, color story, or headline, while the product,
brand, layout, and every untouched element stay exactly as they were.
Works on static image ads (Mango 4, GPT Image 2.5 Flare for headline
changes) and on video ads (Cherry 2 Pro edits that keep motion, framing,
cuts, timing, and audio). Use when: "make variations of this ad",
"multiply this ad", "ad variants", "creative testing", "A/B test
versions", "new talent / new model in this ad", "change the setting",
"10 headline variants", "refresh this creative", "same ad with different
people". NOT for: resizing an ad for placements (use mage-ad-resizer),
translating an ad (mage-ad-localizer), creating a first ad from a product
photo (mage-product-photoshoot ad_creative_pack), or UGC videos from
scratch (mage-ugc-video).