SkillsGrove

video-script

インストール

$npx skills add https://github.com/ZJU-REAL/Easel --skill video-script
$git clone --depth 1 https://github.com/ZJU-REAL/Easel.git /tmp/Easel && mkdir -p ~/.claude/skills && cp -r /tmp/Easel/skills/builtin/video-script ~/.claude/skills/video-script
この Agent Skill をインストールしてください:https://github.com/ZJU-REAL/Easel/tree/011e10d86711c7ace3cbb01153f8915dbd018020/skills/builtin/video-script — まず SKILL.md とスクリプトを読み、安全であることを確認してから、私のスキルフォルダにインストールしてください。

概要

原文の説明 · Apache-2.0生成视频脚本,覆盖短视频(7-60秒)到中长视频(1-30分钟)全时长。 短视频:Hook 变体评分、分秒计时、字幕文案、封面方案。 中长视频:留存率优化、节奏中断点、前向钩子、章节结构。 适用于抖音、视频号、小红书视频、B站、YouTube 等平台。 当用户说"视频脚本"、"短视频脚本"、"抖音脚本"、"B站脚本"、 "视频号脚本"、"竖版视频"、"Reel 脚本"、"写个视频文案"时使用。 和 video-strategy 的区别:video-strategy 做视频内容规划和系列策划, video-script 写具体某一条视频的脚本。
以下の SKILL.md は ZJU-REAL/Easel(コミット 011e10d)から Apache-2.0 ライセンスに基づいて転載しています。本文は変更しておらず、ファイル先頭のメタデータのみ省略し、画像はリンクとして表示し、非常に長いファイルは途中までの表示としています。Copyright owner or entity authorized by。ライセンス:LICENSE。表示しているのは指示ファイルのみです。スクリプト等は元のリポジトリをご覧ください。

视频脚本生成

根据目标时长自动适配短视频或中长视频模式,生成留存率优化的结构化脚本。

输入

字段 必填 说明 示例
主题 是 视频主题 "为什么 Rust 正在替代 C++"
目标时长 是 秒数或分钟数 30 秒 / 10 分钟
平台 否 抖音/视频号/小红书/B站(默认按时长推断) 抖音
内容类型 否 科普/教程/评测/种草/解说/杂谈 科普
核心要点 是 要覆盖的关键信息 内存安全、性能…
调性 否 专业/轻松/犀利/对话感(默认:对话感) 轻松

模式自动判定

时长 模式 典型平台 关键指标
7-15 秒 短视频·极速 抖音/视频号 3 秒完播率
15-60 秒 短视频·标准 抖音/视频号/小红书 完播率、DM 转发、收藏
1-5 分钟 中视频 视频号/抖音/B站 5 秒留存、互动率
5-30 分钟 长视频 B站/YouTube 30 秒留存、播放完成率

语速基准:中文约 250 字/分钟。


短视频模式(≤60 秒)

Step 1 — Hook 设计(3 个变体)

从 5 种 Hook 类型中选 3 个,各生成一个变体:

类型 适用场景 示例
好奇缺口 冷知识、反直觉 "你每天做的这件事其实在伤害你"
模式打断 反常规、挑战认知 "忘掉你以前学的所有XX"
身份触发 精准受众 "如果你是XX,这条一定要看完"
痛点共鸣 真实困扰 "明明很努力了还是没效果?"
权威背书 数据/研究支撑 "最新研究发现:XX 竟然是错的"

每个 Hook 按 4 维度评分(每项 1-5,满分 20):好奇强度、打断效果、身份触发、3 秒清晰度。选最高分作为主 Hook。

Step 2 — 分秒脚本

按时长压缩结构:

时长 结构
7-15 秒 Hook(0-2s) + 核心价值(2-10s) + 收尾(10-15s)
15-30 秒 Hook(0-3s) + 痛点(3-8s) + 方案(8-20s) + 收尾CTA(20-30s)
30-60 秒 Hook(0-3s) + 痛点(3-8s) + 方案(8-40s) + 洞察+CTA(40-60s)

脚本格式:

[0-3s] HOOK
口播: "..."
字幕: "..."
画面: [描述]

[3-8s] 痛点
口播: "..."
画面: [描述]

每句 ≤15 字,口语化,加括号注释(停顿/强调/表情)。

Step 3 — caption + 封面

caption:100-300 字,Hook 变体开头(不重复视频 Hook),DM 转发 > 收藏 > 点赞。 hashtags:3-5 个垂直标签,不用泛标签。 封面:3-5 字大标题 + 画面描述 + 表情。

Step 4 — 质量评分(满分 100)

维度 权重 检查点
Hook 强度 25 好奇缺口、打断效果、3 秒清晰度
内容质量 25 价值密度、结构、痛点-方案清晰度
caption+CTA 20 长度 100+字、转发型 CTA、Hook 变体
格式合规 15 9:16 安全区、时长匹配、封面
算法信号 15 收藏/转发优化、原创性

≥80 分交付,<60 分返工后重评。


中长视频模式(>60 秒)

留存率优化的详细方法(节奏中断点 / 前向钩子 / 章节结构 / 留存曲线)见 references/retention-scripting-guide.md。

Step 1 — 结构计算

根据目标时长分配各段:

  • Hook:0:00-0:30(短视频缩短到 0:00-0:10)
  • 开场:0:30-2:00
  • 首次 CTA:约 25% 处
  • 留存再拉回:约 60% 处
  • 结尾:最后 60 秒
  • 目标字数 = 时长(分钟) × 250

Step 2 — 写 Hook(三段式)

阶段 时间 目标
抓眼 0-5s 全片最重要的一句话,不加片头
承诺 5-15s 看完能获得什么,具体可感知
悬念 15-30s 不看会损失什么

Step 3 — 内容段落

每段结构:节奏中断 → 正文 → 微总结 → 前向钩子。 节奏中断每 60-90 秒一次(短视频每 15-30 秒),类型:【镜头切换】【画面】【音效】【数据冲击】。

Step 4 — CTA 与结尾

  • 首次 CTA(25% 处):软性、对话式、10-15 秒
  • 留存再拉回(60% 处):"接下来是最关键的部分"
  • 结尾 CTA:硬性号召 + 下期预告,不说"感谢观看"

Step 5 — 留存风险标注

扫描全稿,在危险区标 ⚠️ 警告(至少 3 处)+ 应对方案。

输出格式

产物写入 outputs/。包含:

  • 脚本元数据(主题/时长/平台/字数)
  • 完整分段脚本(含时间码、口播、字幕、画面提示)
  • 节奏中断日志(时间戳/类型/说明)
  • 留存风险地图(中长视频)/ 质量评分(短视频)
  • 剪辑备注

质量检查

  • 字数与时长匹配(250 字/分钟,±10%):用脚本判定,不靠估算。把全部口播文案(去掉时间码、画面提示等非口播行)喂给 python3 skills/shared/scripts/wordcount.py check --target <时长分钟×250> --tolerance 0.1(stdin 传入),退出码 0 = 达标;非 0 时脚本给出「还需增/删 X 字」,据结果增删口播后重跑,直到通过。
  • Hook 完整(短视频 3 变体评分;中长视频三段式)
  • 节奏中断频率达标
  • CTA 位置正确
  • 全稿口语化,短句,不像书面文
  • 结尾有能量,不含收尾废话

Profile 感知

  • 有 Profile:读取 platform 锁定平台、audience 调整用语、tone 匹配风格、cta_style 使用惯用话术
  • 无 Profile:默认按时长推断平台,对话感调性
ライセンス全文を見る(Apache-2.0)
                                 Apache License
                           Version 2.0, January 2004
                        http://www.apache.org/licenses/

   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

   1. Definitions.

      "License" shall mean the terms and conditions for use, reproduction,
      and distribution as defined by Sections 1 through 9 of this document.

      "Licensor" shall mean the copyright owner or entity authorized by
      the copyright owner that is granting the License.

      "Legal Entity" shall mean the union of the acting entity and all
      other entities that control, are controlled by, or are under common
      control with that entity. For the purposes of this definition,
      "control" means (i) the power, direct or indirect, to cause the
      direction or management of such entity, whether by contract or
      otherwise, or (ii) ownership of fifty percent (50%) or more of the
      outstanding shares, or (iii) beneficial ownership of such entity.

      "You" (or "Your") shall mean an individual or Legal Entity
      exercising permissions granted by this License.

      "Source" form shall mean the preferred form for making modifications,
      including but not limited to software source code, documentation
      source, and configuration files.

      "Object" form shall mean any form resulting from mechanical
      transformation or translation of a Source form, including but
      not limited to compiled object code, generated documentation,
      and conversions to other media types.

      "Work" shall mean the work of authorship, whether in Source or
      Object form, made available under the License, as indicated by a
      copyright notice that is included in or attached to the work
      (an example is provided in the Appendix below).

      "Derivative Works" shall mean any work, whether in Source or Object
      form, that is based on (or derived from) the Work and for which the
      editorial revisions, annotations, elaborations, or other modifications
      represent, as a whole, an original work of authorship. For the purposes
      of this License, Derivative Works shall not include works that remain
      separable from, or merely link (or bind by name) to the interfaces of,
      the Work and Derivative Works thereof.

      "Contribution" shall mean any work of authorship, including
      the original version of the Work and any modifications or additions
      to that Work or Derivative Works thereof, that is intentionally
      submitted to Licensor for inclusion in the Work by the copyright owner
      or by an individual or Legal Entity authorized to submit on behalf of
      the copyright owner. For the purposes of this definition, "submitted"
      means any form of electronic, verbal, or written communication sent
      to the Licensor or its representatives, including but not limited to
      communication on electronic mailing lists, source code control systems,
      and issue tracking systems that are managed by, or on behalf of, the
      Licensor for the purpose of discussing and improving the Work, but
      excluding communication that is conspicuously marked or otherwise
      designated in writing by the copyright owner as "Not a Contribution."

      "Contributor" shall mean Licensor and any individual or Legal Entity
      on behalf of whom a Contribution has been received by Licensor and
      subsequently incorporated within the Work.

   2. Grant of Copyright License. Subject to the terms and conditions of
      this License, each Contributor hereby grants to You a perpetual,
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
      copyright license to reproduce, prepare Derivative Works of,
      publicly display, publicly perform, sublicense, and distribute the
      Work and such Derivative Works in Source or Object form.

   3. Grant of Patent License. Subject to the terms and conditions of
      this License, each Contributor hereby grants to You a perpetual,
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
      (except as stated in this section) patent license to make, have made,
      use, offer to sell, sell, import, and otherwise transfer the Work,
      where such license applies only to those patent claims licensable
      by such Contributor that are necessarily infringed by their
      Contribution(s) alone or by combination of their Contribution(s)
      with the Work to which such Contribution(s) was submitted. If You
      institute patent litigation against any entity (including a
      cross-claim or counterclaim in a lawsuit) alleging that the Work
      or a Contribution incorporated within the Work constitutes direct
      or contributory patent infringement, then any patent licenses
      granted to You under this License for that Work shall terminate
      as of the date such litigation is filed.

   4. Redistribution. You may reproduce and distribute copies of the
      Work or Derivative Works thereof in any medium, with or without
      modifications, and in Source or Object form, provided that You
      meet the following conditions:

      (a) You must give any other recipients of the Work or
          Derivative Works a copy of this License; and

      (b) You must cause any modified files to carry prominent notices
          stating that You changed the files; and

      (c) You must retain, in the Source form of any Derivative Works
          that You distribute, all copyright, patent, trademark, and
          attribution notices from the Source form of the Work,
          excluding those notices that do not pertain to any part of
          the Derivative Works; and

      (d) If the Work includes a "NOTICE" text file as part of its
          distribution, then any Derivative Works that You distribute must
          include a readable copy of the attribution notices contained
          within such NOTICE file, excluding those notices that do not
          pertain to any part of the Derivative Works, in at least one
          of the following places: within a NOTICE text file distributed
          as part of the Derivative Works; within the Source form or
          documentation, if provided along with the Derivative Works; or,
          within a display generated by the Derivative Works, if and
          wherever such third-party notices normally appear. The contents
          of the NOTICE file are for informational purposes only and
          do not modify the License. You may add Your own attribution
          notices within Derivative Works that You distribute, alongside
          or as an addendum to the NOTICE text from the Work, provided
          that such additional attribution notices cannot be construed
          as modifying the License.

      You may add Your own copyright statement to Your modifications and
      may provide additional or different license terms and conditions
      for use, reproduction, or distribution of Your modifications, or
      for any such Derivative Works as a whole, provided Your use,
      reproduction, and distribution of the Work otherwise complies with
      the conditions stated in this License.

   5. Submission of Contributions. Unless You explicitly state otherwise,
      any Contribution intentionally submitted for inclusion in the Work
      by You to the Licensor shall be under the terms and conditions of
      this License, without any additional terms or conditions.
      Notwithstanding the above, nothing herein shall supersede or modify
      the terms of any separate license agreement you may have executed
      with Licensor regarding such Contributions.

   6. Trademarks. This License does not grant permission to use the trade
      names, trademarks, service marks, or product names of the Licensor,
      except as required for reasonable and customary use in describing the
      origin of the Work and reproducing the content of the NOTICE file.

   7. Disclaimer of Warranty. Unless required by applicable law or
      agreed to in writing, Licensor provides the Work (and each
      Contributor provides its Contributions) on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
      implied, including, without limitation, any warranties or conditions
      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
      PARTICULAR PURPOSE. You are solely responsible for determining the
      appropriateness of using or redistributing the Work and assume any
      risks associated with Your exercise of permissions under this License.

   8. Limitation of Liability. In no event and under no legal theory,
      whether in tort (including negligence), contract, or otherwise,
      unless required by applicable law (such as deliberate and grossly
      negligent acts) or agreed to in writing, shall any Contributor be
      liable to You for damages, including any direct, indirect, special,
      incidental, or consequential damages of any character arising as a
      result of this License or out of the use or inability to use the
      Work (including but not limited to damages for loss of goodwill,
      work stoppage, computer failure or malfunction, or any and all
      other commercial damages or losses), even if such Contributor
      has been advised of the possibility of such damages.

   9. Accepting Warranty or Additional Liability. While redistributing
      the Work or Derivative Works thereof, You may choose to offer,
      and charge a fee for, acceptance of support, warranty, indemnity,
      or other liability obligations and/or rights consistent with this
      License. However, in accepting such obligations, You may act only
      on Your own behalf and on Your sole responsibility, not on behalf
      of any other Contributor, and only if You agree to indemnify,
      defend, and hold each Contributor harmless for any liability
      incurred by, or claims asserted against, such Contributor by reason
      of your accepting any such warranty or additional liability.

   END OF TERMS AND CONDITIONS

   APPENDIX: How to apply the Apache License to your work.

      To apply the Apache License to your work, attach the following
      boilerplate notice, with the fields enclosed by brackets "[]"
      replaced with your own identifying information. (Don't include
      the brackets!)  The text should be enclosed in the appropriate
      comment syntax for the file format. We also recommend that a
      file or class name and description of purpose be included on the
      same "printed page" as the copyright notice for easier
      identification within third-party archives.

   Copyright [yyyy] [name of copyright owner]

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.