website-to-hyperframes
Capture a website and create a HyperFrames video from it. Use when: (1) a user provides a URL and wants a video, (2) someone says "capture this site", "turn this into a video", "make a promo from my site", (3) the user wants a social ad, product tour, or any video based on an existing website, (4) the user shares a link and asks for any kind of video content. Even if the user just pastes a URL — this is the skill to use.
1How It Works & Mechanism
A seven-step pipeline where each step produces a manual or automated gate artifact before proceeding to the next.
The workflow has 7 steps. Each produces an artifact that gates the next.
Site capturing requires no API keys: `hyperframes capture` grabs design tokens, screenshots, fonts, and assets in a single run, automatically generating descriptions with DOM context.
npx hyperframes capture <URL> -o captures/<project-name> … No API keys required. The capture extracts design tokens, screenshots, fonts, and assets with DOM-context descriptions automatically.
Optional Gemini visual descriptions: Placing GEMINI_API_KEY or GOOGLE_API_KEY in the repository root .env enables Gemini 2.5 Flash to generate richer image descriptions (subject to free-tier rate limits).
**Optional:** Set `GEMINI_API_KEY` (or `GOOGLE_API_KEY`) in a `.env` file at the repo root for richer AI-powered image descriptions via Gemini 2.5 Flash vision.
DESIGN.md is strictly restricted to being a "quick reference sheet" rather than a creative plan; creative planning is reserved for STORYBOARD.md in Step 4.
Write a simple brand reference for the captured website. 6 sections, ~90 lines. … This is a cheat sheet, not the creative plan — that comes in Step 4.
Voiceover precedes visuals: The script serves as the narrative backbone, and scene durations are derived from voiceover rather than guesswork.
Write the narration script. The story backbone. Scene durations come from the narration, not from guessing.
TTS offers three paths and defaults to local and free: Kokoro runs locally on CPU (no API key required), while ElevenLabs is available via an MCP tool (highest audio quality, but returns no timestamps and requires separate transcription).
- **Kokoro** (try first — free, no API key) — `npx hyperframes tts SCRIPT.md --voice af_nova --output narration.wav`. Runs locally on CPU. … - **ElevenLabs** (best voice quality, widest selection) — `mcp__elevenlabs__search_voices` to browse, `mcp__elevenlabs__text_to_speech` to generate. Does not return timestamps — transcribe separately after.
Step 6 Build must invoke the actual /hyperframes skill rather than introducing its own animation conventions.
**Read:** The `/hyperframes` skill (invoke it — every rule matters)
Dual validation with zero errors before delivery, along with a HANDOFF.md artifact for multi-session resumption.
Lint, validate, preview. Create a HANDOFF.md for multi-session continuity. … `npx hyperframes lint` and `npx hyperframes validate` pass with zero errors.
2Core Capabilities
3External Dependencies
| Kind | Dependency / Endpoint |
|---|---|
| cli | HyperFrames CLI:capture / tts / transcribe / lint / validate |
| api | Gemini 2.5 Flash 视觉描述(可选,需 GEMINI_API_KEY / GOOGLE_API_KEY,写在仓库根 .env) |
| api | ElevenLabs 语音(经 MCP 工具 mcp__elevenlabs__*,可选;不返回时间戳需另行转写) |
| network | 被捕获的目标网站自身(URL 由用户提供) |
| package | 兄弟 skill:/hyperframes(Step 6 必须调用) |
4Recommended Governance & Evidence
- scripts/: Local script or command execution: (No scripts inside this skill's directory; all execution entry points specified in SKILL.md use the HyperFrames CLI)
- 网络端点: Declared external network access: HTTP(S) requests to the target captured website (URL provided by the user)
- 本地工作目录: File read/write and artifact output: captures/<project>/: Capture artifacts (screenshots, fonts, assets, extracted tokens, and descriptions)
5Second-Pass Verification
- [ok] Gemini key 与截图外发是否真实存在于文档(橙档关键证据) — references/step-1-capture.md 原文两处:抓站命令与 'No API keys required.',紧接着 '**Optional:** Set `GEMINI_API_KEY` (or `GOOGLE_API_KEY`) in a `.env` file at the repo root for richer AI-powered image descriptions via Gemini 2.5 Flash vision. Free tier: 5 RPM; paid tier removes the bottleneck.' 即外发可选,且降级路径(不做 AI 描述)同段说明。
- [ok] 本 skill 是否夹带脚本或隐藏执行面 — find 目录只返回 .md;无 package.json、无 scripts/。SKILL.md 与 references 内的命令都是 npx hyperframes / 外部工具类,由宿主执行。
- [ok] ElevenLabs 路径是否把「免费本地」选项挤掉(隐私判断) — step-5-vo.md 把 Kokoro 列为首选并注明 'try first — free, no API key' 与 'Runs locally on CPU',ElevenLabs 列第二且如实标注 'Does not return timestamps — transcribe separately after'。默认路径不出网(除抓站与 npx 拉取),付费服务是显式选项。
- [discrepancy] 「7 步每步一门禁」是否真的每步都有可判定 gate — [判定:轻微]Step 1–5、7 的 gate 都是可机械判定的文件存在或 CLI 零错误;但 Step 6 的 gate 是自评式的——'**Gate:** Every composition has been self-reviewed. No overlapping elements, no misplaced assets, no static images without motion.' 由 agent 自查,无脚本或人工签字支撑。属文档自认的软门禁,已在 traits 与 risks 中标注。
- [ok] 触发面声明是否与内容相符(只丢 URL 就用它) — frontmatter 第 4 条与正文 Quick Reference 都覆盖用户分享链接的情形;SKILL.md 的 Users say things like 三条示例(25s launch video、15s IG 广告、30s 产品 tour)方向一致。
6Verdict & Scenarios
689a696415fb5f9d…