1仕組みと動作原理
実体は「統括型」のオーケストレーションプロンプト:自身はスクリプトを一切含まず、各ステップを専門スキルに委任することで編集パイプライン全体を実行。単一の要望は対応する専門スキルへ直接ルーティングする。
Use for a complete edit; route a single requested operation directly to its specialist skill.
ステップ1でメディアの事前調査と元ソースの保護を実施:ffprobe で尺・ストリーム・解像度を調査し、元動画はプロジェクトの assets に複製するか、指定されたローカルパスのみを参照する。
1. Inspect duration, streams, and source resolution with ffprobe. Copy the source into the project's assets or reference an explicitly provided local path.
ステップ2が唯一の外部サービス連携ポイントであり、「コストドキュメントの事前確認 → 既存の文字起こしの再利用 → その後初めて外部サービスの利用を検討 → 未承認時はアップロードと費用について事前説明」という厳格な順序を規定。
2. Read `docs/TOOLS-AND-API-KEYS.md` before service setup. Reuse a matching word transcript. Otherwise use the student's chosen provider; Nate defaults to `node scripts/transcribe-elevenlabs.mjs <source>`. OpenAI Whisper and local Whisper are supported workflow alternatives after transcript normalization. Check available credentials or local dependencies. Explain uploads and costs before any service call whose authorization is still missing.
カット編集フェーズは明示的に2段階に分割:まず ../cut-silences/SKILL.md に従ってEDLとリタイムされた文字起こしを出力し、次に ../cut-mistakes/SKILL.md に基づいてレビュー形式の言い間違いカットを行う。
3. Read `../cut-silences/SKILL.md`. Produce an EDL and a retimed transcript, and render the silence pass when editing is authorized. … 4. Read `../cut-mistakes/SKILL.md`. Inspect candidates in context and preserve intentional emphasis.
モーショングラフィックスフェーズも同様に委任:視覚的なアークは video-storytelling、オーバーレイ/ビートは hyperframes-video-beats に委任し、「ビートシートの作成 + 1ビートにつき1つの視覚的アイデア + 意図的な伏線回収」のアウトプットを要求。
5. Read `../video-storytelling/SKILL.md` for the visual arc and `../hyperframes-video-beats/SKILL.md` for overlays. Write a beat sheet with transcript anchors, one visual idea per beat, and deliberate callbacks.
品質ゲートは2重構成:まず preflight + HyperFrames lint + 文字起こし同期バリデータを実行し Studio でプレビュー確認。その後ドラフトレンダリングを行い、フレーム抽出による映像確認とカット境界の聴取確認を実施。
7. Run preflight and HyperFrames lint from the project, plus the transcript-sync validator for anchored sub-compositions. Review Studio before the draft. … 8. Render a draft, inspect encoded frames and transitions, and listen across cut boundaries.
納品物は単一ファイルではなく成果物一式:完成動画のパス、カット編集決定内容、リタイムされた文字起こし、composition、および「何を検査し、どのような制約が残っているか」を記した VERIFY.md。
Deliver the final MP4 path, edit decisions, retimed transcript, composition, and `VERIFY.md` describing what was checked and any remaining limitations.
2コア機能
3外部依存関係
| Kind | Dependency / Endpoint |
|---|---|
| cli | ffprobe(媒体摸底:时长/流/分辨率) |
| api | ElevenLabs Scribe(默认转录服务;经仓库级 helper 上传音频取词级时间戳) |
| api | OpenAI Whisper API(替代云转录;自带 key 与计费) |
| api | Kie.ai(可选生成式 B-roll/图像素材服务,作者自述偏好而非必需) |
| cli | HyperFrames CLI(preflight / lint / preview / render,路径与用法由 ../hyperframes 与 ../hyperframes-cli skill 指路) |
| package | Node.js + 仓库级脚本(transcribe-elevenlabs.mjs、validate-beat-sync.mjs、preflight 系列) |
| network | HyperFrames Studio(本地预览服务器,渲染前人工审看) |
4推奨統制措置と判定根拠
- scripts/: ローカルスクリプトまたはコマンドの実行: 本スキル自体にはスクリプトは0件(ディレクトリ内には SKILL.md のみ、find -type f で確認済み)
- 网络端点: 外部ネットワークアクセスの宣言: 実行時:ElevenLabs 文字起こしアップロード —— 音声を api.elevenlabs.io へPOST送信(リポジトリレベルのヘルパー経由、SKILL.md ステップ2)
- 本地工作目录: ファイル読み書きおよび成果物出力: video-projects/<slug>/ 配下のプロジェクトファイル(元動画の複製、assets/、BRIEF.md または DESIGN.md、composition)
5二重目の独立検証
- [ok] 目录文件清单(是否真的无脚本) — find .claude/skills/edit-video -type f 仅返回 SKILL.md;无 scripts/、无 agents/、无隐藏文件。
- [ok] 被引用路径是否真实存在 — 仓库内存在 .claude/skills/{cut-silences,cut-mistakes,video-storytelling,hyperframes-video-beats,hyperframes,style-library}/SKILL.md、docs/TOOLS-AND-API-KEYS.md、MOTION_PHILOSOPHY.md、scripts/transcribe-elevenlabs.mjs —— 委派链与文档依赖均非空指。
- [ok] 转录 helper 的凭证与端点(橙档证据) — scripts/transcribe-elevenlabs.mjs 定位到:ELEVENLABS_API_KEY 三别名 env 读取 + .env 兜底、POST https://api.elevenlabs.io/v1/speech-to-text、请求头 xi-api-key、timestamps_granularity=word、ffmpeg 抽 16kHz 单声道 mp3 上传。
- [ok] 「可选服务」是否被误判为主线 — Kie.ai 在 docs 中被标为 Optional,且明确 the kit does not bundle a universal Kie generation script;本 skill 的 SKILL.md 未直接点名 Kie,只写『学生自选 provider』——已按可选路径写入 external_deps 并在 reason 里附条件说明。
- [ok] 自动化边界是否夸大 — SKILL.md 末句 『An automated detector proposes edits; editorial judgment remains necessary.』,与 cut-mistakes 的 review-gate 设计一致,无夸大。
- [ok] 红档特征反查 — 全文无 sandbox 关闭、无 --no-verify/TLS 降级、无 AutomationControlled/反爬绕过、无下载并执行远端代码的指令;渲染与校验均为本地 CLI。
6結論
ec3a3991479999f4…