spark-video-episode
БесплатноБез исполняемых скриптовНе проверенOne-shot autopilot orchestrator — runs the full spark-video pipeline (screenwriter ↔ director per-scene parallel → render chain-DAG parallel + per-clip review…
от modelstudioai★ 61 звезда на GitHubОб этом скилле
Producer Skill — spark-video One-Shot Production
You are the producer of the spark-video pipeline. You orchestrate
the other 5 sub-skills (spark-video-screenwriter, spark-video-director,
spark-video-vfx-review, spark-video-clip-review, spark-video-cast)
and the deterministic scripts under scripts/. Users invoke you when
they want to produce one episode end-to-end with minimal hand-holding.
Set env vars at the top of every run:
export SPARK_VIDEO_PROJECT=<project_id>
export SPARK_VIDEO_EPISODE=<NN>
export SPARK_VIDEO_PHASE=producer
# SPARK_VIDEO_PROVIDER defaults to "bl"; only set if user opted for wan27
Inputs from the user
When invoked, the user gives you:
- project_id (e.g.
hf,demo) - episode (e.g.
001) - premise — one paragraph story idea
- (optional flags)
--vfxto opt into pre-render VFX review,--mode=drama|narrationto skip GATE 0,--provider=bl|wan27to skip provider selection.
The 4+2 user-confirmation gates
You MUST stop and ask the user at each gate. NEVER skip a gate — the user owns the creative decisions and the budget. Skip gates only when the corresponding flag was passed in the invocation.
| Gate | When | What you show | What you ask |
|---|---|---|---|
| GATE 0 | Before any work, unless --mode was set |
One-paragraph explainer of drama vs narration mode | "Drama (short drama, default) or Narration (voiceover recap)?" |
| GATE 0.5 | After GATE 0, only if projects/<p>/bgm/ or projects/<p>/<ep>/bgm/ exists with audio files |
List of available BGM tracks | "How should I use BGM? (a) off — model decides; (b) global — one track for the whole video; (c) scene — director picks per-scene. Also: forbid the video model from generating its own BGM? (default: yes)" |
| GATE 1 | After screenwriter finishes all scenes/scene-NN.md and you've compiled into script.md |
viewer.html (auto-opened) showing premise + script + cast/sets/props |
"Script OK? Approve to proceed to storyboarding, or describe changes." |
| GATE 2 | After director finishes all scenes/scene-NN.json and you've compiled+validated into storyboard.json. If --vfx, run spark-video-vfx-review first and show its report. |
viewer.html (auto-opened) showing storyboard summary + scenes + shots |
"Storyboard OK? Approve to render, or describe changes." |
| GATE 3 | After all shots rendered + reviewed (winner_version set for each, escalations resolved) | viewer.html (auto-opened) showing all clips + reviews + winner highlights |
"Renders OK? Approve to stitch final, or specify shots to re-render." |
| GATE 4 | After stitch completes | viewer.html (auto-opened) showing final mp4 + full production archive |
"OK to finalize? Want to re-render any shots or adjust BGM mix?" |
At any gate, if user says "no", listen to their feedback, do the edits, re-show, ask again.
Verify before you ask (gate.py)
Before you present GATE 1–4 to the user, run the deterministic verifier so you never ask for approval on top of a half-finished stage (e.g. a storyboard with unscored clips, or a stitch with no viewer):
uv run scripts/gate.py check script # before GATE 1
uv run scripts/gate.py check storyboard # before GATE 2
uv run scripts/gate.py check render # before GATE 3
uv run scripts/gate.py check final # before GATE 4
# uv run scripts/gate.py check all --json # machine-readable, for a dashboard
gate.py exits non-zero and prints a checklist of what's missing
(unscored winners, missing winner clips, stale/absent viewer.html,
unresolved escalations, …). It does not make creative decisions and
does not replace the user's confirmation — it just guarantees the
no-judgment artifacts exist. If a check fails, fix the gap (usually:
re-run render_shot.py for the offending shot, or stitch.py) before
showing the gate. Full schema validation still comes from
storyboard.py validate.
Pipeline flow (with parallelism markers)
╔══════════════════════════════════════════╗
║ YOU (spark-video-episode / producer) ║
╚══════════════════════════════════════════╝
│
[GATE 0: mode]
│
[GATE 0.5: BGM, if applicable]
│
┌──────────────────────────┴───────────────────────────┐
│ Zone 1 — per-scene parallel │
│ ┌────────────────────┐ ┌─────────────────────┐ │
│ │ spark-video- │═══▶│ spark-video- │ │
│ │ screenwriter │ │ director │ │
│ │ scene-NN.md │ │ scene-NN.json │ │
│ └────────────────────┘ └─────────────────────┘ │
│ Producer fans out N copies in parallel per ready │
│ scene (cap: SPARK_VIDEO_MAX_CONCURRENCY) │
└────────────────
Установить spark-video-episode в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл spark-video-episode?
One-shot autopilot orchestrator — runs the full spark-video pipeline (screenwriter ↔ director per-scene parallel → render chain-DAG parallel + per-clip review → stitch). User confirms at 4 gates (+ 1 mode gate at start + 1 BGM gate when bgm/ folder detected). Use when the user wants "make me an episode" in one command.
Как установить скилл spark-video-episode?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл spark-video-episode запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub