К основному содержанию
скилл CX Codex

coco-ads — скилл для Claude Code: launch-видео из кода проекта

Скилл для Claude Code, который превращает код готового проекта в короткое рекламное видео (15–25 секунд). Срабатывает на /coco-ads или фразу «сделай launch-видео».

MIT ★ 328 обновлён 2026-10-29

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add coco-research/coco --skill coco-ads -a claude-code
Открыть на GitHub

Что делает coco-ads

Читает файлы проекта, планирует концепцию и сценарий, затем передаёт композицию в HyperFrames — локальный HTML-рендер от HeyGen. Видео собирается на машине, без отправки кода в облако. Семь пресетов тона (default, polished, yc-parody, chaotic, deadpan, cinematic, app-store) — от игривого до драматичного. Можно задать свой стиль текстом: «сделай как фейковый запуск стартапа 2016 года».

Нужны Node 22+, FFmpeg в PATH и HyperFrames CLI (npx hyperframes …). Музыка не включена: скилл настроен под трек «Happy Beats / Business Moves» (ende.app), который скачиваешь сам — инструкция в assets/music/README.md; звуковые эффекты в комплекте. Результат пишется в coco-ads-output/: план (coco-ads-plan.md), композиция, рендер (brag.mp4) и текст для соцсетей. Без FFmpeg или Node 22 скилл не запустится.

Какие задачи решает

  • создать launch-видео из кода проекта для соцсетей
  • сгенерировать короткий рекламный ролик без скриншотов и URL
  • отрендерить видео локально через HyperFrames
  • собрать сценарий и storyboard по файлам репозитория
  • упаковать готовую фичу в 15–25 секунд с музыкой и текстом

Примеры запросов агенту

  • Сделай launch-видео из этого проекта
  • Запусти /coco-ads --tone chaotic --format vertical
  • Создай рекламный ролик в стиле YC-пародии

Как установить coco-ads

1Через Skills CLI (Vercel)

npx skills add coco-research/coco --skill coco-ads -a claude-code

2Вручную: положить файлы

~/.claude/skills/coco-ads/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/coco-ads/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о coco-ads

Как установить coco-ads в Claude Code?

Выполни npx skills add coco-research/coco --skill coco-ads -a claude-code, затем проверь файл ~/.claude/skills/coco-ads/SKILL.md.

Что делает coco-ads?

Читает код проекта, планирует концепцию и сценарий видео, собирает композицию через HyperFrames и рендерит MP4 локально — без отправки данных в облако.

Зачем нужны Node 22 и FFmpeg?

HyperFrames требует Node 22+ для запуска и FFmpeg для рендера видео. Без них скилл не сможет собрать итоговый MP4.

Исходный текст

SKILL.md · MIT
---
name: coco-ads
description: Turn the project you just shipped into a short, polished, shareable launch video (an "ad") using HyperFrames. Use when someone says "/coco-ads", "make a launch video", "brag about this", "turn this into a promo", "make an ad for this", or wants to share what they built. Reads the project code directly — no live URL or screenshots needed. Renders locally.
argument-hint: "[--tone <preset|freeform>] [--format landscape|vertical|square] [--duration <s>] [--no-music] [--title <name>]"
user-invocable: true
domain: design
---

# /coco-ads — launch videos from your repo

You built it. Now let CoCo make the ad.

`/coco-ads` turns the current project into a short (15–25s), polished, shareable launch video using the HyperFrames toolchain, rendered **locally**. It is narrow, opinionated, and fast.

