animated-chart — скилл для Claude Code: что делает и как установить
Строит одну петляющую анимированную диаграмму в HTML-коде и выгружает её в MP4 и GIF. Пригодится для поста в LinkedIn или врезки в рассылку.
npx skills add charlie947/motion-graphics-skills --skill animated-chart -a claude-codeЧто делает animated-chart
Скилл собирает анимированную графику в коде: получается один HTML-файл, который открывается в браузере. Диаграмма проходит четыре состояния: старт, движение, пауза с подписанным главным значением, возврат к началу. Возврат нужен, чтобы петля не дёргалась на склейке.
Внутри три промпта. Первый строит кадр за кадром из одного времени: агент добавляет window.seek(seconds), снимает скриншоты на 0, 1, 2, 4 и 7 секунде, ищет наложения и обрезанный текст. Второй перепроверяет эти пять кадров и границу петли, а если проблем нет, правок не выдумывает. Третий отдаёт MP4 и бесконечный GIF, и для него нужны инструменты, уже стоящие на машине: нет такого — агент остановится и назовёт его до установки.
До начала нужны brand.md и MOTION.md либо прогон brand-intake, либо hex-коды, шрифт и файл логотипа. Без них результат не считается on-brand, так что палитру стоит подготовить заранее. Значения скилл берёт как есть, округлять и переформатировать не даёт; для демо-данных на каждом кадре остаётся пометка «Illustrative data». Размер — 1080 x 1350, длина цикла — 8 секунд.
Какие задачи решает
- собрать петляющую диаграмму из цифр отчёта
- перевести столбцы в линию внутри одного кадра
- подписать главное значение в момент паузы
- выгрузить MP4 и GIF из готовой анимации
- проверить кадры на наложения текста
Примеры запросов агенту
- Сделай анимированный график для поста в LinkedIn из этих цифр: 42, 61, 78. Размер 1080 x 1350.
- Оживи мои результаты: три столбца переходят в линию, главное значение подписано.
- Собери MP4 и GIF из готовой анимации и покажи три кадра из GIF.
Как установить animated-chart
1Через Skills CLI (Vercel)
npx skills add charlie947/motion-graphics-skills --skill animated-chart -a claude-code2Вручную: положить файлы
~/.claude/skills/animated-chart/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/animated-chart/
1Через Skills CLI (Vercel)
npx skills add charlie947/motion-graphics-skills --skill animated-chart -a codex2Вручную: положить файлы
.agents/skills/animated-chart/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add charlie947/motion-graphics-skills --skill animated-chart -a cursor2Вручную: положить файлы
.cursor/skills/animated-chart/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install charlie947/motion-graphics-skills animated-chart2Вручную: положить файлы
.github/skills/animated-chart/SKILL.md1Через Skills CLI (Vercel)
npx skills add charlie947/motion-graphics-skills --skill animated-chart -a gemini-cli2Командой платформы
gemini skills install https://github.com/charlie947/motion-graphics-skills --path skills/animated-chartВручную: положить файлы
.devin/skills/animated-chart/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add charlie947/motion-graphics-skills --skill animated-chart -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о animated-chart
Как установить animated-chart в Claude Code?
Выполните npx skills add charlie947/motion-graphics-skills --skill animated-chart -a claude-code. Скилл встанет по пути ~/.claude/skills/animated-chart/SKILL.md.
Что делает animated-chart?
Собирает анимированную диаграмму в виде одного HTML-файла с четырьмя состояниями и замкнутой петлёй, затем проверяет кадры и выгружает видео с GIF.
Что нужно, чтобы результат считался on-brand?
Файлы brand.md и MOTION.md в проекте. Если их нет, сначала запускают brand-intake или дают агенту hex-коды, шрифт и файл логотипа.
Исходный текст
SKILL.md · MIT
--- name: animated-chart description: Make a looping animated chart for LinkedIn or a newsletter in code with Claude Code. Bars that become a line, a number that counts up, a before and after. Every value stays exactly as given. Use when someone says "animate my chart", "animated graph", "make my results move", "stat animation" or wants a data graphic that loops. --- # Animated chart, built in code Three prompts from a blank page: build it, make it look again, export it. **Before you start:** read `brand.md` and `MOTION.md` if they exist. If not, run `brand-intake` first, or ask for hex codes, a font and a logo file. Never call a result on-brand without them. ## Step 1: Ask for the numbers, then wait The title, the labels, the exact values, and whether they are real results or sample data. Sample data gets an "Illustrative data" label on every frame. Never round, reformat or add a number. ## Prompt 1: build it ``` I want one animated graphic for a LinkedIn post. Build it as a single HTML file I can open in my browser. Title: "[TITLE]". [If sample data: keep "Illustrative data" visible.] Values: [LABEL 1: VALUE 1], [LABEL 2: VALUE 2], ... The motion has four states: 1. Start: [what it looks like first]. 2. Change: [the one thing that moves]. Nothing fades out and gets replaced. 3. Hold: the finished chart, with [the headline value] labelled. 4. Return: it eases back to the start, so the loop has no jump. Timing: 8 seconds in total. About 2 seconds for the change, 4 holding, 1.5 to return. Look: background [BG], text [TEXT], accent [ACCENT], [FONT]. No external fonts or images. No gradients, no glow, no bouncing. Size: 1080 x 1350 pixels. Rules for the build: - Work out every frame from the time alone. Add window.seek(seconds). - The title, labels and axis never move. Only the chart changes. - The last frame must match the first frame exactly. After you build it, take screenshots at 0, 1, 2, 4 and 7 seconds. Check them for overlapping text or anything cut off. Fix what you find and tell me what you changed. ``` ## Prompt 2: make it look again ``` Inspect the five captured frames and the loop boundary. Check that the values stay the same, labels are readable, nothing overlaps, and each element appears only when it should. Report only problems you actually observe. Fix any you find, preserve the earlier version, and capture the same frames again. If no problems are found, say so and do not invent a revision. ``` ## Prompt 3: export it ``` Now turn this into a video and a GIF I can post. Use tools already on this computer. If you need something that is not installed, stop and tell me what it is before you install anything. Give me an MP4 (1080 x 1350, 8 seconds) and a GIF that loops forever. Then show me three frames from the finished GIF so I can check it came out right. ```
© charlie947 · MIT · charlie947/motion-graphics-skills