Communitygithub.com

SrigadaAkshayKumar/ai-video-editor

ナレーション音声を、顔出し不要のYouTube 16:9 および Instagram 9:16 のドキュメンタリー/解説動画に仕上げます。ナレーションの無音カット、演出(ストーリー構造、緊張曲線、フック、没入ビート)、主張の調査と実際のソースのスクリーンショット、ストック映像・静止画・ニューススクリーンショット・モーショングラフィックスを用いたシーントラックの計画、音楽・効果音の設計、レンダリング、字幕、クレジットまでを自動実行します。ユーザーが「顔出しなし動画」「このVOから動画を作って」「ドキュメンタリー風に」などと依頼したときに使用します。

ai-video-editor とは?

このスキルは、ナレーション音声とスクリプト(または音声のみ)から、顔出し不要のドキュメンタリー風・解説動画を完全自動生成するための高度なエージェントです。対応プラットフォームはClaude CodeなどのターミナルベースのAIエージェントで、`npm` コマンドを活用したツールチェーンで動作します。ユーザーは音声ファイルとスクリプトを `inbox/faceless/` に配置し、スタイルの指定(例:「テンポ良く、ミステリアスに」)を渡すだけで、スキルが自動的にトランスクライブ、無音カット、演出設計、主張の調査とソースキャプチャ、シーンの構成(ストック映像、静止画、ニューススクリーンショット、モーショングラフィックス)、音楽と効果音の計画、レンダリング、字幕、クレジット生成までを実行します。演出段階では、緊張曲線(ノコギリ波状)、フック、没入ビート、リサーチリストなどを構造化JSONで設計し、ユーザーに確認を促す「レビューゲート」が設定されています。これにより、低品質なレンダリング前に方向性を修正でき、コストを大幅に削減します。さらに、各主張に対して実際のWeb検索とスクリーンショットキャプチャを行い、信頼性の高いソースを視覚的に示すことができます。最終出力は16:9と9:16の両形式に対応し、YouTubeやInstagramへの投稿準備が整います。

対応✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/SrigadaAkshayKumar/ai-video-editor/tree/HEAD/.claude/skills/edit-video-faceless

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

edit-video-faceless — 音声→ドキュメンタリー

あなたは監督であり編集者です。このビデオでは誰の顔も映りません。すべての秒、すべての緊張のビート、そして視聴者が30秒後も見続ける理由は、すべてあなたの判断に委ねられています。スクリプトは素材として扱い、仕様書としては扱わないでください。docs/lessons.md を最初に読んでください。メカニクス(レンダリング、キャプション、ミックス、ファイナライズ、検証)は edit-video と同じです。そのアーキテクチャセクションも読んでください。

ここではレビューゲートがデフォルトでオンです(このテンプレートを教えた経験から、レンダリング後にドキュメンタリーを修正するより、演出段階で方向転換する方がはるかにコストが低いことがわかっています)。演出段階とシーン段階の後で止めてユーザーに表示します。ユーザーが「そのまま実行して」と言った場合のみゲートをスキップします。

0. 受け付け

ユーザーはスクリプトとそのナレーション音声を inbox/faceless/ にペアで置きます — script-1.txt(または .md/.docx)と script-1-audio.mp3(または .wav/.m4a)— そして「script-1 と script-1-audio を使って」と言います(「/script-1」と書かれる場合もあります。スラッシュは削除します)。npm run inbox で何が待機中で、ファイルがどのようにペアになっているかがわかります。

npm run new -- script-1-audio --script script-1 --brief "<ユーザーのスタイル指定をそのまま>" [--lang te|hi|en] (スクリプトは <x> / <x>-audio という名前でペアリングされます。プロジェクト名はスクリプト名になります)。 プロンプト内のスタイル指定がブリーフです — edit-video の「スタイルブリーフ→設定」テーブルとマッピングしてください。ユーザーが明示しない限り、ブランドやチャンネルは使用しません(config/brands/、--brand、--intro/--outro)。

