Communitygithub.com

SrigadaAkshayKumar/ai-video-editor

エディット内のサウンドエフェクトを設計 – work/audio-plan.json の sfx_events で、測定済みSFXライブラリ(リポジトリ assets/sfx、HyperFrames バンドルセット、Openverse からの CC0 取得)とスペクトルルール(サブバンドキューは構造を支え、ボーカルバンドキューは制限)を用いて、どのエフェクトを、どこに、どの頻度で配置するかを定義。tools/mix.mjs でミックス・レベル調整。SFX の追加や調整の際に使用。

ai-video-editor とは?

このスキルは、AI ビデオエディターにおいて `work/audio-plan.json` の `sfx_events` 配列を通じてサウンドエフェクト(SFX)を設計・配置するためのルールセットとワークフローを提供します。事前に測定された SFX ライブラリ(リポジトリ内の `assets/sfx`、HyperFrames バンドル、OpenverseからのCC0素材)を利用し、`tools/mix.mjs` で自動ミックス・レベル調整が行われます。核となるルールは「効果はあっても煩わしくない」ことで、サブバンド(120Hz以下)の SFX(sub_drop, impact, riser)が構造を支え、ボーカルバンドの SFX(pop, click, whoosh など)は会話を妨げないように厳しく制限されます。配置ルールとしては、同一エフェクトの連続使用禁止(4秒以内)、全キューの1/3を超える単一エフェクト禁止、0.35秒以内の重複禁止、チャプターオープン内や決めゼリフの直上への SFX 禁止など、精密なガイドラインが定義されています。このスキルは Claude Code、Cursor、Codex などの AI エージェントで利用可能で、`npm run sfx` コマンドで SFX の一覧表示や新しい CC0 SFX の取得ができ、最終的には `npm run mix` で完成したミックスが生成されます。ユーザーは実際に聞いて違和感のある SFX を報告する必要があります。

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

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

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

ドキュメント

sfx — work/audio-plan.json → sfx_events

{ "sfx_events": [ { "time": 19.8, "sfx": "sub_drop", "reason": "dock-in for the checklist cluster at 20.3" },
                  { "time": 24.2, "sfx": "impact", "gain": 0.8, "reason": "big_statement 'On paper, the jobs exist'" } ] }

明確な時間指定。sfx は名前です(npm run sfx -- list [<p>] で全ての SFX を長さとバンドと共に表示)。 gain はキューをさらに 下げる 方向にしか使えません。レベルは 測定 され、選択されるものではありません。すべてのエフェクトは、ナレーションに対して約14 dB下、ピーク天井、短い過渡のフロア、長さトリミングを行って配置されます(tools/mix.mjs、work/levels.json 参照)。レベルをゲインの推測で「修正」しないでください。

唯一のルール:効果はあっても煩わしくない

テンプレートによって測定されました:会話は約81%が300-3400 Hzに存在します。声の上に乗るキュー(whoosh、pop、click、ding)はどんな音量であれ全ての単語と競合します。一方、声の下に潜むキュー(sub_drop、impact、riser:ここでは74-100%が120Hz以下)は感じ取れても音声を隠すことはありません。ノイズの多いスワイプは音量を下げても修正できませんでした — サブバンドキューに置き換えられました。したがって:

サブバンド — 構造を支える

  • sub_drop — 再構成の合図:ドック/コーナー/バンドクラスターの 最初の オーバーレイの約0.5秒前、およびクラスター終了時に1回。クラスターあたり1ペア。チャートごとには使用しません。
  • impact — 決めゼリフを強調:big_statement/word_swap、約6~8個の本当の転換点のみ。
  • riser(1.7秒) — chapter_open に向けて盛り上げる:開始 = チャプター開始 − 1.5秒。動画あたり4~5回以下。
  • 追加:impact-bass-1/2、whoosh-cinematic(HyperFrames セット)。

ボーカルバンド — 制限あり

  • pop、click — クラスター内の個別の出現を強調、keyword_chip/annotation。多くの出現は無音のままにします。
  • ding — チェックリストの「はい」/解決したポイント。多くても数回。
  • whoosh — 動きのみ(whip/flash Bロールの登場)、他の whoosh から約6秒以内には配置しません。
  • typing — term_card またはコード表示の下のみ。clock_tick、glitch、reveal — その瞬間が文字通りのものである場合のみ。

他に必要なものがあれば:npm run sfx -- fetch <p> <name> ["literal query"] で Openverse から CC0 ワンショットを取得します。その後 npm run sfx -- list <p> でそのバンドを確認してから使用します。動画全体で 6~10種類の異なるエフェクト に抑えてください。

配置

  • 2つのキューを0.35秒以内に配置しない。同じキューを約4秒以内に配置しない。単一エフェクトが全キューの約3分の1を超えない(チック化する — mix.mjs が警告)。
  • 動きのキューは映像に従い、アクセントキューは意味に従う。 一つの瞬間に一つのキュー — 同じトランジションにスワイプと whoosh 両方を決して使わない。
  • chapter_open ウィンドウ内に SFX を配置しない。ただしそのウィンドウに入る riser は除く。決めゼリフ自体に SFX を乗せない — セリフはドライに置き、その後ろのグラフィックにキューを配置する。
  • 予算:約1キューあたり8~10秒(トーキングヘッド)、約1キューあたり4~6秒(顔なし:モンタージュでは密集、長い落ち着いた説明ではほぼ無音)。オーバーレイの約半分以上にキューが乗っている場合は、数を減らす。

npm run mix -- <p> で work/mix.wav をビルドします(プランが変わると自動的にリミックスが確定されます)。 自分では聞けません — ユーザーに SFX が違和感なく配置されているかどうかを聞くよう伝えてください。

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

Turns a bare voiceover (no presenter on camera) into a finished faceless documentary/explainer for YouTube 16:9 and Instagram 9:16 — clean-cuts the narration, DIRECTS it (story spine, tension curve, hooks, involvement beats), researches the claims and screenshots the real sources, plans a scene track (stock b-roll, stills, news screenshots, pure-graphic beats) with motion graphics, designs music + SFX, renders, captions and credits it. Use when the user gives a voiceover/narration file (or says "faceless video", "make a video from this VO", "documentary").

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

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.

関連スキル