stick-figure — скилл для Claude Code: что делает и как установить
Скилл для Claude Code создаёт кодом мультяшный ролик с человечками-палочками по вопросу или теме. Агент подключает его по команде /stick-figure или просьбе сделать такой объясняющий ролик.
MIT ★ 1 047 обновлён 2026-11-01
/plugin marketplace add artemnovitckii/claude-animation-skills
/plugin install animation-skills@claude-animation-skillsЧто делает stick-figure
Скилл собирает вертикальный мультяшный ролик с озвучкой, подписями и звуковыми эффектами. Сцены и персонажей рисует код; монтаж синхронизирует их с отдельными словами озвучки. Результат сохраняется в MP4.
В папке ролика редактируются сценарий, подписи, список кадров и звук. Есть готовый пример в engine/template. Для сборки нужны FFmpeg, Node и Python 3.9+. Скрипт setup.sh --voice загружает около 1 GB голосовых моделей. Озвучку можно сделать через Kokoro, использовать собственную запись или ElevenLabs с ключом ELEVENLABS_API_KEY.
Какие задачи решает
- сделать объясняющий ролик по вопросу или теме
- синхронизировать анимацию кадров с озвучкой по словам
- собрать сцены, подписи и звуковые эффекты в MP4
- пересобрать звук без повторного рендера видео
Примеры запросов агенту
- Сделай мультяшный ролик с человечками-палочками на тему «Что, если бы…?»
- Запусти
/stick-figureи создай объясняющий ролик про работу двигателя - Пересобери звук для ролика, не рендеря сцены заново
Как установить stick-figure
1Через маркетплейс плагинов
/plugin marketplace add artemnovitckii/claude-animation-skills/plugin install animation-skills@claude-animation-skillsКоманда ставит плагин animation-skills целиком, со всеми его скиллами
2Через Skills CLI (Vercel)
npx skills add artemnovitckii/claude-animation-skills --skill stick-figure -a claude-code3Вручную: положить файлы
~/.claude/skills/stick-figure/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/stick-figure/
1Через Skills CLI (Vercel)
npx skills add artemnovitckii/claude-animation-skills --skill stick-figure -a codex2Вручную: положить файлы
.agents/skills/stick-figure/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add artemnovitckii/claude-animation-skills --skill stick-figure -a cursor2Вручную: положить файлы
.cursor/skills/stick-figure/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install artemnovitckii/claude-animation-skills skills/stick-figure2Вручную: положить файлы
.github/skills/stick-figure/SKILL.md1Через Skills CLI (Vercel)
npx skills add artemnovitckii/claude-animation-skills --skill stick-figure -a gemini-cli2Командой платформы
gemini skills install https://github.com/artemnovitckii/claude-animation-skills --path skills/stick-figureВручную: положить файлы
.devin/skills/stick-figure/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о stick-figure
Как установить stick-figure в Claude Code?
Добавь маркетплейс командой /plugin marketplace add artemnovitckii/claude-animation-skills, затем установи плагин: /plugin install animation-skills@claude-animation-skills.
Что делает stick-figure?
Создаёт кодом мультяшный объясняющий ролик с человечками-палочками, озвучкой, подписями и звуковыми эффектами. Сцены синхронизируются с озвучкой по словам.
Что нужно для работы stick-figure?
Нужны FFmpeg, Node и Python 3.9+. Для генерации голоса через Kokoro скрипт setup.sh --voice загружает голосовые модели; для ElevenLabs нужен ELEVENLABS_API_KEY. Можно также использовать собственную запись.
Исходный текст
SKILL.md · MIT
---
name: stick-figure
description: Makes a code-animated stick-figure explainer reel (9:16, 30 to 45 s) from a question or topic. A bright cartoon world with thick outlines, stick people with big white heads and faces, constant camera motion, whip transitions, 1 to 2 word captions, a playful underscore and cartoon sound effects, all generated in code and timed to the voiceover word by word. Use when the user runs /stick-figure or asks for a stick-figure, stickman or cartoon "what if" explainer.
---
# /stick-figure
```
┌──────────────────────┐
│ ☀ ☁ │ bright sky, sea, props drawn in code
│ ◯ ◯ │ stick people with big white heads, expressive faces
│ /|\ /|\ │
│ / \ / \ 🛢 │
│ eye patch │ 1-2 word captions, lowercase, ~70% down
└──────────────────────┘
```
A worked example comes with it: `engine/template` is a finished 37 s reel, "What if pirate eye patches had nothing to do with missing eyes?"
## First use
This skill's folder is the "Base directory" Claude Code shows when it loads it.
```bash
SKILL_DIR="<base directory of this skill>"
ENGINE="$SKILL_DIR/engine"
KIT=$(python3 -c 'import os,sys;print(os.path.realpath(os.path.join(sys.argv[1],"..","..","kit")))' "$SKILL_DIR")
[ -x "$KIT/.venv/bin/python" ] && [ -d "$KIT/models" ] || bash "$KIT/setup.sh" --voice # ~1 GB of voice models, once
PY="$KIT/.venv/bin/python"; export NODE_PATH="$KIT/node_modules"
```
Needs ffmpeg, Node and Python 3.9+. To see the example: `cp -r "$ENGINE/template" ~/reels/pirate && bash "$ENGINE/make.sh" ~/reels/pirate`.
## How it fits together
A reel is one folder:
- `script.json`: the voiceover, one sentence per entry.
- `captions.json`: optional text swaps for captions (`{"twenty five": "25"}`).
- `web/shots.js`: the shot list. Each shot is `SHOTS.push({start, end, tr, draw(ctx, lt, t)})` in seconds of the voiceover; `lt` is time inside the shot, `tr` is the transition out (`'whip'` or `'cut'`).
- `web/lib.js` (easing, keyframes `kf`, shapes, text), `web/chars.js` (the stick rig `drawStick`, hats, faces, arm IK, the eye patch), `web/env.js` (sky, clouds, sea, ships, deck, barrels, cannon, lantern, below deck), `web/main.js` (whip blur, vignette, grain, captions). Add new props to `env.js` or a new `env2.js` (list it in `web/index.html`).
- `audio.py`: music and SFX, all synthesised in code and placed in voiceover seconds.
`make.sh` makes the voice, aligns every word (`audio/words_new.json`), mixes the sound, renders the shots in parallel and writes `<folder>/<folder name>.mp4`.
**Timing:** `audio/words_ref.json` is the voice the shots were timed against. When the voice changes but the words don't, `make.sh` warps the shots onto the new take, so a new recording needs no edits. If the script changes, delete `audio/words_ref.json` (the next take becomes the reference) and re-time `shots.js`.
## Steps
1. **Script.** About 110 to 120 words for 38 to 40 seconds, one idea per sentence: a "what if" hook, the common belief, a turn on "But", examples that build, one shot that shows the mechanism, and a payoff that answers the hook. Show it to the user before animating.
2. **Facts.** Check every claim with sources. Hedge theories ("scientists think").
3. **Folder.** `cp -r "$ENGINE/template" <reel>`, then empty its `audio/` and replace `script.json` (and `captions.json`).
4. **Voice.** In the folder: `"$PY" "$ENGINE/tools/tts_kokoro.py"` (free) or the user's own recording, or ElevenLabs with `ELEVENLABS_API_KEY` (`"$PY" "$ENGINE/tools/tts_elevenlabs.py" audio/vo_el.mp3`). Put the take at `audio/vo.wav`, then `"$PY" "$ENGINE/tools/align.py" audio/vo.wav` and read the word times in `audio/words_new.json`.
5. **Shots.** Rewrite `web/shots.js`: about 10 to 12 setups, most 2 to 4 s, the explainer shot longer. A new idea gets a new setup. Start the hook in action on frame 1. Keep faces and key props out of the caption band (y about 1250 to 1420) and inside Instagram's safe area (x 100 to 980, y 220 to 1500).
6. **Stills.** From the folder: `node "$ENGINE/tools/render.js" stills 1.5,4.2,9.0` writes `stills/`. Look at the busiest moments and fix them before a full render.
7. **Sound.** Edit the cues in `audio.py` against the word times.
8. **Build.** `bash "$ENGINE/make.sh" <reel>` (keeps `audio/vo.wav`; pass `kokoro`, `elevenlabs` or a file to replace it). `WORKERS=8` on a machine with more cores. `AUDIO_ONLY=1` remixes the sound without re-rendering.
9. **Hand over** `<reel>/<name>.mp4`.
## Style
- Captions: Poppins Bold, white with a dark outline, 1 to 2 words, lowercase, no punctuation (`capText()` in `main.js` does it; digits and `%` stay). No em dashes anywhere on screen.
- Bright saturated palette, ink outlines (`#221c22`), soft contact shadows, slow push-ins with handheld drift, whip transitions with motion blur. An impact is a burst, a shake and a flash.
- SFX sit under the voice (gain about 0.38). The music is a quiet plucked underscore, ducked under the voice, never a loud loop at the start.
© Artem Novitckii · MIT · artemnovitckii/claude-animation-skills