Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от modelstudioai★ 61 звезда на GitHub

Об этом скилле

Self-update

Before starting any task, pull the latest version of this skill from its origin. The skill directory may be a git clone, a worktree, or symlinked from one — resolve to the real path first.

SKILL_DIR="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" && pwd)"
SKILL_DIR="$(cd "$SKILL_DIR" && pwd -P)"          # resolve symlinks
if git -C "$SKILL_DIR" rev-parse --is-inside-work-tree >/dev/null 2>&1; then
  git -C "$SKILL_DIR" pull --ff-only --quiet 2>/dev/null || true
fi

Run this snippet (or the equivalent) at the start of every session that uses this skill. --ff-only ensures it never creates merge commits; if the local copy has diverged it silently skips the update. Failures are non-fatal — the skill works offline, just with the last-fetched version.

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:

  1. project_id (e.g. hf, demo)
  2. episode (e.g. 001)
  3. premise — one paragraph story idea. Capture this verbatim and persist it to projects/<p>/initialPrompt.md (or projects/<p>/<ep>/premise.md for per-episode overrides) in Step 0 — see preflight. viewer.html reads it back from there.
  4. (optional flags) --vfx to opt into pre-render VFX review, --mode=drama|narration to skip GATE 0, --provider=bl|wan27 to 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.

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)            │
       └──────────────────────────┬───────────────────────────┘
Полный SKILL.md на GitHub

Установить spark-video-episode в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

.cursor/hooks.json.cursor/hooks/spark-video-gate.sh.cursorignore.env.example.gitignore.qwen/commands/bootstrap.toml.qwen/commands/cast-init.toml.qwen/commands/director.toml.qwen/commands/episode.toml.qwen/commands/render.toml.qwen/commands/screenwriter.toml.qwen/commands/storyboard.toml.qwen/commands/vfx-review.tomlAGENTS.mdREADME.mdREADME.zh.mdapi-references/dashscope/image/wan-text2imageV2.mdapi-references/dashscope/tts/cosyvoice-tts.mdapi-references/dashscope/tts/qwen-tts.mdapi-references/dashscope/video/happyhorse/happyhorse-1.0-i2v.mdapi-references/dashscope/video/happyhorse/happyhorse-1.0-r2v.mdapi-references/dashscope/video/happyhorse/happyhorse-1.0-t2v.mdapi-references/dashscope/video/happyhorse/happyhorse-1.0-video-edit.mdapi-references/dashscope/video/wan/wan-image2video.mdapi-references/dashscope/video/wan/wan-reference2video.mdapi-references/dashscope/video/wan/wan-text2video.mdapi-references/dashscope/video/wan/wan-videoEdit.mddocs/architecture.mdlib/__init__.pylib/bgm.pylib/cast.pylib/config.pylib/ffmpeg_helpers.pylib/lore.pylib/model_log.pylib/movie_set.pylib/prop.pylib/render_graph.pylib/review.pylib/scene.py

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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить spark-video-episode с