スクリプトが信頼できる情報源です(source/script.txt):ナレーターが言おうとした内容です。

  • 何よりも先にスクリプト全体を読んでください — それによってコンセプト、議論、主張を理解します。演出(ステージ2)はスクリプトと音声の実際の読み上げの両方から構築されます。
  • transcribe は発話をスクリプトに合わせます → work/script-diff.md を生成:余分な発話(読み直し、言い間違い、つまずき、アドリブ — 削除候補。2回読んだラインは最初のテイクがリストアップされます)、スクリプトにあるが発話されなかったパッセージ(ユーザーに伝えます)、および提案されるキャプションのtextFixes(ASRのスペルミス → スクリプトのスペル。edl.json → textFixes に貼り付けます。特に固有名詞やテルグ語/ヒンディー語の単語)。
  • スクリプトの固有名詞は自動的に音声認識のキータームとして渡されます。
  • スクリプトがない場合? あると便利だと伝え(アライメント、スペル)、トランスクリプトのみで続行します。 B-rollキー(PEXELS_API_KEY または PIXABAY_API_KEY)が必要です。ない場合は、グラフィックと静止画シーンのみを計画し、その旨を先に伝えます。音楽/効果音にはキーは必要ありません。

1. 文字起こし + クリーンカット

npm run transcribe -- <p> を実行し、work/script-diff.md を読み、次にクリーンカットスキルのナレーションルールに従います:無音部分は強めにカット、再読行の最後の完全なテイクを保持、読み上げのアーティファクトをカット、公開前の保持ビート(0.35〜0.55秒) は EDL の "holds" として保持、すべての息を削除しないでください。修辞的な質問(視聴者への)はカット理由に記録します — それらは没入ビートになります。npm run cut -- <p> を実行します。

2. 演出 — 最も重要な段階 → work/direction.json

何かを書く前に、クリーンカット後のスクリプト全体(work/cleancut.transcript.md)を読んでください。既にそこにあるものを見つけてください:

  • 約束 — 最初の20秒が暗黙のうちに約束するもの。転換点 — 明白な答えが答えでなくなる瞬間(緊張曲線の背骨)。見返り — 視聴者が最後に知るもの。見返りを一文で述べられない? risks に入れてユーザーに伝えてください。
{
  "logline": "…", "promise": "…", "turn": { "time": 7.9, "what": "…" }, "payoff": "…",
  "register": "investigative | explainer | cautionary | celebratory",
  "chapters": [ { "index": 0, "start": 0, "end": 46.2, "title": "主張", "job": "…", "tension": 0.6, "grade": "cool" } ],
  "tension_curve": [ { "time": 0, "level": 0.6, "why": "…" } ],
  "hooks": [ { "time": 0, "kind": "cold_open|open_loop|payoff|hype", "note": "…" } ],
  "involvement": [ { "time": 132, "kind": "poll|direct_question", "question": "…", "options": ["A", "B"] } ],
  "research": [ { "claim": "…", "time": 151, "search": "…", "priority": "high|low" } ],
  "music": [ { "start": 0, "end": 46.2, "mood": "cold tension", "energy": "bed|build|drive|tense|release|sting" } ],
  "risks": [ "…" ]
}

絶対条件:

  • 緊張はノコギリ波状であり、一定レベルではありません:少なくとも60〜90秒ごとに谷(≤0.3)があります。最高点は終わりではなく転換点にあります。緊張はスクリプト自体の素材(未解決の質問、合わない数字など)から生まれるものであり、普通の文に赤いフラッシュを重ねることで作るものではありません。
  • ハイプにはコストがかかります:各チャプターに最大1つの hype フック。説明チャプターにはなし。
  • 開かれたすべてのループには配置された見返りがある、さもなければ開かないでください。
  • 没入:動画あたり2〜4回、最初の25秒以内にはなし、転換点にもなし、視聴者がこれまでに伝えられたことから答えられるもの。投票バーはレトリックであり、データではありません。
  • リサーチリスト=実際に確認可能な主張のみ(数字、日付、組織名、引用)。ソース化不可能なもの → risks に記載し、スクリーンショットなしで述べます。
  • 5〜12分で3〜6チャプター。音楽は曲線に従います(ベッドの変更はイベントです — 見出しではなく転換点で)。最も重要なラインには少なくとも1つの無音ギャップを計画します。

ゲート: ログライン、チャプターとその役割、転換点の位置、曲線の形状、没入ビート、優先順位付きのリサーチリスト、ソース化できないものを表示します。

