Skip to content
Skill

Replace in video

Swaps one on-camera element in a video while motion, camera and audio stay intact

Replace in video is an open-source agent skill for design and media. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
8
Last commit
License
MIT
Listing updated

Similar skills

About Replace in video

This skill replaces a single on-camera element in an existing clip, such as a character, a product, or a garment, using one to three reference images. The source video keeps its motion, timing, camera movement, lighting, background and audio, so only the named subject changes.

The workflow centers on a prompt that names what to replace and what to preserve, with the reference images defining how the new element should look. The skill walks the agent through checking the live model schema, uploading the source and references, and running the video job asynchronously before polling for the finished file. It also covers reviewing the result for identity or object fidelity and retrying with clearer references when details drift.

It expects a source video you have rights to, clean reference photos, and access to the Runware tooling it names, including the runware-run and runware-models skills. Output resolution, frame rate and whether source audio is kept or lip-synced are set as options. No scripts are bundled; the skill is instructions and reference examples.

When your agent uses it

Swap one on-camera element in an existing video while everything else stays put. Use when the user says "recast this character", "put a different actor in this clip", "swap the product she's holding", "change the shirt he's wearing", "change the car's color", "repaint the jacket", "drop my mascot into this scene", or "replace X but keep the rest". Keeps the original motion, timing, camera, lighting, and audio untouched. For a whole-frame restyle or relight, use edit-video instead.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 2 files (18 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add Runware/runware-skills
/plugin install skills@runware

Or copy only this skill to ~/.claude/skills/replace-in-video:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Runware/runware-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/replace-in-video &&
cp -R "$tmp/skills/replace-in-video" ~/.claude/skills/replace-in-video &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/replace-in-video inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/replace-in-video to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Runware/runware-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/replace-in-video &&
cp -R "$tmp/skills/replace-in-video" ~/.agents/skills/replace-in-video &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/replace-in-video inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/replace-in-video to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Runware/runware-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/replace-in-video &&
cp -R "$tmp/skills/replace-in-video" ~/.cursor/skills/replace-in-video &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/replace-in-video inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/Runware/runware-skills.git --path skills/replace-in-video

Or copy the folder to ~/.gemini/skills/replace-in-video yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/replace-in-video:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Runware/runware-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/replace-in-video &&
cp -R "$tmp/skills/replace-in-video" ~/.copilot/skills/replace-in-video &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/replace-in-video inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/Runware/runware-skills.git

Then copy runware-skills/skills/replace-in-video into your agent's skills folder as replace-in-video. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Targeted element swap
Replaces one named subject in a clip while leaving the rest of the frame as it was.
Reference-driven appearance
Uses up to three reference images to define the look of the new character or object.
Prompt templates for preservation
Provides a pattern for naming the element to replace and the elements to keep unchanged.
Async job workflow
Describes submitting a video task, polling for completion, and retrieving the output URL.
Audio and resolution options
Covers choices for keeping or stripping source audio, lip sync, resolution and frame rate.
Quality review guidance
Lists failure modes such as camera-motion drift and small detail loss, with retry advice.

Good for

  • Recast the actor in an existing clip without reshooting it
  • Swap the product a person is holding for a different item
  • Change the color or style of a garment worn by someone in the video
  • Drop a mascot or character into an existing scene
  • Replace one car or object in footage while keeping the background

Replace in video FAQ

What inputs does Replace in video need?

A source video you have rights to, one to three reference images of the new element, and a description of what to replace and what to keep.

Does Replace in video change the camera, lighting or audio?

It is designed to keep the source motion, timing, camera, lighting and audio untouched. Source audio is preserved by default and can be turned off.

When should I use a different skill?

For a whole-frame restyle or relight, the skill points to edit-video instead.

Which model does Replace in video use?

It names the Pruna P-Video-Replace model by default and tells the agent to confirm the model is live and check its input fields before calling it.

How do I install Replace in video in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/replace-in-video to use it in all your projects, or to .claude/skills/replace-in-video in one project. Or install the skills plugin, which includes it: /plugin marketplace add Runware/runware-skills, then /plugin install skills@runware.

Does Replace in video run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Replace in video?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Replace in video?

The closest alternatives to Replace in video are Edit video, Product ad video, Animate image, Multi shot video and Video.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from Runware/runware-skills

  1. Checks which parts of a Fal.ai API call map to Runware and which need changes

    • Open source
    • 8 GitHub stars
    • Developer tools
  2. Checks which parts of a Replicate API call map to Runware and which need changes

    • Open source
    • 8 GitHub stars
    • AI models and LLM tooling
  3. Checks which parts of a WaveSpeed API call map to Runware and which need changes

    • Open source
    • 8 GitHub stars
    • Developer tools
  4. Adds synced sound effects to a silent video clip, with narration and music routed

    • Open source
    • 8 GitHub stars
    • Design and media
  5. Turns a still image into a short video clip with directed camera and subject motion

    • Open source
    • 8 GitHub stars
    • Design and media
  6. Imports your own LoRA or checkpoint into Runware so you can generate with it

    • Open source
    • 8 GitHub stars
    • AI models and LLM tooling