executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
video-minutes智能视频纪要生成器:从视频音频生成结构化纪要 —— 提取语音、生成字幕、自动分类(会议/课程/访谈/演讲/播客/教程/备忘),输出核心要点、行动项与 @tags 任务分发,支持 Markdown/Obsidian/Notion/飞书。支持本地视频 (.mp4/.mov/.mkv/.avi)、Zoom/腾讯会议录制、YouTube/B站链接。触发词:处理视频、生成视频纪要、视频纪要、视频转文字、视频总结、提取视频字幕、视频转笔记、总结这个视频、会议录像整理、网课笔记、视频内容提取、录屏整理、直播回放分析、培训视频归档。Do NOT use when:仅需视频转文字无总结(直接用 whisper)、视频无音频轨道或音频质量极差、需要实时视频流处理(须先录制)、视频时长超过 4 小时(建议先分段)。
Independent GitHub snapshot · Automated classification · Original documentation governs
把一段视频转成一份可直接使用的结构化纪要:提取音轨、ASR 转录、按视频类型套用模板,
产出要点、时间线与行动项,并把行动项按 @tags 派发给对应 skill。技能的价值在于
分类正确、模板选对、行动项可追踪,而不是把语音原样抄成文字。
video-dubbing。image-design / mckinsey-cover。scripts/config_manager.py 的优先级查找
./.opencode/skills/video-minutes/config.yaml -> ~/.opencode/skills/video-minutes/config.yaml
-> legacy ~/.video-minutes-config.json。命中则读取;命中 legacy 则迁移;全部未命中时
必须先完成首次设置向导并等待用户回答,否则不得继续。详见
references/config/first-time-setup.md。--type 就用它;否则运行分类器,把检测到的类型和置信度
明确告知用户,再继续。## Scripts)。output_path 打开纪要,确认要点、时间线、行动项非空且
与字幕一致;缺项时回退到类型模板补齐,不要编造视频中不存在的内容。@tags 展示给用户,等确认后再派发;目标 skill 不可用时
降级为本地 TODO 清单(见 references/task-dispatch.md)。present_files 展示生成的纪要文件,并附一句类型、时长与输出路径说明。视频类型路由(--type auto 时由分类器判定,模板位于 references/templates/):
| 类型 | 识别特征 | 输出重点 | 模板 |
|---|---|---|---|
meeting | 多人、任务分配、决策 | 决议 + 行动项负责人 + 时间节点 | meeting.md |
lecture | 单/双主讲、知识点密集 | 知识图谱 + 章节 + 重点摘录 | lecture.md |
interview | 问答、双方观点 | Q&A 整理 + 观点对比 | interview.md |
presentation | PPT、数据展示 | 金字塔论点 + 关键数据 | presentation.md |
podcast | 轻松对话、话题跳跃 | 话题索引 + 金句 + 高光片段 | podcast.md |
tutorial | 步骤演示、屏幕录制 | 步骤清单 + 截图提示 + 踩坑点 | tutorial.md |
note | 自言自语、碎片想法 | 格式化文本 + 标签 + 待办 | note.md |
其余分流:
note,并向用户说明可手动指定 --type。--transcript-only,产出 <视频名>-transcript.txt。--model(如 small/medium/large)。--segment-duration 1800 分段。references/background.md。--format markdown|obsidian|notion|lark,落盘细节见
references/output-formats.md。content-publisher/cron/gcal/calendar/image-gen/agent-swarm
等兄弟技能多数环境未安装,缺失时只输出本地 TODO,不得声称已派发。dispatch.auto_dispatch_tags(默认 @reminder)
或用户显式 --skip-confirm,否则先征求确认。references/templates/<type>.md,不要散落到别处。note,不要套错模板。交付前逐项确认:
--type 显式指定。output_path 存在且可打开;类型、时长与文件名一致。output.directory,默认
~/Documents/video-minutes),含摘要、要点、时间线、行动项与可选折叠字幕。output_path 实际存在;内容可回溯到 ASR 字幕;文首记录类型与置信度;
未分发项以本地 TODO 形式列出。按需加载,不要预先全读:
references/video-types.md — 需要理解或调整分类结果、查看分类维度与时长区间时读。references/task-dispatch.md — 要把行动项派发出去、或判断某数据源是否被支持时读。references/output-formats.md — 用户切换 Markdown/Obsidian/Notion/飞书,或要确认落盘路径与命名时读。references/transcription-engine.md — 需要换模型、调精度、排转录失败、装依赖时读。references/background.md — 用户问版本差异、能力边界,或要评估是否值得走完整流水线时读。references/config/config-schema.md — 要逐项修改 config.yaml、确认字段默认值时读。references/config/first-time-setup.md — 命中"未检测到配置"分支、需要执行设置向导时读。references/templates/meeting.md、references/templates/lecture.md、references/templates/interview.md、references/templates/presentation.md、references/templates/podcast.md、references/templates/tutorial.md、references/templates/note.md — 生成对应类型纪要时由脚本按 video_type 取用;仅在查看或修改某类型版式时人工打开。<skill>/scripts/generate_minutes.py — 主入口。用法
python3 <skill>/scripts/generate_minutes.py <视频路径> [--type T] [--language zh] [--model medium] [--format obsidian] [--transcript-only] [--batch] [--segment-duration 1800] [-o 输出] [--no-dispatch|--skip-confirm] [-v];
返回处理结果字典,含 output_path、transcript、action_items。<skill>/scripts/video_processor.py — 被主入口调用的流水线协调器(抽音轨 -> 转录 -> 分类 ->
套模板 -> 存盘 -> 提行动项);一般不由人直接运行。<skill>/scripts/insanely_fast_transcriber.py — faster-whisper 封装;
python3 <skill>/scripts/insanely_fast_transcriber.py <音频文件> 可独立转录并打印结果。<skill>/scripts/classifier.py — 启发式类型分类器,返回 {type, confidence, reasoning, scores}。<skill>/scripts/config_manager.py — 配置加载/保存/校验与录制目录探测;被主入口自动调用。<skill>/scripts/dispatcher.py — 行动项解析与 @tag 分发;dispatch_batch() 批量派发,
未实现的目标返回 success: false。HF_ENDPOINT=https://hf-mirror.com 后重试。ffprobe 检查音轨;确认 ffmpeg 已安装。--type,或调整 classification.confidence_threshold。--segment-duration 1800。references/transcription-engine.md。video-dubbing — 视频翻译 + 配音 + 双语字幕,本技能不做配音。transcribe — 纯转录、无总结;只需文字时优先它。mlx-tts — 本机 TTS,可为纪要生成语音摘要。content-publisher / cron / gcal / agent-swarm — 可选分发目标,缺失时降级为本地 TODO。