3. 主張の調査

各 research エントリについて:キュレーターサイトではなく、一次情報源(最初に報じたメディア、省庁/企業の文書)を WebSearch で検索します。正確なURL、メディア名、公開時の見出し、ページ上で確認した日付を記録します(検索スニペットは日付を間違って表示することがあります)。絶対にソースを捏造したり、見出しを調整したり、ある記事を別の主張に結び付けたりしないでください。検証に失敗した主張はその旨を伝え、代わりにグラフィックを計画します。

4. シーン + モーショングラフィックス → work/visual-plan.json(scenes + overlays + camera_moves)

motion-graphics スキルの語彙と検証を使用します。顔出しなし特有の注意点:

  • scenes は0から終わりまで連続しています(検証済み)。種類:broll(具体的な映像クエリ — 「サーバールーム 暗い」、「機会」ではなく)、still(写真、ケンバーンズ効果)、news(url、source、headline、date、オプションで highlight / highlight_portrait 矩形)、graphic(映像なし — アクセントフィールド。データ、定義、大きな主張に適切なファーストクラスの選択肢)。
  • 最初のラインの上に title_slide で始めます(フレーム0で読めること — 音声を遅らせてはいけません)。動画が長い場合は speed_hint を約4〜7秒に設定します。
  • 最初の約60秒は後半の2倍の速さでカットします:2〜3秒のシーン、ラインごとに視覚的なビート。後半は4〜9秒、変化をつけます(6秒のシーンが3回続くと単調です)。約12秒を超えると映像が死にます。
  • ストック映像は、固有名詞やイベントを描写しているように見えてはいけません。 実際の主張には news シーンまたはグラフィックを使用します。
  • ナレーションで言及されるすべての数字は画面上に存在します(number_roll、stat_trio、bar_chart、progress_ring)。オーバーレイ密度:約3〜4秒ごとに1ビート。テキストのみタイプは全体の3分の1以下にします。
  • news シーンの上にリフレーミングオーバーレイを決して重ねないでください(検証済み)— 引用記事がサムネイルサイズに縮小されてしまいます。ニュースの上には keyword_chip/side_note/annotation のみ、見出しから外して配置します。
  • 各チャプターの開始時に chapter_open、各投票ビートに poll_prompt。グレードは緊張に従います(≤0.3 neutral/warm · 0.3-0.6 cool · 0.6-0.85 cool/noir · >0.85 noir/hot)。flash は動画あたり2回まで。
  • アセット:npm run broll -- search <p> "query" [--photos] → サムネイルを読んで get。npm run news -- capture <p>(デスクトップ + モバイルショット)→ すべてのPNGを読んで(クッキーウォール?ペイウォール?404?)、見たものから highlight を設定。ブロックされた場合 → Chromeでキャプチャ(claude-in-chrome:新しいタブ、必須でないクッキーを拒否、save_to_disk)し、npm run news -- adopt <p> <url> <png> [--portrait] を実行します。
  • npm run visuals -- <p> --check を実行し、次に --stills を両方のフォーマットで実行して、それらを読んでください。

ゲート: 種類別のシーン数、平均シーン長、実際のスクリーンショットがある主張(メディア名)、ファミリー別のオーバーレイ数、誠実さのためにグラフィックに格下げされたもの。

5. サウンド → work/audio-plan.json

sfx + bgm スキル。ベッドがないと顔出しなし動画はスライドショーのように聞こえます:3〜5の異なるムード、一度に1つのベッド、キーラインに計画された無音ギャップ、見返りのライン自体には効果音なし。すべてのベッドを監査します(タイトルがムードに合っているか、再生時間が music_start + キューの長さ以上か)。音を聞くことはできません — その旨を伝えてください。

6. レンダリング、キャプション、ファイナライズ、検証、クレジット

npm run visuals → npm run scaffold → npm run mix → npm run finalize → npm run verify (両方のシートを読んでください:シーン種類ごとに1フレーム、結合部分、カット境界のキャプション)。 output/credits.md は SOURCES ブロックを保持します — 見出しが表示される場合、説明文に必須です。

レポート

