Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

motion-prompt

БесплатноЗапускает вложенные скриптыНе проверен

Motion Prompt (showheyohtaki.github.io/motion-prompt) is a numbered library of names for motion-graphics moves, camera moves and transitions, UI components…

jiayaoqijiaот jiayaoqijia★ 81 звезда на GitHub

Об этом скилле

Motion Prompt

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, 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>.

  • An element is one Canvas 2D drawing function, stored as 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.
  • It is a pure function of 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.
  • It is not standalone. Constants (card size, cycle, the palette C, fonts) and helper functions live in the pack's kit. Fetch the kit once per pack you use.
  • Each element file states its own size and cycle. Read them from the header instead of assuming them.
  • New packs get added, so check the catalog with the CLI each time instead of relying on what you remember about it.

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.

Let the user pick

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.

  1. When to run it. The user says something like 「motion-prompt のライブラリ出して」「一覧見せて」「どんな演出がある?」「分からないから選びたい」, "open the library", "show me the list", or describes a change without knowing which moves they want. Run 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 for web page effects, photo for lighting and photo looks). A field that has a part 2 is given as both packs joined by a comma, so the user sees the whole set at once (「どんなカメラワークがある?」 opens camera and camera2 together). Add --lang ja when the user writes in Japanese.
  2. While it waits. 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.
  3. What comes back. Exit code 0: the picks in the order the user chose them, each with its number, names, pack and category, meaning, how to ask, spec lines an
Полный SKILL.md на GitHub

Установить motion-prompt в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

LICENSESOURCE.mdTRUST.auto.yamlreferences/porting.mdscripts/motion-prompt.mjs

FAQ

Что делает скилл motion-prompt?

Motion Prompt (showheyohtaki.github.io/motion-prompt) is a numbered library of names for motion-graphics moves, camera moves and transitions, UI components, landing-page and web effects, and photo looks and lighting, each with a moving sample, a spec of its timings and easing, and dependency-free Canvas 2D code. The main use: open the gallery for the user with the pick command, let them tick what they want, receive their picks, then rebuild exactly those in the project (Canvas, Remotion, CSS/SVG/Lottie, After Effects) or turn them into prompts for video or image models. Use when the user wants to see or choose from the library, e.g. "open the motion-prompt library", "show me the list", "what moves are there?", "I don't know the name, let me pick", "motion-prompt のライブラリ出して", "一覧見せて", "どんな演出がある?", "分からないから選びたい"; when they paste picks copied from the gallery; or when they give element numbers, e.g. "use #012 and #045", "今のタイトルを #005 に差し替えて".

Как установить скилл motion-prompt?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл motion-prompt запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить motion-prompt с