/motion-master:animated-svgfrom Motion Master
This skill should be used when the user asks to "animate this diagram", "create an animated architecture diagram", "animated AWS/GCP/Azure diagram", "animated sequence diagram", "animated flowchart", "turn this PNG/SVG into an animation", "schematic animation", "data flow animation", "animate this SVG", "show the diagram style gallery", "illustrate a concept with cliparts/emojis", "animated concept illustration", "animate a large flow with pan and zoom", "code walkthrough animation", "Arabic animated diagram", "رسم متحرك", "animate this with my voiceover/SRT", "sync animation to narration timestamps", "animated Python code walkthrough", "highlight code as I narrate", "animate this sequence diagram", "animate PlantUML/Mermaid sequence", "make a video explaining this architecture", or wants any 2D technical diagram (cloud architecture, sequence, flowchart, network/data-flow schematic, technical illustration, concept illustration) brought to life as a video. Creates visually stunning animated schematics from a textual description OR an input diagram image (PNG or SVG), in one of 12 style presets (light/white default, also dark, hand-drawn sketch, corporate, pastel, terminal, editorial serif, bold geometric, glass, brutalist, blueprint, wireframe — live gallery included), any aspect ratio including portrait, with optional transparent background. Can illustrate with 200k+ open-licensed cliparts/emojis fetched from Iconify (Noto, Twemoji, OpenMoji, Lucide, Tabler…) into the working directory, and ships a camera rig with 6 pan/zoom patterns (guided tour, follow-cam, vertical scroll, conveyor, pulse-zoom, reveal-pan) for flows larger than the canvas. Full Arabic/RTL support (Cairo, Amiri, Tajawal, Reem Kufi fonts; mirrored right-to-left flows and arrows via --lang ar) and a voice-over sync mode: given an SRT/VTT narration script, every animation beat fires exactly at its cue's timestamp, holds while its narration plays, and the audio is muxed into the MP4. Authors semantic SVG, choreographs it with GSAP 3 timelines (DrawSVG edge draw-on, MotionPath data-flow pulses, camera pan/zoom), and delivers MP4 + GIF + SVG by default (plus WebM and a self-contained interactive HTML with scrubber), rendered deterministically via HyperFrames. All outputs are created in the calling directory.
Trending skills
7-day visitors to each skill page
Ships in Motion Master. 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.
Read when SKILL.md points to them.
Turn a description or an existing diagram (PNG/SVG) into a choreographed, cinema-quality animation: semantic SVG scene + GSAP 3 timeline + HyperFrames deterministic rendering (HTML → frame-seeked headless Chrome → FFmpeg).
For batch jobs or delegation (multiple artifacts with one consistent
style, or another skill needing an animation produced) launch the
diagram-animator agent (agents/diagram-animator.md, installed at
~/.claude/agents/) via the Agent tool — it operates this skill end-to-end,
decides unspecified options (mode/style/icons/duration), keeps a batch
visually consistent, and returns a manifest of MP4/GIF/SVG/interactive-HTML
(+ alpha WebM) paths, all under one subdirectory of the calling directory.
SKILL_DIR=~/.claude/skills/animated-svg # resolve via this SKILL.md's location
HF=$SKILL_DIR/node_modules/.bin/hyperframes
Setup gate: if $HF does not exist, run bash $SKILL_DIR/scripts/setup.sh
first (installs hyperframes + gsap, vendors GSAP plugins, ensures Chrome,
smoke-renders). One-time, then everything is offline. The script is portable
across macOS zsh and Linux bash — run it, never source/. it (sourcing
breaks self-path detection; the script refuses with a hint). macOS prereqs:
brew install node ffmpeg python.
light (default), dark, blueprint,
sketch, corporate, pastel, mono, editorial, vivid, glass,
brutalist, wireframe — each is a palette + fonts + shapes + motion
language. Read references/style-presets.md before choosing; the user can
browse the live gallery at $SKILL_DIR/assets/gallery/styles-gallery.html.--transparent for a transparent
canvas (deliver via SVG / interactive HTML / webm-mov; MP4 can't hold alpha).references/diagram-svg-authoring.mdscripts/svg_prep.py.python3 $SKILL_DIR/scripts/svg_prep.py --report on it,
add missing node-*/edge-* ids, restyle to theme tokens.All project directories, renders, and deliverables are created in the
user's current working directory — NEVER inside $SKILL_DIR. The skill
directory is read-only tooling; outputs belong to the user's workspace.
bash $SKILL_DIR/scripts/new_project.sh <slug> [--theme light] [--width 1920] \
[--height 1080] [--duration 12] [--transparent]
Creates ./animated-svg-<slug>/ with index.html (composition skeleton:
camera rig + layers + HUD + a marked inline TIMELINE script), merged
theme.css, vendored GSAP, fonts. Edit one file — index.html: SVG scene
into the layer groups, choreography into the inline TIMELINE script.
Default icons: Font Awesome 6 for generic/service icons (offline pack
$SKILL_DIR/assets/icons/fa6-common.svg, ids icon-fa-*; others via
fetch_clipart.mjs … fa6-solid:<name>) and official logos:/devicon:
marks for vendor products (AWS/GCP/Azure services, Kafka, Redis, Postgres…
— fetched, keep their own colors). Bundled stylized glyphs in
assets/icons/*.svg remain the offline/trademark-free fallback (best for
sketch/blueprint/wireframe styles).
The timeline MUST stay inline — hyperframes snapshot does not execute
external local scripts (verified), and snapshots are the verification loop.
references/animation-choreography.md + references/gsap-svg-techniques.mdFive acts: Establish → Build (staggered node entrances) → Connect (DrawSVG
edge draw-on + separate arrowhead pops) → Flow/Focus (MotionPath pulses,
camera zoom) → Resolve (return + hold ≥1s). Match the style's motion
language (per-style timing/easing rules in references/style-presets.md —
e.g. corporate never bounces, mono uses stepped reveals, wireframe fades
dashed edges instead of drawing them). Keep data-duration ==
tl.duration(). Hard rules: paused timeline on window.__timelines["main"],
no wall-clock motion, bounded repeats only, arrowheads are separate
.edge-head elements (never marker-end).
node $SKILL_DIR/scripts/render.mjs --project ./animated-svg-<slug> \
--output ./animated-svg-<slug>/renders/<slug>.mp4 \
--gif --svg --snapshots 5 --probe
Then Read snapshots/contact-sheet.jpg and check: clean first frame,
visible progression, complete resolved last frame, legible labels, no
overlaps. Iterate (use --at t1,t2 to zoom into one moment) until it meets
the checklist in references/animation-choreography.md. For live iteration
with the user: launch $HF preview from the project dir with
run_in_background: true (it is a long-running server).
node $SKILL_DIR/scripts/inline_html.mjs --project ./animated-svg-<slug>
Standard deliverables in ./animated-svg-<slug>/renders/ (the calling
directory tree, never the skill dir): <slug>.mp4 (video),
<slug>.gif (embeds), <slug>.svg (static resolved diagram —
scalable, fonts embedded), <slug>.interactive.html (the animation with
play/scrub controls, single file). Report all paths + the probe summary.
WebM, transparent overlays, 4K, PNG sequences: references/output-formats.md.
For illustrating ideas (not just architectures) — or whenever a request
mentions cliparts/emojis/illustrations — read
references/concept-illustrations.md. Search and fetch from the Iconify
network (200k+ open-licensed icons/emojis: noto, fluent-emoji, twemoji,
openmoji, lucide, tabler, game-icons…) into the working project dir:
node $SKILL_DIR/scripts/fetch_clipart.mjs --search "rocket" # discover
node $SKILL_DIR/scripts/fetch_clipart.mjs --project ./animated-svg-<slug> \
noto:rocket lucide:database # downloads + injects <symbol>s
# then: <use href="#clip-noto-rocket" x=".." y=".." width="180" height="180"/>
Color emoji (noto = safe Apache-2.0 default) keep their own colors; line sets
(lucide/tabler) take color="var(--c-…)". Network is touched ONLY at
authoring time — renders stay offline. Scene patterns (hero metaphor, idea
strip, concept map, badges) and license table are in the reference.
When a flow won't fit comfortably (> ~8 nodes, long sequences, code
navigation), author the scene larger than the canvas and drive the
camera — read references/camera-large-flows.md. Every scaffolded
index.html includes the inline camera rig:
camFit(tl, "#node-x", { at, dur, zoom? }) // center+zoom to any group (auto-fit)
camFitAll(tl, { at }) // fit the whole oversized scene
camPanTo(tl, cx, cy, z, { at, dur }) // pan to a scene point
camFollow(tl, "#edge-a-b", { at, dur, zoom })// track a path with the pulse
camHome(tl, { at }) // reset
Six named patterns (pick by diagram shape, demos in the gallery's "Camera
patterns" section): guided tour (hop stop-by-stop), follow-cam (ride
with the token), vertical scroll (sequence diagrams / code, read
top→down), conveyor (wide pipelines, constant slide), pulse-zoom
(overview ↔ detail dives), reveal-pan (cinematic first reveal). Always
end on camFitAll + ≥1.2s hold. Keep #cam-anchor in #camera (it pins the
transform origin — removing it breaks all framing math).
For Arabic content (or any RTL request) read references/arabic-rtl.md and
scaffold with --lang ar: it loads the Arabic fonts (Cairo default; Amiri
serif, Tajawal, Reem Kufi display — all bundled) and applies RTL text rules
(direction, unicode-bidi: plaintext, zero letter-spacing). Geometry must
be mirrored by the author: flows run right→left top→bottom, entry node on
the RIGHT, edges drawn right→left, arrowheads point LEFT, region titles
top-right, camera conveyor/reveal pan leftward. Gallery has live Arabic cards.
When the user provides a narration script with timestamps (SRT/VTT) — with or
without a diagram idea, with or without an audio file — read
references/voiceover-sync.md and follow it exactly:
python3 $SKILL_DIR/scripts/srt_to_cues.py narration.srt # cue table + CUES js
Each cue = one beat: its element/camera action fires at cue.start (never
before), holds focus while that narration plays, releases at cue.end; the
next part appears only at the next cue's start. Embed the narration audio as
<audio id="narration" class="clip" src="./audio/x.mp3" data-start="0" data-duration="…" data-track-index="2"> — the id is mandatory or the
render is silent (verified) — and the MP4 carries the voice-over (h264+aac).
Verification is boundary-based: snapshot at start−0.1 and mid-cue of every
cue; the pre-start frame must NOT contain that cue's content.
For narrating Python code (especially long files, especially with an SRT)
read references/code-walkthrough.md:
python3 $SKILL_DIR/scripts/code_to_svg.py file.py -o code_frag.svg \
--font-size 28 --x 360 --y 230 [--start N --end M]
Tokenized, theme-colored source (tok-* tspans; --tok-* palettes tuned in
dark/blueprint/mono — best styles for code), one id="line-N" group per real
source line, plus a #code-hl highlight bar. ALWAYS wrap in the stylized
editor panel (chrome dots + filename tab). Choreography: highlight bar
glides between line ranges, non-focused lines dim to 0.3, camera
vertical-scrolls — each focus beat driven by its SRT cue when narrated.
For sequence diagrams where transactions matter, read
references/sequence-interactions.md. Generate via Mermaid
(mmdc → svg_prep.py --from mermaid-seq gives msg-NN ids +
data-dir="ltr|rtl"), PlantUML (layout reference), or hand-author. Core
rule: each message animates in its travel direction — requests slide/draw
left→right, replies right→left (dashed) — one message in exclusive focus
(others dim to 0.3) with a pulse riding the line; activation bars grow as
messages land. Long sequences use the vertical-scroll camera; one SRT cue per
message when narrated. Generated diagrams: fade+directional-slide (their
marker-end arrows break DrawSVG); hand-authored may DrawSVG.
| Path | What |
|---|---|
references/style-presets.md | the 12 styles: palette/fonts/shapes/motion specs, aspect + transparency guidance |
references/concept-illustrations.md | clipart/emoji workflow (Iconify search+fetch), license table, concept-scene patterns |
references/camera-large-flows.md | camera rig API + the 6 pan/zoom patterns for large flows |
references/arabic-rtl.md | Arabic fonts, RTL typography rules, mirrored flow geometry |
references/voiceover-sync.md | SRT-driven beats, audio embedding contract, boundary verification |
references/code-walkthrough.md | stylized Python code mode: code_to_svg.py, editor panel, highlight/focus/scroll |
references/sequence-interactions.md | sequence mode: mermaid-seq normalization, direction-aware message animation |
assets/gallery/styles-gallery.html | live animated gallery of all 12 styles (open in a browser; show the user) |
references/diagram-svg-authoring.md | semantic SVG contract, per-type patterns, layout assist, PNG recreation |
references/animation-choreography.md | narrative arc, timing/easing tables, camera grammar, checklist |
references/gsap-svg-techniques.md | DrawSVG/MotionPath/Morph cookbooks, camera-rig zoomTo, pitfalls |
references/hyperframes-rendering.md | determinism contract, verified CLI, troubleshooting |
references/output-formats.md | deliverables matrix, ffmpeg recipes, verification procedure |
assets/icons/fa6-common.svg | DEFAULT icon pack — 26 Font Awesome 6 symbols (icon-fa-*), offline, CC-BY 4.0 |
assets/icons/*.svg | stylized icon <symbol> libraries (generic, AWS, GCP, Azure roles) — offline/trademark-free fallback |
assets/themes/*.css | the 12 style presets (light default) |
scripts/ | setup.sh · new_project.sh · render.mjs · export_svg.mjs · inline_html.mjs · svg_prep.py · fetch_clipart.mjs · srt_to_cues.py · code_to_svg.py |
LICENSE.md (opens in a new tab)NOTICE (opens in a new tab)README.md (opens in a new tab)UPSTREAM.md (opens in a new tab)agents/diagram-animator.md (opens in a new tab)assets/fonts/Amiri-Arabic.woff2 (opens in a new tab)assets/fonts/Archivo-Variable.woff2 (opens in a new tab)assets/fonts/Cairo-Arabic.woff2 (opens in a new tab)assets/fonts/Cairo-Latin.woff2 (opens in a new tab)assets/fonts/Caveat-Variable.woff2 (opens in a new tab)assets/fonts/Fraunces-Variable.woff2 (opens in a new tab)assets/fonts/IBMPlexMono-Regular.woff2 (opens in a new tab)assets/fonts/Inter-Variable.woff2 (opens in a new tab)assets/fonts/JetBrainsMono-Regular.woff2 (opens in a new tab)assets/fonts/Nunito-Variable.woff2 (opens in a new tab)assets/fonts/ReemKufi-Arabic.woff2 (opens in a new tab)assets/fonts/SpaceGrotesk-Variable.woff2 (opens in a new tab)assets/fonts/Tajawal-Arabic-Bold.woff2 (opens in a new tab)assets/fonts/Tajawal-Arabic.woff2 (opens in a new tab)assets/gallery/styles-gallery.html (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub executiveusa/motionmaster --plugin motion-master64 skills in this plugin
/ad-intelligenceFind ads that are already working, understand why they work, and make a better one. Use when asked to beat a competitor's ad, to improve a campaign, to find what is running in a market, to research top-performing ads, to remake a winning ad, to build ads for Google or Meta from what is already proven, or to explain which of a client's ads are working and what to do next. Covers the Meta Ad Library and the Google Ads Transparency Center, the public evidence about an ad, the house's own scoring model, PROVEN-BETTER-NEW applied to the idea, and the house gate that decides whether the new ad ships.
/analog-motionThe analog layer — posterised colour, paper grain, a halftone screen, a vignette, the 12fps stepped clock, the boiling paper, and word-synced captions. Use this to make a clean digital animation read as printed and shot: "make it look filmic", "add grain", "give it a 12fps stutter", "posterize the colour", "sync the captions to the words", "make it look like cut paper". Covers the filters, the frame quantisation, the breathing layer and the caption clock./animateMake a short procedural animation in any style — an explainer, a history, a little story — as a single-file canvas video with a synthesized score, rendered to MP4. Ships with styles (cut paper, crosshatch ink, riso print, sketchbook, manim-style math, pixel art, isometric line art) and makes new ones from the user's references. Walks the user through intake, then three check-ins (story, look, storyboard) before animating, and proves the result with measured review checks. Use when the user asks for an animated video, short, explainer or reel made in code, or wants a look matched from references./awesome-ai-motion영상·스크롤덱·웹 UI 장면의 목적에 맞는 모션을 고르는 도감 스킬. 효과 카드의 파라미터와 프롬프트를 조회하고, 레시피의 순서와 타이밍을 적용하며, HTML 예제의 소재를 바꿔 클립을 렌더한다. 장면 효과 추천, 전환 비교, 교육·설명 영상 훅 설계에 사용한다. Select motion for video, scroll decks and web UI by scene intent. Look up effect parameters and prompts, follow recipe timing, and render HTML examples with replacement content. Use for effect selection, transition comparisons and educational hooks./board-syncAnimate explainer boards to the presenter's voice. Takes the board HTMLs from Claude Design (04-boards), the final-cut WAV and its words.tsv, the marked script and the board brief; makes every element land on its spoken word; renders one clip per board and a full-length board-track.mp4; checks itself (qa-report.md with contact sheets); and writes the editor timeline for DaVinci Resolve (FCPXML) and Premiere (FCP7 XML) with the camera in the bottom-right zone. Step 5 of the explainer pipeline. Use when the editor says "animate the boards", "sync the boards to his voice", "board video", "render the boards", "build the editor timeline", re-runs one board after a fix, or asks why a board lands early, sits static or covers the camera zone. Runs end to end on Windows and Mac with one setup command (Python via uv, ffmpeg, the installed Edge or Chrome)./claude-motion-motion-designmotion-designTaste rules for Remotion motion graphics — timing, easing, springs, typography, color, texture, and scene continuity, with concrete numbers. Use whenever you create, animate, retime, or polish a video, composition, scene, or transition in this repo.