mage-video-character-swap
Installation
SKILL.md
Mage Video Character Swap
Replace the entire person in a video with another character, body and styling included, keeping the motion, camera, and background. This is the Video Character Swap app as a skill: the same prompt and models, run through the Mage connector.
Before you start
- Mage tools:
get_model,estimate_cost,generate,get_request,list_characters, 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. A page that plays a video (YouTube, Instagram, a Drive preview) is not a file. - The clip's length matters. Each model accepts a range of clip lengths, and the price depends on the clip's length. Measure it when you can run commands (
ffprobe -v error -show_entries format=duration -of csv=p=0 clip.mp4); otherwise ask the user how long it is.estimate_costmeasures a clip that is acreate_uploadURL or an earlier Mage result, and answersrequires_media_measurementfor a clip on another host: upload it withcreate_uploadto price it. - 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 user also needs permission for the footage itself.
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 quote the model and the price in Gems and wait for a yes before generating.
- 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.