motion-video

motion-video is a skill for Claude Code, Codex from xg-gh-25/SwarmAI. It costs 73 tokens per session (1,445 once invoked), scanned A, original, MIT.

A code-based workflow for making short explainer or advertising videos. It turns a description into a narrated MP4 using drawn scenes, timed animation, rendered frames, and mixed sound.

In plain words
What is it for?
Use it to create an explainer or ad video from a written idea, including its script, voice track, animated scenes, frame-accurate render, and final sound mix.
Why use it?
It avoids manually coordinating scripts, narration, animation timing, rendering, and audio in separate tools. It is not intended for slide decks, posters, or camera-footage editing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create an explainer or ad video from a written idea, including its script, voice track, animated scenes, frame-accurate render, and final sound mix.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xg-gh-25/swarmai/s_motion-video
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add xg-gh-25/SwarmAI --skill s_motion-video
Clone the repo
git clone --depth 1 https://github.com/xg-gh-25/SwarmAI

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for motion-video

README.md
[![agentmods](https://agentmods.dev/badge/skills/xg-gh-25/swarmai/s_motion-video/github.svg)](https://agentmods.dev/skills/xg-gh-25/swarmai/s_motion-video)
Your own site
<a href="https://agentmods.dev/skills/xg-gh-25/swarmai/s_motion-video"><img src="https://agentmods.dev/badge/skills/xg-gh-25/swarmai/s_motion-video/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for motion-video

Your own site · 80×15
<a href="https://agentmods.dev/skills/xg-gh-25/swarmai/s_motion-video"><img src="https://agentmods.dev/badge/skills/xg-gh-25/swarmai/s_motion-video.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,445 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00073 $0.01445
Opus 5.5 $0.00029 $0.00578
Sonnet 5.5 $0.00015 $0.00289
Haiku 4.5 $0.00007 $0.00145

Measured today against content hash 12cb07263b63, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

motion-video scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

backend/skills/s_motion-video/SKILL.md · 74 lines

How it starts

The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Motion Video — a director, not a template

One description in, one finished MP4 out. You act as the director: decide the thesis, write the narration, storyboard it, record the voice, write every scene as an HTML page with a paused GSAP timeline, render it frame by frame, mix the sound, then measure and look at the cut before delivering it.

Read INSTRUCTIONS.md before starting. It is the workflow; the craft lives in references/. A film under a minute reads only the sections scripts/read.py prints (INSTRUCTIONS.md, top), never the references whole.

Requirements

One way to run every script, on macOS, Linux and Windows: "$SWARM_BACKEND_BIN" py "$SKILL_DIR/scripts/<name>.py" --project <dir> (SwarmAI's own Python; $SKILL_DIR is this skill's base directory, shown when the skill loads).

What that Python carries, and what each script needs beyond it:

Need Used by Status in SwarmAI's Python
boto3 (Amazon Polly) tts.py bundled
PIL (Pillow) check.py, review_evidence.py bundled
numpy bgm.py, sfx.py, defects.py not declared by the backend; present today only through another package, so treat it as optional
jsonschema check.py (schema check; skipped with a warning without it) as numpy
SwarmAI's pinned browser runtime (Node, Playwright, Chromium) render.py, check.py installed by SwarmAI on first use (core.feature_map.runtime); no Python Playwright
edge_tts tts.py (the default Chinese voice, Yunxi) bundled (LGPL-3.0, see NOTICE.md)
ffmpeg / ffprobe (SwarmAI's media tools) every audio and video step installed by SwarmAI on first use (core.media_tools: a pinned, checksummed build, one download); the person installs nothing (NOTICE.md)

A missing dependency is an environment error: the script exits 2 with one line that names it and how to get it (tts.py does this for edge-tts and boto3; for ffmpeg/ffprobe the line says SwarmAI installs them on first use and why it could not, e.g. offline). Tell the person that line; do not work around it. The scripts find ffmpeg/ffprobe only through scripts/media.py (SwarmAI's resolver), never on PATH; a shell command of your own takes the path from "$SWARM_BACKEND_BIN" py -m core.media_tools --which ffmpeg. That ffmpeg is FFmpeg + x264 only: it has no PNG encoder or decoder (it writes BMP and JPEG). A still from a video is "$SWARM_BACKEND_BIN" py "$SKILL_DIR/scripts/frame.py" --video <mp4> --at <seconds> --out <name>.png (or .jpg, .bmp).

Read the full file on GitHub · 74 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · +8 lines 12cb07263b63
  2. today Changed · +2 lines 6152b7efab38
  3. 4d ago First seen · 64 lines · 73 tokens per session scan A b0c377e42971

Subscribe to this mod's changes

motion-video is a skill published in the GitHub repository xg-gh-25/SwarmAI (66 stars, last pushed today), licensed MIT. It adds 73 tokens to every session and 1,445 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-28.

Related

motion-video compared with skills from other repositories

motion-video next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
motion-videoxg-gh-25/SwarmAISkill66todayMITA73Claude Code, Codex
hindsight-architectvectorize-io/hindsightSkill64kyesterdayMITA35Claude Code, Codex
hindsight-localvectorize-io/hindsightSkill64kyesterdayMITA32Claude Code, Codex
hindsight-coding-agentvectorize-io/hindsightSkill64kyesterdayMITA74Claude Code, Codex
bot-handoffvectorize-io/hindsightSkill64kyesterdayMITA57Cursor
memory-contextvectorize-io/hindsightSkill64kyesterdayMITA47Cursor
routine-memoryvectorize-io/hindsightSkill64kyesterdayMITA54Cursor