> **Credit / lineage.** This skill adapts the launch-video flow from [**brag** by Shunit Haviv](https://github.com/latent-spaces/brag) and runs on the [**HyperFrames**](https://www.npmjs.com/package/hyperframes) HTML-composition + render engine by HeyGen. Music is not bundled: the skill is tuned for "Happy Beats / Business Moves" by ende.app, which you download yourself (see [`assets/music/README.md`](assets/music/README.md)); bundled SFX are CC0 (Kenney.nl). See [`CREDITS.md`](../../CREDITS.md). Re-implemented in CoCo's voice with attribution. Upstream `brag` is MIT-licensed (Copyright (c) 2026 Shunit Haviv Hakimi); its notice is retained at [`LICENSE`](LICENSE) in this skill directory.

## Requirements

The render path is fully local (HeyGen cloud/Lambda paths are never used). It needs:

- **Node 22+** and **FFmpeg** on `PATH`.
- The **HyperFrames** CLI, run via `npx hyperframes …` (auto-fetched on first use). The composition skills install once with `npx hyperframes skills`.
- A quick environment check: `npx hyperframes doctor` (Chrome headless-shell + FFmpeg). "Docker not running" is fine — Docker is only for distributed cloud renders, which this skill does not use.

No data leaves the machine on the default render path. If `GEMINI_API_KEY` is set, the optional snapshot frame-analysis would call Gemini — keep it off (`--describe false`) when bragging about anything you would not paste in public.

## What this skill does

1. Reads the current project code to understand the app.
2. Plans a short concept specific to this project.
3. Scripts and storyboards the video.
4. Hands a focused composition brief to HyperFrames.
5. Validates, renders locally, and writes share copy.

## Parsing the invocation

```
/coco-ads
/coco-ads --tone chaotic
/coco-ads --tone polished --format vertical
/coco-ads this. Make it feel like a ridiculous startup launch.
```

| Option | Values | Default |
|---|---|---|
| `--tone` | preset or freeform description | inferred |
| `--format` | `landscape`, `vertical`, `square` | `landscape` |
| `--duration` | seconds | auto (15-25s) |
| `--no-music` | flag | music on |
| `--no-sfx` | flag | sfx on |
| `--title` | string | inferred from project |

Tone can be a preset (`default`, `polished`, `yc-parody`, `chaotic`, `deadpan`, `cinematic`, `app-store`) or a creative direction such as "fake Series A launch from 2016". When the user gives freeform direction, map it to the nearest preset for pacing and structure, but preserve the user's direction in the plan and composition brief.

---

## Output directory

By default, output goes to `coco-ads-output/`. To avoid overwriting previous runs, use a timestamped directory (`coco-ads-output-YYYY-MM-DD-HHmmss/`) when the user asks for a new run or one already exists. Generate the timestamp once at the start of the run and use it consistently for the plan, brief, composition, render, and share copy. Keep `coco-ads-output/` out of version control.

---

## Step 1: Inspect the project

**Read:** [references/step-1-inspect.md](references/step-1-inspect.md)

Scan the project directory and extract what you need to plan the video.

**Gate:** You can answer all 9 questions in the planning rubric.

---

## Step 2: Plan and storyboard

**Read:** [references/step-2-plan.md](references/step-2-plan.md)

Write `<output-dir>/coco-ads-plan.md`. Answer the planning rubric, commit to a creative angle, and write the beat-by-beat storyboard (scenes, text, timing, transitions, SFX cues). Include a compact `Music cue guidance` section when music is selected.

**Gate:** `<output-dir>/coco-ads-plan.md` exists with a full storyboard; scene durations sum to 15–25 seconds.

---

## Step 3: Hand off to HyperFrames

**Read:** the installed HyperFrames composition skills (`npx hyperframes skills` if absent), then [references/step-3-compose.md](references/step-3-compose.md) and [references/audio.md](references/audio.md).

Write `<output-dir>/composition-brief.md`, then build the composition in `<output-dir>/composition/`. `/coco-ads` owns product angle, source material, storyboard, tone, format, audio selection, and delivery; HyperFrames owns the concrete composition structure, animation mechanics, and render workflow.

**Gate:** `npx hyperframes lint` passes with zero errors inside `<output-dir>/composition/`.

---

## Step 4: Validate, render, and deliver

**Read:** [references/step-4-deliver.md](references/step-4-deliver.md)

Validate (`npx hyperframes validate` + `inspect`), render to `<output-dir>/brag.mp4`, and write `<output-dir>/share-copy.txt`.

**Gate:** the rendered MP4 exists and share copy is written.

---

## Tone system

Seven presets ship with `/coco-ads`. Each changes scripting energy, pacing, typography personality, and transition style. Presets are defaults, not limits — always allow a freeform creative direction to refine or override.

Full definitions: [references/tones.md](references/tones.md)

| Tone | Energy | One-liner |
|---|---|---|
| `default` | Playful, clean, postable | The good-vibes default |
| `polished` | Serious, elegant | For projects that are not jokes |
| `yc-parody` | Deadpan startup energy | Fake seriousness applied to absurd projects |
| `chaotic` | Fast, loud, aggressive | Over-the-top and unhinged |
| `deadpan` | Calm, dry, understated | The joke is that nothing is a joke |
| `cinematic` | Dramatic, trailer-scale | Big motion, bigger claims |
| `app-store` | Smooth, feature-card clean | Corporate but not boring |

---

## Creative laws

These apply to every video regardless of tone.

**Short.** 15–25 seconds. Not one second more without a reason.

**Readable.** Keep the pace high through motion and cuts, never by flashing text. Every line a viewer must read holds long enough to read it (short label ~0.8s settled; a sentence ~0.3s per word). Fast-in, then hold — never fast-in, then gone.

**Specific.** The video must feel like it was made for this exact project, not any project.

**Show the thing.** At least one scene must display actual UI, copy, or a key visual from the product. No abstract filler.

**No generic SaaS language.** "Streamline your workflow" is banned. Use the project's actual copy and claims.

**The hook is everything.** The first 2 seconds decide whether someone keeps watching. Plan the hook before anything else.

**Funny earns its place.** Humor should come from the project's absurdity, not from trying to be funny.

**Pattern:**
```
Hook (2-3s) → Reveal (2-4s) → 2-3 sharp highlights (5-12s) → Punchline/outro (2-4s)
```

Adapt this. The pattern is a starting shape, not a template.

© coco-research · MIT · coco-research/coco

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

Все скиллы по теме «Дизайн» →
tiktok-launch-video Cogny AI Скилл tiktok-launch-video для Claude Code и пяти других платформ генерирует вертикальное 9:16 лаунч-видео через HyperFrames: хук за первую секунду, врезанные субтитры, TikTok-ритм. CX Codex +1 ★ 116звёзд репо media-use heygen-com Скилл media-use ищет и генерирует медиафайлы для видеопроектов HyperFrames, сохраняя их локально в папку assets. Подключает каталог HeyGen, озвучку, фоновую музыку и цветовую коррекцию видео. CX Codex +1 1 500 000установок video coreyhaines31 Скилл video для Claude Code и Cursor помогает проектировать и создавать видео через нейросети или код. Он выбирает подходящий стек, пишет код для генерации и составляет промпты к моделям. CX Codex +1 98 700установок session-story heygen-com Скилл session-story для Claude Code, который превращает историю взаимодействия с пользователем в анимированный фильм. Агент анализирует логи сессии и создаёт визуализацию работы в реальном времени. CX Codex +1 847установок video-edit hoodini Скилл video-edit превращает запись в ролик с субтитрами: распознаёт речь, даёт поправить текст до рендера и собирает 16:9 или 9:16 из одного файла. CX Codex +1 ★ 301звёзд репо hyperframes-cli boraoztunc Скилл hyperframes-cli оркестрирует создание HTML-видео через npx hyperframes: от инициализации проекта до визуального аудита и сборки MP4. CX Codex +1 216установок

Из того же набора82

Весь набор →
coco-ship Скилл coco-ship помогает оформить ветку, обойти корпоративный git-guard при необходимости, создать пулл-реквест и дождаться CI. Защищает от прямой отправки коммитов в main. CX Codex +1 ★ 328звёзд репо gsd-research-synthesizer Субагент gsd-research-synthesizer сводит результаты четырёх исследовательских субагентов в SUMMARY.md и готовит выводы для дорожной карты проекта. Запускается в процессе /gsd-new-project. CX Codex ★ 328звёзд репо refactoring-specialist Субагент refactoring-specialist для Claude Code пошагово устраняет запахи кода и снижает сложность, проверяя тестами каждое изменение и сохраняя логику системы. CX Codex ★ 328звёзд репо code-reviewer Субагент code-reviewer для ревью кода, архитектуры и безопасности. Проверяет SOLID, DDD, уязвимости, API-дизайн и производительность перед слиянием PR. CX Codex ★ 328звёзд репо mermaid Команда строит диаграммы Mermaid (блок-схемы, sequence, state, class, ER, XY-графики) в SVG, HTML или ASCII для терминала. CX Codex +1 ★ 328звёзд репо maker-mdap Скилл maker-mdap помогает проектировать длинные цепочки действий LLM через декомпозицию, голосование и отсев подозрительных ответов. CX Codex +1 ★ 328звёзд репо arch Команда для построения и проверки .arch/index.json — карты, которая связывает каждый компонент архитектуры с файлами, которые его реализуют. Находит, когда файлы и описание компонентов перестали совпадать. CX Codex +1 ★ 328звёзд репо develop Команда develop запускает многоагентный пайплайн разработки и исправления кода с разделением файлов между агентами и обязательной проверкой регрессий. CX Codex +1 ★ 328звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой