[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77TGXB6N6T463MB6ZBVQ11N":3,"skill-same:01M77TGXB6N6T463MB6ZBVQ11N":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M77TGXB6N6T463MB6ZBVQ11N","seedance-waoo-video-pipeline",null,"自动化短视频工作流（story-to-video pipeline）：从剧本\u002F分镜到生成、字幕 ASR、TTS、合并交付，支持 Seedance \u002F Vidu \u002F MiniMax 多厂商路由。","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fs\u002Fseedance-waoo-video-pipeline\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: seedance-waoo-video-pipeline\ndescription: 自动化短视频工作流（story-to-video pipeline）：从剧本\u002F分镜到生成、字幕 ASR、TTS、合并交付，支持 Seedance \u002F Vidu \u002F MiniMax 多厂商路由。\n---\n\n# Seedance + waoowaoo Video Pipeline\n\n## Overview\n\nUse this skill for **story-to-short-video** work where:\n- Seedance handles pre-production thinking\n- waoowaoo handles production state and media execution\n- delivery must distinguish **raw \u002F subtitled \u002F voiced \u002F final \u002F merged** outputs\n\nSeedance upstream must support its own independent configuration for:\n- 厂商\n- 接口地址\n- 模型名\n- API Key\n\nThis upstream configuration must remain decoupled from downstream image \u002F video \u002F TTS \u002F ambience settings.\n\nThis skill is **not** tied to one video vendor.\nModel\u002Fprovider choice stays configurable.\nDo **not** force Vidu unless the user explicitly asks for it.\n\n## When to use\n\nTypical triggers:\n- “把小说做成短视频”\n- “先出分镜，再出片”\n- “统一风格做连续短视频”\n- “先保一条完整可交付视频”\n- “做 6 秒短视频流水线”\n- “先做一条，再继续拼接后面的”\n\n## Trigger rules\n\n### Auto-trigger\n\nTrigger this skill immediately when:\n- the user wants to turn a story \u002F novel \u002F bridge scene into short video\n- the user asks for script → storyboard → video flow\n- the user asks for a continuous multi-clip narrative short video\n- the user gives only one topic \u002F one sentence \u002F 一句文案 and expects the agent to start from scratch\n\n### Conditional trigger\n\nUse this skill but enter mid-pipeline when the user already has part of the chain ready, such as:\n- existing script\n- existing storyboard\n- existing panel ids \u002F panel images\n- existing raw clips\n- existing subtitle \u002F TTS \u002F ambience outputs\n\nIn that case, resume from the highest reliable completed stage instead of forcing a full restart.\n\n### Do not trigger\n\nDo not use this skill for:\n- one-off format conversion\n- long-form manual editing\n- DAW-heavy sound design\n- workflows that depend on fragile manual web login\n- pure technical maintenance that is not story-to-video production\n\n## Core principle\n\n**先保主条目，再扩张；先保真实状态，再汇报完成。**\n\n**默认从 0 开始。**\nIf the user gives only one short idea \u002F one sentence \u002F one文案, this skill must start from the Seedance pre-production side:\n- story intent\n- script line\n- story pack\n- storyboard \u002F panel plan\n- first image approval\n- then downstream video generation\n\nDo not jump directly into middle-stage project APIs, image regeneration, or video submission unless the user explicitly says they already have script\u002Fstoryboard\u002Fpanels ready.\n\nTreat the pipeline as 7 execution phases instead of abstract layers:\n\n0. **剧本前置思考 \u002F Story Intent Brief**\n1. **目标确认**\n2. **素材确认**\n3. **视频生成 \u002F 获取**\n4. **单条完善**\n5. **多条拼接**\n6. **交付汇报**\n\n## Default execution policy\n\nWhen the user does not specify otherwise:\n\n1. Prefer **one fully finished main clip** over many half-finished clips\n2. Treat **database\u002Fproject state as source of truth**\n3. Do not count **probe tasks** as formal deliverables\n4. Subtitle text is authoritative unless the user explicitly overrides it\n5. Ambience must sound like **environment**, not generic music bed\n6. If quota is tight, finish the current main clip end-to-end before expanding\n7. Lipsync is an **optional downstream stage**, not a default requirement\n\n## User modes\n\nBefore running, decide which mode the user is asking for.\n\n### Mode A — 单条保交付模式\nUse when the user wants one clip fully usable before anything else.\n\nDefault behavior:\n- lock one clip as the main target\n- do not expand to neighbors until this clip is stable\n- prioritize end-to-end delivery over exploration\n\n### Mode B — 逐步确认模式\nUse when the user wants to inspect intermediate outputs.\n\nTypical checkpoints:\n- outline \u002F story pack\n- image \u002F keyframe\n- main raw video\n- audio direction\n- final single clip\n- merged cut\n\n### Mode C — 配额敏感直跑模式\nUse when the user says “直接做 \u002F 不要一步步问 \u002F 额度有限”.\n\nDefault behavior:\n- only stop at high-risk checkpoints\n- avoid exploratory retries\n- preserve formal\u002Fprobe distinction strictly\n\nRead: `references\u002Fcheckpoint-policy.md`\n\n## Human-in-loop checkpoints (only two)\n\nThe pipeline should run internally end-to-end, but it must pause for user decision at only two checkpoints:\n\n1) 四件套确认（剧本阶段）\n2) 首图确认（首图阶段）\n\nIf user provides modification hints at either checkpoint, do not handcraft edits manually; route hints back into workflow driver via revision approvals.\n\nException:\n- when `runtime.pipelineMode=vidu_simple`, the flow may run direct video generation from topic without mandatory pre-production checkpoints (unless user explicitly asks for checkpoint mode).\n\n## Unified workflow driver approvals\n\nWhen scheduling with `scripts\u002Frun-seedance-workflow.cjs`, continue actions must map to stage-specific approvals:\n\n- `seedance-four-pack-confirm`\n  - pass: `--approval four-pack-approved`\n  - revise: `--approval revise-four-pack --revision-note \"\u003C用户修改意见>\"`\n- `first-image-confirm` \u002F `first-image-internal-generated` \u002F `first-image-asset-confirm`\n  - pass: `--approval first-image-approved`\n  - revise: `--approval revise-first-image --revision-note \"\u003C用户修改意见>\"`\n- `first-image-asset-blocked` (配置补齐后重试首图)\n  - retry: `--approval retry-first-image`\n\nIf approval value and stage do not match, the driver must stop with explicit error instead of silently continuing.\n\n## First-run configuration\n\nOn first run, do **not** force internal words like `provider` on the user.\nUse only:\n- 厂商\n- 接口地址\n- 模型名\n- API Key\n\nAuto-detect `runtime.pipelineMode`:\n- `minimax_full` (full upstream + downstream)\n- `vidu_simple` (direct video-first, minimal keys)\n- `seedance_simple` (direct video-first, minimal keys)\n\nUse capability-based routing (not hardcoded model names):\n- text only: route to best `text->video` provider\n- image + text: route to best `image+text->video` provider\n- text only + user requests first-image preview: route `text->image` first\n\nDefault routing rule (image + text input):\n- If user already provides a reference image, after four-pack confirmation prefer direct `first_frame` binding and skip first-image asset generation.\n- Keep script\u002Fstoryboard continuity constraints, but bind identity from source image at pixel level.\n\nRuntime overrides:\n- `--video-vendor \u003Cseedance|vidu|minimax>`\n- `--image-vendor \u003Cseedance|minimax>`\n- `--prompt-mode \u003Ctext-only|first-last-frame|all-reference>`\n- `--prompt-style \"...\"`\n- `--prompt-camera \"...\"`\n- `--prompt-scenario \u003Cgeneral|ecommerce|narrative|mv|tutorial>`\n- `--prompt-auto-fallback \u003Ctrue|false>`（默认 true）\n- `--prompt-min-score \u003C0-100>`（默认 80）\n\nPrompt engineering overlay (now built-in):\n- `run-seedance-workflow.cjs --action start` will generate `prompt-pack.result.json`\n- output includes: mode, assets mapping, timecoded beats, structured prompt blocks\n- workflow result also includes `promptQuality`（score\u002Flevel\u002Fsuggestions）用于快速判断可用性\n- when score \u003C threshold, workflow can auto-try alternate scenarios and output `promptFallback` report\n- implementation script: `scripts\u002Fbuild-seedance-prompt-pack.cjs`\n\nASR routing (subtitle alignment):\n- prefer `volc_asr_auc` (`X-Api-Key` + `volc.seedasr.auc`)\n- fallback `volc_vc` (`appid + token`, resource `vc.async.default`)\n- fallback local `faster-whisper`\n\nWhen user explicitly requests “按剧本锁定\u002F严格按剧本”: prefer Seedance strict-script profile\n- `content`: text + image_url(first_frame)\n- explicit `duration \u002F resolution \u002F generate_audio \u002F camera_fixed \u002F draft \u002F seed \u002F return_last_frame`\n- do not mix `first_frame\u002Flast_frame` with `reference_image` in one request body\n\nAdapter note (current release):\n- direct video submit\u002Fpoll\u002Fdownload adapters are built-in for `minimax` \u002F `vidu` \u002F `seedance`\n- config can be single-block (`downstream.waoo.video\u002Fimage`) or multi-map (`downstream.waoo.videos.*`, `downstream.waoo.images.*`)\n\nIf configuration is incomplete, `run-seedance-workflow.cjs --action start` must return a structured `configuration-guidance` result instead of throwing or silently continuing.\n\n**Hard rule for formal Seedance execution:**\n- Phase 0 \u002F `E01_前置思考.md` \u002F `E01_剧本.md` count as formal Seedance outputs only when `upstream.seedance` is independently configured with a real 厂商 \u002F 接口地址 \u002F 模型名 \u002F API Key.\n- Do **not** silently substitute the current chat model as the formal Seedance upstream model.\n- If `upstream.seedance` is missing, placeholder-only, or uses demo credentials, explicitly say that formal Seedance pre-production is not yet runnable and switch to configuration guidance mode.\n\nRead:\n- `references\u002Ffirst-run-guidance.md`\n- `references\u002Fconfiguration-template.md`\n\n## Phase 0 — 剧本前置思考 \u002F Story Intent Brief\n\nWhen the user starts from only a topic \u002F一句文案, do not jump directly into script body or production calls.\nFirst build a compact Story Intent Brief that locks:\n- what exact event this episode is covering\n- where Episode 1 begins and ends\n- core conflict\n- primary viewpoint\n- intended style \u002F tone\n- rhythm shape (铺垫 \u002F 设局 \u002F 爆发 \u002F 反转)\n- whether the idea is better as one clip, one episode, or multi-clip chain\n- obvious production risks\n\nThis brief is part of the formal Seedance pre-production stage, not an optional private thought.\nIt should be reflected forward into `E01_剧本.md`, `E01_素材清单.md`, and `E01_分镜.md`.\n\n**User confirmation rule:**\n- After formal Seedance generates the four-pack (`E01_前置思考.md`, `E01_剧本.md`, `E01_素材清单.md`, `E01_分镜.md`), surface that pack to the user for confirmation.\n- Do **not** continue into first-image generation, panel execution, or downstream video generation until the user confirms the four-pack.\n- Treat this as a required checkpoint, not an optional courtesy.\n- After the four-pack is confirmed, the skill may continue internally to generate the first-image candidate.\n- Do **not** surface the first-image prompt\u002Fspec bundle to the user by default.\n- Instead, surface the actual generated first-image asset to the user, and require that approval before any downstream video generation.\n- The user only confirms or requests changes.\n- The assistant's job is only to notify the skill to continue after confirmation.\n- The next internal workflow steps must still be executed by the skill's own continuation entrypoints, not improvised manually by the assistant.\n\nRead:\n- `references\u002Fstory-pack-spec.md`\n- `references\u002Fpipeline-overview.md`\n\n## Phase 0.5 — Prompt Engineering Overlay（已并入）\n\nBefore first-image or video submit, apply Seedance prompt-engineering guardrails:\n\n1) Declare mode first: Text-only \u002F First-Frame \u002F First+Last \u002F All-Reference.\n2) Add explicit Assets Mapping (`@image1\u002F@video1\u002F@audio1` each controls what).\n3) Use timecoded beats (one major action per segment).\n4) Keep prompt concise and controllable; add Negative Constraints when needed.\n5) For strict-script requests, prioritize identity continuity + camera continuity.\n\nIf user asks for style-rich cinematic prompts, generate from the prompt playbook and then map into panel execution context (instead of freeform rewriting every time).\n\nRead:\n- `references\u002Fseedance-prompt-engineering.md`\n\n## Phase 1 — 目标确认\n\nBefore generating anything, lock the exact target:\n- episode id\n- panel id \u002F panelIndex\n- main clip vs neighbor clip\n- whether the user wants **single clip** or **merged output**\n- whether the user wants **plain mix** or **optional lipsync**\n\nIf the target is ambiguous, resolve it first.\nDo not generate against a guessed panel.\n\n## Phase 2 — 素材确认\n\nResolve the active inputs:\n- source image \u002F first-frame image\n- active subtitle text (`srtSegment` or equivalent)\n- current video prompt\n- existing raw outputs\n- existing TTS \u002F ambience \u002F merged versions\n\nIf multiple versions exist, choose the current **main clip** explicitly.\n\nBefore a new generation or first-image approval, run a guard pass for:\n- panel identity lock\n- image\u002Ftext\u002Fpanel consistency\n- ordering \u002F duplicate check when multiple panels are involved\n\nRead:\n- `references\u002Fwaoo-input-spec.md`\n- `references\u002Fclip-state-contract.md`\n- `references\u002Fpanel-order-guard.md`\n\n## Phase 3 — 视频生成 \u002F 获取\n\nIf the clip does not exist yet:\n1. prepare valid input media\n2. submit video task\n3. poll status\n4. retrieve file \u002F real media URL\n5. download the actual file\n6. classify the result\n\nPossible classifications:\n- probe only\n- formal success\n- duplicate of existing clip\n- failed\n\nIf the clip already exists, do not regenerate unless the user asks.\n\nRead:\n- `references\u002Fmodel-routing.md`\n- `references\u002Fruntime-policy.md`\n- `references\u002Foutput-contract.md`\n- `references\u002Ffailure-fallbacks.md`\n\n## Phase 4 — 单条完善\n\nFor a single clip, finish in this order:\n1. subtitle alignment\n2. TTS \u002F dialogue decision\n3. ambience decision\n4. optional lipsync\n5. final single-clip export\n\n### Subtitle rule\nThe active subtitle text wins unless the user explicitly changes it.\nDo not borrow text from neighboring panels.\n\n### Audio rule\nAudio strategy must match the user’s request:\n- 旁白为主\n- 环境音优先\n- 不要明显配乐\n- 只要无台词环境版\n- 要真实说话感 \u002F 要口型验证\n\nRead:\n- `references\u002Faudio-policy.md`\n\n### Lipsync rule\nLipsync is optional and should only be used when clearly requested.\nDo **not** assume lipsync belongs in the main path.\n\nIf lipsync is used:\n- keep the original full clip as the base truth\n- treat lipsync output as a candidate until duration \u002F sync \u002F naturalness are checked\n- never silently replace the formal main clip with an obviously shortened or degraded result\n\nRead:\n- `references\u002Flipsync-decision-tree.md`\n\n## Phase 5 — 多条拼接\n\nOnly merge clips after each included clip has an honest state label.\n\nBefore merging:\n- confirm ordering\n- confirm each clip’s delivery state\n- confirm whether to use raw \u002F voiced \u002F ambience \u002F lipsync version\n- rebalance cross-clip ambience and loudness\n\nMerged output should not be reported as “完整成片” if one included clip is still experimental.\n\nRead:\n- `references\u002Frhythm-rules.md`\n- `references\u002Faudio-policy.md`\n\n## Phase 6 — 交付汇报\n\nAlways distinguish:\n- raw generated clip\n- subtitled clip\n- subtitle + TTS clip\n- final single clip\n- merged clip\n\nNever call a clip “final” if:\n- narration and subtitle are misaligned\n- ambience is claimed but not actually audible\n- the file was accidentally truncated\n- the result only came from a probe task\n\n## Result reporting policy\n\nAlways report in this structure:\n- **结论**\n- **关键点** (1–2 items)\n- **下一步**\n\nNever blur these categories:\n- probe success\n- formal success\n- duplicate output\n- temporary preview\n- final delivery\n\n## References to load when needed\n\n- `references\u002Fpipeline-overview.md`\n- `references\u002Fstory-pack-spec.md`\n- `references\u002Fwaoo-input-spec.md`\n- `references\u002Fmodel-routing.md`\n- `references\u002Fruntime-policy.md`\n- `references\u002Foutput-contract.md`\n- `references\u002Ffailure-fallbacks.md`\n- `references\u002Fcheckpoint-policy.md`\n- `references\u002Fclip-state-contract.md`\n- `references\u002Faudio-policy.md`\n- `references\u002Flipsync-decision-tree.md`\n- `references\u002Frhythm-rules.md`\n- `references\u002Fpanel-order-guard.md`\n\n## Scripts provided\n\nKeep deterministic helper scripts small and single-purpose.\n\nCurrent scripts:\n- `scripts\u002Fget-panel-context.ts`\n- `scripts\u002Fguard-panel-order.ts`\n- `scripts\u002Fguard-merge-order.ts`\n- `scripts\u002Fprepare-video-submit.ts`\n- `scripts\u002Fsubmit-official-video.ts`\n- `scripts\u002Fmerge-final-videos.ts`\n- `scripts\u002Fpoll-official-video.ts`\n- `scripts\u002Fdownload-official-video.ts`\n- `scripts\u002Fgenerate-tts.ts` (TTS 选择后子脚本级配置检查，缺失返回结构化 `configuration-guidance`)\n- `scripts\u002Fcheck-asr-config.ts` (ASR 选择后子脚本级配置检查，缺失返回结构化 `configuration-guidance`)\n- `scripts\u002Fprepare-ambience.ts` (环境音选择后子脚本级配置检查，AI 模式缺失返回结构化 `configuration-guidance`)\n- `scripts\u002Fmix-final-video.ts`\n- `scripts\u002Fbuild-delivery-manifest.ts`\n- `scripts\u002Fself-test-workflow-driver.cjs` (用于校验 workflow driver 的阶段\u002F审批映射)\n- `scripts\u002Frun-video-submit-chain.cjs` (首图确认后统一调度 提交\u002F轮询\u002F下载)\n- `scripts\u002Fbuild-dispatch-plan.cjs` (只产出调度指令与检查点，不执行)\n- `scripts\u002Fdiagnose-environment.cjs` (新机器首跑环境自检)\n\n## Guardrails\n\n- Do not expand from one clip to many unless the current main clip is stable or the user explicitly asks\n- Do not count probes as formal deliverables\n- Do not report “统一风格完成” unless the compared clips were intentionally validated as consistent\n- Do not claim environment sound exists unless it is clearly audible and semantically correct\n- Do not use a different panel’s text for the active clip narration\n- Do not hide failures behind “looks okay”\n\n## Success definition\n\nA clip is **fully delivered** only if all are true:\n1. the target clip\u002Fpanel is correctly identified\n2. the video file is formally generated or formally accepted\n3. subtitles match the clip content\n4. narration\u002Fdialogue policy matches the user’s request\n5. ambience is correct for the scene and audible\n6. final mp4 is exportable and sendable\n7. delivery status is reported truthfully\n\nIf any item is missing, report the clip as **partial**, not complete.\n","# Seedance + waoowaoo Video Pipeline\n\n## Overview\n\nUse this skill for **story-to-short-video** work where:\n- Seedance handles pre-production thinking\n- waoowaoo handles production state and media execution\n- delivery must distinguish **raw \u002F subtitled \u002F voiced \u002F final \u002F merged** outputs\n\nSeedance upstream must support its own independent configuration for:\n- 厂商\n- 接口地址\n- 模型名\n- API Key\n\nThis upstream configuration must remain decoupled from downstream image \u002F video \u002F TTS \u002F ambience settings.\n\nThis skill is **not** tied to one video vendor.\nModel\u002Fprovider choice stays configurable.\nDo **not** force Vidu unless the user explicitly asks for it.\n\n## When to use\n\nTypical triggers:\n- “把小说做成短视频”\n- “先出分镜，再出片”\n- “统一风格做连续短视频”\n- “先保一条完整可交付视频”\n- “做 6 秒短视频流水线”\n- “先做一条，再继续拼接后面的”\n\n## Trigger rules\n\n### Auto-trigger\n\nTrigger this skill immediately when:\n- the user wants to turn a story \u002F novel \u002F bridge scene into short video\n- the user asks for script → storyboard → video flow\n- the user asks for a continuous multi-clip narrative short video\n- the user gives only one topic \u002F one sentence \u002F 一句文案 and expects the agent to start from scratch\n\n### Conditional trigger\n\nUse this skill but enter mid-pipeline when the user already has part of the chain ready, such as:\n- existing script\n- existing storyboard\n- existing panel ids \u002F panel images\n- existing raw clips\n- existing subtitle \u002F TTS \u002F ambience outputs\n\nIn that case, resume from the highest reliable completed stage instead of forcing a full restart.\n\n### Do not trigger\n\nDo not use this skill for:\n- one-off format conversion\n- long-form manual editing\n- DAW-heavy sound design\n- workflows that depend on fragile manual web login\n- pure technical maintenance that is not story-to-video production\n\n## Core principle\n\n**先保主条目，再扩张；先保真实状态，再汇报完成。**\n\n**默认从 0 开始。**\nIf the user gives only one short idea \u002F one sentence \u002F one文案, this skill must start from the Seedance pre-production side:\n- story intent\n- script line\n- story pack\n- storyboard \u002F panel plan\n- first image approval\n- then downstream video generation\n\nDo not jump directly into middle-stage project APIs, image regeneration, or video submission unless the user explicitly says they already have script\u002Fstoryboard\u002Fpanels ready.\n\nTreat the pipeline as 7 execution phases instead of abstract layers:\n\n0. **剧本前置思考 \u002F Story Intent Brief**\n1. **目标确认**\n2. **素材确认**\n3. **视频生成 \u002F 获取**\n4. **单条完善**\n5. **多条拼接**\n6. **交付汇报**\n\n## Default execution policy\n\nWhen the user does not specify otherwise:\n\n1. Prefer **one fully finished main clip** over many half-finished clips\n2. Treat **database\u002Fproject state as source of truth**\n3. Do not count **probe tasks** as formal deliverables\n4. Subtitle text is authoritative unless the user explicitly overrides it\n5. Ambience must sound like **environment**, not generic music bed\n6. If quota is tight, finish the current main clip end-to-end before expanding\n7. Lipsync is an **optional downstream stage**, not a default requirement\n\n## User modes\n\nBefore running, decide which mode the user is asking for.\n\n### Mode A — 单条保交付模式\nUse when the user wants one clip fully usable before anything else.\n\nDefault behavior:\n- lock one clip as the main target\n- do not expand to neighbors until this clip is stable\n- prioritize end-to-end delivery over exploration\n\n### Mode B — 逐步确认模式\nUse when the user wants to inspect intermediate outputs.\n\nTypical checkpoints:\n- outline \u002F story pack\n- image \u002F keyframe\n- main raw video\n- audio direction\n- final single clip\n- merged cut\n\n### Mode C — 配额敏感直跑模式\nUse when the user says “直接做 \u002F 不要一步步问 \u002F 额度有限”.\n\nDefault behavior:\n- only stop at high-risk checkpoints\n- avoid exploratory retries\n- preserve formal\u002Fprobe distinction strictly\n\nRead: `references\u002Fcheckpoint-policy.md`\n\n## Human-in-loop checkpoints (only two)\n\nThe pipeline should run internally end-to-end, but it must pause for user decision at only two checkpoints:\n\n1) 四件套确认（剧本阶段）\n2) 首图确认（首图阶段）\n\nIf user provides modification hints at either checkpoint, do not handcraft edits manually; route hints back into workflow driver via revision approvals.\n\nException:\n- when `runtime.pipelineMode=vidu_simple`, the flow may run direct video generation from topic without mandatory pre-production checkpoints (unless user explicitly asks for checkpoint mode).\n\n## Unified workflow driver approvals\n\nWhen scheduling with `scripts\u002Frun-seedance-workflow.cjs`, continue actions must map to stage-specific approvals:\n\n- `seedance-four-pack-confirm`\n  - pass: `--approval four-pack-approved`\n  - revise: `--approval revise-four-pack --revision-note \"\u003C用户修改意见>\"`\n- `first-image-confirm` \u002F `first-image-internal-generated` \u002F `first-image-asset-confirm`\n  - pass: `--approval first-image-approved`\n  - revise: `--approval revise-first-image --revision-note \"\u003C用户修改意见>\"`\n- `first-image-asset-blocked` (配置补齐后重试首图)\n  - retry: `--approval retry-first-image`\n\nIf approval value and stage do not match, the driver must stop with explicit error instead of silently continuing.\n\n## First-run configuration\n\nOn first run, do **not** force internal words like `provider` on the user.\nUse only:\n- 厂商\n- 接口地址\n- 模型名\n- API Key\n\nAuto-detect `runtime.pipelineMode`:\n- `minimax_full` (full upstream + downstream)\n- `vidu_simple` (direct video-first, minimal keys)\n- `seedance_simple` (direct video-first, minimal keys)\n\nUse capability-based routing (not hardcoded model names):\n- text only: route to best `text->video` provider\n- image + text: route to best `image+text->video` provider\n- text only + user requests first-image preview: route `text->image` first\n\nDefault routing rule (image + text input):\n- If user already provides a reference image, after four-pack confirmation prefer direct `first_frame` binding and skip first-image asset generation.\n- Keep script\u002Fstoryboard continuity constraints, but bind identity from source image at pixel level.\n\nRuntime overrides:\n- `--video-vendor \u003Cseedance|vidu|minimax>`\n- `--image-vendor \u003Cseedance|minimax>`\n- `--prompt-mode \u003Ctext-only|first-last-frame|all-reference>`\n- `--prompt-style \"...\"`\n- `--prompt-camera \"...\"`\n- `--prompt-scenario \u003Cgeneral|ecommerce|narrative|mv|tutorial>`\n- `--prompt-auto-fallback \u003Ctrue|false>`（默认 true）\n- `--prompt-min-score \u003C0-100>`（默认 80）\n\nPrompt engineering overlay (now built-in):\n- `run-seedance-workflow.cjs --action start` will generate `prompt-pack.result.json`\n- output includes: mode, assets mapping, timecoded beats, structured prompt blocks\n- workflow result also includes `promptQuality`（score\u002Flevel\u002Fsuggestions）用于快速判断可用性\n- when score \u003C threshold, workflow can auto-try alternate scenarios and output `promptFallback` report\n- implementation script: `scripts\u002Fbuild-seedance-prompt-pack.cjs`\n\nASR routing (subtitle alignment):\n- prefer `volc_asr_auc` (`X-Api-Key` + `volc.seedasr.auc`)\n- fallback `volc_vc` (`appid + token`, resource `vc.async.default`)\n- fallback local `faster-whisper`\n\nWhen user explicitly requests “按剧本锁定\u002F严格按剧本”: prefer Seedance strict-script profile\n- `content`: text + image_url(first_frame)\n- explicit `duration \u002F resolution \u002F generate_audio \u002F camera_fixed \u002F draft \u002F seed \u002F return_last_frame`\n- do not mix `first_frame\u002Flast_frame` with `reference_image` in one request body\n\nAdapter note (current release):\n- direct video submit\u002Fpoll\u002Fdownload adapters are built-in for `minimax` \u002F `vidu` \u002F `seedance`\n- config can be single-block (`downstream.waoo.video\u002Fimage`) or multi-map (`downstream.waoo.videos.*`, `downstream.waoo.images.*`)\n\nIf configuration is incomplete, `run-seedance-workflow.cjs --action start` must return a structured `configuration-guidance` result instead of throwing or silently continuing.\n\n**Hard rule for formal Seedance execution:**\n- Phase 0 \u002F `E01_前置思考.md` \u002F `E01_剧本.md` count as formal Seedance outputs only when `upstream.seedance` is independently configured with a real 厂商 \u002F 接口地址 \u002F 模型名 \u002F API Key.\n- Do **not** silently substitute the current chat model as the formal Seedance upstream model.\n- If `upstream.seedance` is missing, placeholder-only, or uses demo credentials, explicitly say that formal Seedance pre-production is not yet runnable and switch to configuration guidance mode.\n\nRead:\n- `references\u002Ffirst-run-guidance.md`\n- `references\u002Fconfiguration-template.md`\n\n## Phase 0 — 剧本前置思考 \u002F Story Intent Brief\n\nWhen the user starts from only a topic \u002F一句文案, do not jump directly into script body or production calls.\nFirst build a compact Story Intent Brief that locks:\n- what exact event this episode is covering\n- where Episode 1 begins and ends\n- core conflict\n- primary viewpoint\n- intended style \u002F tone\n- rhythm shape (铺垫 \u002F 设局 \u002F 爆发 \u002F 反转)\n- whether the idea is better as one clip, one episode, or multi-clip chain\n- obvious production risks\n\nThis brief is part of the formal Seedance pre-production stage, not an optional private thought.\nIt should be reflected forward into `E01_剧本.md`, `E01_素材清单.md`, and `E01_分镜.md`.\n\n**User confirmation rule:**\n- After formal Seedance generates the four-pack (`E01_前置思考.md`, `E01_剧本.md`, `E01_素材清单.md`, `E01_分镜.md`), surface that pack to the user for confirmation.\n- Do **not** continue into first-image generation, panel execution, or downstream video generation until the user confirms the four-pack.\n- Treat this as a required checkpoint, not an optional courtesy.\n- After the four-pack is confirmed, the skill may continue internally to generate the first-image candidate.\n- Do **not** surface the first-image prompt\u002Fspec bundle to the user by default.\n- Instead, surface the actual generated first-image asset to the user, and require that approval before any downstream video generation.\n- The user only confirms or requests changes.\n- The assistant's job is only to notify the skill to continue after confirmation.\n- The next internal workflow steps must still be executed by the skill's own continuation entrypoints, not improvised manually by the assistant.\n\nRead:\n- `references\u002Fstory-pack-spec.md`\n- `references\u002Fpipeline-overview.md`\n\n## Phase 0.5 — Prompt Engineering Overlay（已并入）\n\nBefore first-image or video submit, apply Seedance prompt-engineering guardrails:\n\n1) Declare mode first: Text-only \u002F First-Frame \u002F First+Last \u002F All-Reference.\n2) Add explicit Assets Mapping (`@image1\u002F@video1\u002F@audio1` each controls what).\n3) Use timecoded beats (one major action per segment).\n4) Keep prompt concise and controllable; add Negative Constraints when needed.\n5) For strict-script requests, prioritize identity continuity + camera continuity.\n\nIf user asks for style-rich cinematic prompts, generate from the prompt playbook and then map into panel execution context (instead of freeform rewriting every time).\n\nRead:\n- `references\u002Fseedance-prompt-engineering.md`\n\n## Phase 1 — 目标确认\n\nBefore generating anything, lock the exact target:\n- episode id\n- panel id \u002F panelIndex\n- main clip vs neighbor clip\n- whether the user wants **single clip** or **merged output**\n- whether the user wants **plain mix** or **optional lipsync**\n\nIf the target is ambiguous, resolve it first.\nDo not generate against a guessed panel.\n\n## Phase 2 — 素材确认\n\nResolve the active inputs:\n- source image \u002F first-frame image\n- active subtitle text (`srtSegment` or equivalent)\n- current video prompt\n- existing raw outputs\n- existing TTS \u002F ambience \u002F merged versions\n\nIf multiple versions exist, choose the current **main clip** explicitly.\n\nBefore a new generation or first-image approval, run a guard pass for:\n- panel identity lock\n- image\u002Ftext\u002Fpanel consistency\n- ordering \u002F duplicate check when multiple panels are involved\n\nRead:\n- `references\u002Fwaoo-input-spec.md`\n- `references\u002Fclip-state-contract.md`\n- `references\u002Fpanel-order-guard.md`\n\n## Phase 3 — 视频生成 \u002F 获取\n\nIf the clip does not exist yet:\n1. prepare valid input media\n2. submit video task\n3. poll status\n4. retrieve file \u002F real media URL\n5. download the actual file\n6. classify the result\n\nPossible classifications:\n- probe only\n- formal success\n- duplicate of existing clip\n- failed\n\nIf the clip already exists, do not regenerate unless the user asks.\n\nRead:\n- `references\u002Fmodel-routing.md`\n- `references\u002Fruntime-policy.md`\n- `references\u002Foutput-contract.md`\n- `references\u002Ffailure-fallbacks.md`\n\n## Phase 4 — 单条完善\n\nFor a single clip, finish in this order:\n1. subtitle alignment\n2. TTS \u002F dialogue decision\n3. ambience decision\n4. optional lipsync\n5. final single-clip export\n\n### Subtitle rule\nThe active subtitle text wins unless the user explicitly changes it.\nDo not borrow text from neighboring panels.\n\n### Audio rule\nAudio strategy must match the user’s request:\n- 旁白为主\n- 环境音优先\n- 不要明显配乐\n- 只要无台词环境版\n- 要真实说话感 \u002F 要口型验证\n\nRead:\n- `references\u002Faudio-policy.md`\n\n### Lipsync rule\nLipsync is optional and should only be used when clearly requested.\nDo **not** assume lipsync belongs in the main path.\n\nIf lipsync is used:\n- keep the original full clip as the base truth\n- treat lipsync output as a candidate until duration \u002F sync \u002F naturalness are checked\n- never silently replace the formal main clip with an obviously shortened or degraded result\n\nRead:\n- `references\u002Flipsync-decision-tree.md`\n\n## Phase 5 — 多条拼接\n\nOnly merge clips after each included clip has an honest state label.\n\nBefore merging:\n- confirm ordering\n- confirm each clip’s delivery state\n- confirm whether to use raw \u002F voiced \u002F ambience \u002F lipsync version\n- rebalance cross-clip ambience and loudness\n\nMerged output should not be reported as “完整成片” if one included clip is still experimental.\n\nRead:\n- `references\u002Frhythm-rules.md`\n- `references\u002Faudio-policy.md`\n\n## Phase 6 — 交付汇报\n\nAlways distinguish:\n- raw generated clip\n- subtitled clip\n- subtitle + TTS clip\n- final single clip\n- merged clip\n\nNever call a clip “final” if:\n- narration and subtitle are misaligned\n- ambience is claimed but not actually audible\n- the file was accidentally truncated\n- the result only came from a probe task\n\n## Result reporting policy\n\nAlways report in this structure:\n- **结论**\n- **关键点** (1–2 items)\n- **下一步**\n\nNever blur these categories:\n- probe success\n- formal success\n- duplicate output\n- temporary preview\n- final delivery\n\n## References to load when needed\n\n- `references\u002Fpipeline-overview.md`\n- `references\u002Fstory-pack-spec.md`\n- `references\u002Fwaoo-input-spec.md`\n- `references\u002Fmodel-routing.md`\n- `references\u002Fruntime-policy.md`\n- `references\u002Foutput-contract.md`\n- `references\u002Ffailure-fallbacks.md`\n- `references\u002Fcheckpoint-policy.md`\n- `references\u002Fclip-state-contract.md`\n- `references\u002Faudio-policy.md`\n- `references\u002Flipsync-decision-tree.md`\n- `references\u002Frhythm-rules.md`\n- `references\u002Fpanel-order-guard.md`\n\n## Scripts provided\n\nKeep deterministic helper scripts small and single-purpose.\n\nCurrent scripts:\n- `scripts\u002Fget-panel-context.ts`\n- `scripts\u002Fguard-panel-order.ts`\n- `scripts\u002Fguard-merge-order.ts`\n- `scripts\u002Fprepare-video-submit.ts`\n- `scripts\u002Fsubmit-official-video.ts`\n- `scripts\u002Fmerge-final-videos.ts`\n- `scripts\u002Fpoll-official-video.ts`\n- `scripts\u002Fdownload-official-video.ts`\n- `scripts\u002Fgenerate-tts.ts` (TTS 选择后子脚本级配置检查，缺失返回结构化 `configuration-guidance`)\n- `scripts\u002Fcheck-asr-config.ts` (ASR 选择后子脚本级配置检查，缺失返回结构化 `configuration-guidance`)\n- `scripts\u002Fprepare-ambience.ts` (环境音选择后子脚本级配置检查，AI 模式缺失返回结构化 `configuration-guidance`)\n- `scripts\u002Fmix-final-video.ts`\n- `scripts\u002Fbuild-delivery-manifest.ts`\n- `scripts\u002Fself-test-workflow-driver.cjs` (用于校验 workflow driver 的阶段\u002F审批映射)\n- `scripts\u002Frun-video-submit-chain.cjs` (首图确认后统一调度 提交\u002F轮询\u002F下载)\n- `scripts\u002Fbuild-dispatch-plan.cjs` (只产出调度指令与检查点，不执行)\n- `scripts\u002Fdiagnose-environment.cjs` (新机器首跑环境自检)\n\n## Guardrails\n\n- Do not expand from one clip to many unless the current main clip is stable or the user explicitly asks\n- Do not count probes as formal deliverables\n- Do not report “统一风格完成” unless the compared clips were intentionally validated as consistent\n- Do not claim environment sound exists unless it is clearly audible and semantically correct\n- Do not use a different panel’s text for the active clip narration\n- Do not hide failures behind “looks okay”\n\n## Success definition\n\nA clip is **fully delivered** only if all are true:\n1. the target clip\u002Fpanel is correctly identified\n2. the video file is formally generated or formally accepted\n3. subtitles match the clip content\n4. narration\u002Fdialogue policy matches the user’s request\n5. ambience is correct for the scene and audible\n6. final mp4 is exportable and sendable\n7. delivery status is reported truthfully\n\nIf any item is missing, report the clip as **partial**, not complete.\n",{"name":5,"description":7},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fs\u002Fseedance-waoo-video-pipeline",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill seedance-waoo-video-pipeline",{"tool":39,"command":40},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill seedance-waoo-video-pipeline",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill seedance-waoo-video-pipeline","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fs\u002Fseedance-waoo-video-pipeline\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]