Communitygithub.com

vidmoat/motion-graphics

Designed graphics with HTML elements, animating the objects inside them on the timeline clock. Use for animated stat cards, infographics, diagrams, UI mockups, logo stings, or moving an object inside a graphic.

What is motion-graphics?

motion-graphics is a Claude Code agent skill that designed graphics with HTML elements, animating the objects inside them on the timeline clock. Use for animated stat cards, infographics, diagrams, UI mockups, logo stings, or moving an object inside a graphic.

Works with~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/vidmoat/skills/tree/HEAD/skills/vidmoat/motion-graphics

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Motion graphics

addHtmlElement is for designed containers and layouts; text and caption commands are for plain words.

Workflow

  1. A ready component may already fit: addMotionComponent adds an editable, timeline-driven graphic in the video's direction, with no generation cost (change its text with setMotionComponent; search searchCatalogue kind elements for the components: reveal-title, speaker-card, progress-ring, feature-spotlight, stat-counter, keyword, checklist, chat-bubbles, search-bar, proof-card, icon-card, quote-card). On what a speaker says, designInserts places them checked against the transcript. Build HTML only when none fits.
  2. Read the contract first: search searchCatalogue kind commands for the exact id addHtmlElement and read its full authoring contract before writing markup.
  3. Size from content and space: let the copy and the available area decide size, styling and placement. A lower third does not always need a dark panel; a stat does not always need a gradient card.
  4. Animate on the timeline clock, using the supported timeline-driven animation contract. Wall-clock CSS animation is not timeline playback and will not export.
  5. Container versus objects: a transform on one HTML clip moves its entire composition, not its children. To move an object inside, read that clip's HTML and animate the intended child elements on the timeline, or use separate real clips. Keep attached details in the same moving container.
  6. Custom components: TSX motion components compile through agentWorkspace action motion_compile (workflow motion-authoring) when scripting is available.
  7. Verify object positions at several times on rendered frames. A camera zoom alone cannot satisfy an object action.

Gotchas

  • Inline SVG needs xmlns or it renders as zero pixels, silently.
  • An HTML element that paints a solid full-frame background hides everything beneath it for its whole duration; make the root transparent.
  • If the user says a change is absent, inspect the saved result and change the actual mechanism instead of repeating the same keyframes.
  • Designed UI, diagrams and procedural graphics can show a workflow without paid image generation.

Related skills: titles, text-led-video. Specialist: motion-designer.

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

vidmoat/caption-styling

Style, time and place captions and subtitles so they read on a phone with the sound off. Sets line length, reading speed, cue timing, size, contrast and platform safe zones, and checks SRT or VTT files against them. Use when the user wants captions or subtitles added, restyled, fixed or made accessible, says captions are too fast, too small or hidden under app buttons, or is preparing TikTok, Reels, Shorts or YouTube video, even if they only ask to "put what I say on screen".

vidmoat/layered-motion

Motion graphics people can edit afterwards: compositions of layers with keyframes, After Effects style. Use for lower thirds, animated titles, kinetic type, stat reveals, logo stings and callouts that the person may want to retime or restyle by hand, and when a composition is already on the timeline.

vidmoat/video-essayist

Video Essayist specialist, tagged @video-essayist or consulted for script-led commentary and analysis: narration locked first, every line matched to a visual that proves it, short annotated clips, quotes with sources, thesis by 60 seconds, chapters. Use when the user tags @video-essayist or asks for a video essay, film analysis or commentary edit.

vidmoat/wedding-filmmaker

Wedding & Event Filmmaker specialist, tagged @wedding-filmmaker or consulted for wedding and event highlight films, teasers and vertical teasers: the couple's own words as the spine, cut to licensed music, slow motion only on peaks, true skin and an unclipped dress. Use when the user tags @wedding-filmmaker or asks for a wedding or event highlight video.

Related Skills