出力パス。生→最終の尺とカット数。チャプターリストと転換点の位置。種類別のシーン数。ソース化された主張(およびできなかったもの)。オーバーレイ/SFXの数。使用したベッド。検証したものと、ユーザーの目と耳による確認が必要なもの。クレジットのリマインダー。/youtube-metadata と /youtube-thumbnail を提案します。

Individual skills in this repo

This repo contains 9 individual skills — each has its own dedicated page.

SrigadaAkshayKumar/ai-video-editor

Turn a finished AI-edits video (projects/<p>, or several parts of one long video) into YouTube Shorts. Reuses the edit's word timestamps, reads the whole transcript, picks self-contained dialog moments, adds text hooks + comment prompts, renders 9:16 clips with Remotion. Use when the user asks to clip/make shorts from an edited project or a long video.

SrigadaAkshayKumar/ai-video-editor

Choose, fetch and place background music for an edit — Openverse search (commercial-use CC, or CC0-only), music_cues in work/audio-plan.json with fades, offsets and a deliberate silence gap; tools/mix.mjs conditions every bed, sets it to one measured house level under the voice and sidechain-ducks it. Use when adding, swapping or re-levelling music.

SrigadaAkshayKumar/ai-video-editor

Generate and style word-synced captions (Telugu, Hindi, English, code-mixed) as the HyperFrames captions pass over each format's Remotion picture, fix caption text, black captions out under on-screen text, and check caption content at every cut join. Use when creating, restyling, correcting or repositioning captions in any edit.

SrigadaAkshayKumar/ai-video-editor

Editorial rules for turning a raw talking video or voiceover into a clean cut — removing retakes, repetitions, false starts, stutters, fillers, mispronounced words, contradictions/inconsistencies, off-script chatter and dead air — by writing work/edl.json for tools/cut.mjs. Telugu, Hindi, English and code-mixed speech. Use for stage 2 of edit-video or whenever the user asks to tighten/re-cut a video.

SrigadaAkshayKumar/ai-video-editor

End-to-end editor for TALKING-HEAD videos (a person on camera) in this repo. Use when the user hands over a raw video with a speaker and wants a finished edit, or asks to continue/resume/redo any stage of an existing talking-head project — clean cut, motion graphics, b-roll, SFX, music, captions, final render, thumbnail. Delivers YouTube 16:9 and Instagram 9:16. Telugu, Hindi, English and code-mixed speech. For a voiceover with no presenter use edit-video-faceless.

SrigadaAkshayKumar/ai-video-editor

Plan the picture of an edit in work/visual-plan.json — motion graphics (28 component types across six stage layouts that dock/shrink/dim the video), b-roll cutaways from Pexels/Pixabay, camera moves, a-roll framing for 9:16 — validate it, QA it with stills in both formats, and render it with Remotion. Use for any titles, charts, stats, lower thirds, diagrams, b-roll or zooms in a talking-head or faceless edit.

SrigadaAkshayKumar/ai-video-editor

Design the sound effects of an edit in work/audio-plan.json sfx_events — which effect, where, how often — using the measured SFX library (repo assets/sfx, HyperFrames' bundled set, CC0 fetches from Openverse) and the spectral rule that sub-band cues carry structure while vocal-band cues are rationed. Mixed and levelled by tools/mix.mjs. Use when adding or adjusting SFX in any edit.

SrigadaAkshayKumar/ai-video-editor

Write the upload package for a video this repo edited — YouTube title options, description with chapters, tags, pinned comment, thumbnail text, and the Instagram Reels caption + hashtags for the 9:16 cut — optimised for whichever channel/client the user says it is for (config/brands/ profiles, only when named). Use when the user asks what to title a video, for a description, tags, chapters, "the YouTube metadata", an Instagram caption, or SEO/CTR advice on a finished render.

SrigadaAkshayKumar/ai-video-editor

Design and build a high-CTR thumbnail for a video this repo edited — hook selection, the real face frame pulled from the footage, background cut-out, type set with real fonts (Telugu/Devanagari included), the YouTube 1280x720 thumbnail and the Instagram 1080x1920 cover, an optional image-generation prompt for the background layer, and a feed-size legibility check. Use when the user asks for a thumbnail, thumbnail ideas, a cover image, or how to make the thumbnail more clickable.

関連スキル