/motion-prompt:motion-promptfrom Motion Prompt
Opens a numbered gallery of motion-graphics moves, camera moves, UI effects, and art styles. Users tick what they want, then the skill outputs picks with specs and Canvas 2D code for rebuilding in Canvas, Remotion, CSS, or After Effects.
Ships in Motion Prompt. 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; scripts run unread.
Motion Prompt is a library of names for the things people ask an AI to make (motion-graphics moves, camera moves and transitions, UI components, landing-page and web effects, photo looks and lighting, art styles for image generation, diagrams and charts for slides, and whatever packs are added later), numbered so that people and agents can refer to them precisely. Every element has a three-digit ID (#012), a name in English and usually in other languages too, a one-line meaning, and a live demo at https://showheyohtaki.github.io/motion-prompt/#<id>.
cells[i] = (ctx, w, h, u) => { … }. ctx is a 2D context that the caller has cleared and wrapped in save()/restore(). w, h are the card size. u is the time in seconds, 0 <= u < cycle.u: no clock, no randomness at draw time, no state between calls. The same code plays live and renders frame by frame, and it loops seamlessly at u = cycle.C, fonts) and helper functions live in the pack's kit. Fetch the kit once per pack you use.Read the catalog with the script that ships next to this file (below, <skill-dir> means the directory holding this SKILL.md):
node <skill-dir>/scripts/motion-prompt.mjs <command>
| Command | Use |
|---|---|
pick | Opens the gallery in the user's browser and waits until they press 「AIに渡す」 / "Send to AI". Prints the picked elements in order (number, names, meaning, how to ask, spec, demo link) and the user's note, then exits. --pack <pack> opens it filtered to one pack, or to several joined by commas (--pack camera,camera2), --lang ja in Japanese, --timeout <seconds> (default 900), --no-open only prints the URL, --local serves the gallery from a full clone of the repository. See Let the user pick. |
search <words...> | Ranks elements against a few words describing one scene's motion. English and Japanese both work: search typewriter text, search 文字 登場. Narrow with --pack <pack>; ask for more rows with --limit 20. |
list | An overview: each pack, its categories and how many elements they hold. With --pack <pack> it prints that pack's elements one per line (several packs joined by commas, --pack camera,camera2, are listed together). |
get <id> [<id>...] | Prints each element's spec followed by its code. One call takes at most 8 IDs. Accepts 12, 012, #012 or a demo URL. |
kit <pack> | The shared constants and helpers that the pack's elements need. |
prompt <id> | The ready-made copy-paste prompt for one element. |
info | Where the data is being read from, how many elements it holds, its version and where the cache lives. Run it first when something looks wrong. |
--lang ja gives Japanese names and text; the default is --lang en, and search switches to Japanese by itself when the words are Japanese (pick prints in the language the user browsed in, unless you pass --lang). --out <dir> writes files instead of printing them (get, kit, prompt). --refresh skips the disk cache.
This is the main way to use the library. People often do not know what a move is called, and they should not have to. Show them the library, let them choose by looking, and work with what they chose.
pick. If the context points to one field, add --pack (motion,motion2 for titles, text and motion-graphics moves, camera,camera2 for camera moves, angles and cuts, ui for interface parts, lp,lp2,lp3 for web page effects, photo for lighting and photo looks, artstyle for art styles in image generation, diagram for diagrams and charts in slides and documents). A field that has a part 2 (or 3) is given as all its packs joined by commas, so the user sees the whole set at once (「どんなカメラワークがある?」 opens camera and camera2 together). Add --lang ja when the user writes in Japanese.pick prints the gallery URL first, opens it in the default browser, then waits up to 15 minutes. Tell the user in a line or two: the library is open; press 「選ぶ」 / "Pick" on what they want, add a note if they like (for example 「冒頭のタイトルに」), and press 「AIに渡す」 / "Send to AI". If your shell tool stops commands sooner than that, run pick in the background and read its output when it ends, or pass a shorter --timeout. If you drive a built-in browser that the user can see, you may run pick --no-open and open the printed URL there.get for the picked numbers and kit for their packs, and port them as references/porting.md describes.#NNN numbers in order, and may end with a note (「メモ」 / "Note"). Take the numbers in that order and handle them as in step 4. A link of the form …/motion-prompt/?pick=012,045 is the same selection.pick listens only on 127.0.0.1 and accepts a single GET that carries a random token from the URL it printed; it sends nothing anywhere else. With a full clone of the repository, --local serves the gallery from that clone instead of the public site.
A shortcut for people who know the numbers. 「#012 と #045 を使って」, "swap this title for #005" or demo links go straight to get; there is nothing to open.
get for them. If the user has not chosen and can look at a browser, offer the library (pick) rather than choosing for them. Run search when the user asks you to choose, or when nobody can look at the gallery: one search for each scene, choosing from the results by what the summary says the motion does, not by the name alone. Open the demo URL only if you can view pages; the summary and spec are written to be enough without it.get with the IDs you settled on (keep each call small). Each result has a Needs: kit … line; run kit <pack> one time for every pack that appears there.https://showheyohtaki.github.io/motion-prompt/#ID). Add a short note on whatever you were unable to verify.For Veo, Seedance, Sora and similar models, do not pass code. Write the prompt in sentences from the element's English name and its spec lines: what moves, in what order, how long each part takes, how the motion eases, and where it ends. Add the user's subject, look and aspect ratio. prompt <id> gives a starting text, and get <id> gives the full spec. These models treat timings as guidance, so say in your report that the result will be close to the element rather than exact.
Not every pack is about video.
ui and lp name parts and effects of web pages. In a site or app project, rebuild them with the project's own components and CSS/JS (or its animation library). Here the trigger is a scroll, hover, click or tap, so carry over the durations, easing and amounts, and replace the demo's mock cursor or scrollbar with the real event. Respect prefers-reduced-motion.photo names lighting, lens effects and finishing looks. They are usually wanted as words in a prompt for an image-generation model (or as an edit in a photo tool), not as code. Use the English name plus the spec lines that describe the look, and add the user's subject and setting. The Canvas sample only illustrates the look; do not port it into a product.artstyle names art styles for image generation (watercolor, linocut, voxel art …). Its samples are pictures an image model made from one base sketch, so there is no motion to port. Put the English name and the spec lines that describe the style (medium, look, what to avoid) into the user's image prompt, with their subject. The last spec line only explains the sample and the wipe.diagram names diagrams and charts used in slides and documents (2x2 matrix, Gantt chart, funnel chart …). They are usually wanted by name when the user asks an AI to make a deck or a report, or as a chart in their slide tool or charting library. Use the English name and the spec lines that describe the shape (layout, what is emphasized, how it differs from a look-alike), with the user's own data and labels. The build-up in the sample is how the card animates; port it only when the user wants an animated chart.get and kit printed in this session. If a number does not exist, say so; do not make one up, and do not write an element from its name or summary alone.// Motion Prompt #ID · MIT License … line. Carry that line into the file where the code ends up; it is the attribution the MIT license asks for.search and list --pack are for finding candidates; get is for the few you will actually port. Printing the whole catalog wastes context and helps nobody.showheyohtaki.github.io and, failing that, from raw.githubusercontent.com. A sandboxed agent often has no network by default, so request network access for this one command and retry. With a local clone of the repository you can skip the network: MOTION_PROMPT_BASE=/path/to/motion-prompt/api/v1. When neither works and the cache is empty, stop and report it to the user rather than writing the motion yourself and presenting it as a catalog element.search results.pick ended with exit code 4: nobody pressed 「AIに渡す」 in time. Nothing was chosen; ask the user and run pick again if they want. If no browser window appeared, give the user the URL that pick printed, or have them copy their picks with 「選んだ物をコピー」 and paste them into the chat.https://showheyohtaki.github.io/motion-prompt/api/v1/, so any HTTP client can stand in for it:
en/catalog.tsv (or ja/catalog.tsv) is the index, tab-separated: id, pack, category, title, tags, summary. Filter it with grep.en/e/012.txt is element #012 with its spec and code.kit/motion.js is the kit of the motion pack.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
motion-graphics, animation-library, canvas-2d, remotion, prompt-gallery
npx claudepluginhub showheyohtaki/motion-prompt --plugin motion-promptOther plugins' skills for the same job