mage-inpaint
Installation
SKILL.md
Mage Inpaint
Mark a region of an image, describe what should be there, and change only that. This is the Inpaint app as a skill: the same red-overlay mask, prompt and models, run through the Mage connector.
Before you start
- Mage tools:
get_model,estimate_cost,generate,get_request, andcreate_uploadfor 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:/mcpto sign in if the Mage plugin is installed, otherwiseclaude mcp add --transport http mage https://mcp.mage.space/mcp; others: https://www.mage.space/mcp), then wait. - Inputs are links: https URLs of the files themselves, data URLs under about 3 MB, uploads from disk (
create_upload, when you can run commands), or earlier Mage results. Files attached to the chat never reach Mage: ask for a direct link. - Consent. Harmful deepfakes are forbidden on Mage. Only use a real person's face, body, or voice with that person's permission, and never to deceive, harass, or sexualize. When the user hasn't said whose likeness it is, state this rule in one line with the price instead of questioning them; if they say they lack permission, stop.
- The mask needs a shell. The app paints the region onto the image before sending it, so this skill needs to run a short Python script and see the image. Without both, say so and offer
mage-refinewith an instruction that names the area in words, which is less precise.
UX rules
- Don't ask for what the request already gives. Ask for everything that is missing in one compact question, then wait.
- Send the app's prompt below word for word. Fill in only the marked slots; don't rewrite, translate, or add to it.
- Always state the model and the price in Gems. A single image can start with its price in the same message; a batch waits for a yes.
- Say which region you masked in a few words ("the cup and its shadow, lower left") so the user can correct it before or after the run.
- Deliver the link with a one-line label (model, size or length, Gems spent). No prompts, ids, or JSON. Reply in the user's language. Links last 30 days.