# Snap Drag Hero

> A product hero where the visitor plays the product's best moment with a drag: a chocolate bar snapping in two, a lipstick twisting up out of its case, a can cracking open. The moment is AI-generated footage, a slow-motion clip cut into a frame sequence on a backdrop made exactly the page colour, so there is no box around it. Pull the tab along its rail, or drag the product itself, and the moment follows the finger through a heavy, damped spring, forwards and back. Let go early and it springs back to the start; pass the commit point, or flick it past halfway, and it plays out at full speed: the headline rolls over, stat chips pop in, the button rises, a loop keeps the crumbs or the glint moving and a soft snap plays. A reset arrow rewinds it. A ghost hand shows the gesture once, the knob is a keyboard slider, phones drag on the product, and reduced motion gets a Show button. Your agent makes the footage with Seedance through the Dreamina CLI, evens out the backdrop, cuts the frames, builds a page and a paste-in embed and films a demo.

- Output: Web, Drag to play the product moment · spring, commit point, payoff · frame sequence on a page-colour backdrop · page + embed from moment.json
- Price: $4.99 one-time, or included in Pro
- Page: https://lookbk.dev/skills/snap-drag-hero

## What you need

- Node.js 18 or newer, for the build and the footage script.
- FFmpeg, for cutting the clip, the build's colour check and the demo film.
- Python 3.9+ with `pip install numpy opencv-python pillow`, for `scripts/flatten.py` (set `PYTHON=` if it is not `python3`).
- The **Dreamina CLI** (`dreamina`), logged in (`dreamina login`), with credits: about 1 for the still, 165 for a 5 s moment at 1080p and 132 for a 4 s tail. Or bring your own clip: any 1080p clip of the moment on a flat backdrop with a locked camera works, and you skip to step 4.
- For the demo film only: `npm i playwright` (then `npx playwright install chromium`).

## Install

```bash
curl -fsSL https://lookbk.dev/cli.js | node - add snap-drag-hero
```

The first run prints a sign-in link; open it, approve, and run the command again. Pro skills install for accounts that bought them or have Pro.

Where it installs:

- Run by Claude Code: `~/.claude/skills/snap-drag-hero` only, the one folder Claude Code reads.
- From your own terminal: `~/.agents/skills/snap-drag-hero`, which Codex, Gemini CLI, Copilot CLI, Cursor and OpenCode read, and also `~/.claude/skills/snap-drag-hero` when `~/.claude` exists.

Add `--claude` or `--shared` to write only one of those folders, or `--project` to install into the current folder instead. Start a new agent session afterwards so it picks up the skill.

Credits and licenses: NOTICE.md plus any LICENSE files inside the ZIP.

## Example request

> Make our launch hero for the new 72% bar: let people pull a tab to snap the bar in slow motion, crumbs flying, and when it breaks swap the headline and show the price.
