本文へ移動
cccskills
無料GitHub で公開

premiere-skills

Premiere Pro 動画編集ワークフローを Claude Code で自動化するスキル集。

/cut は Premiere Pro XML の無音・雑音区間をジェットカット、/srt は WAV+Premiere XML から日本語テロップ用 SRT を並列Whisper→LLM意味区切り→全体アライメントSRT の3ステップ(v6)で生成、/srt-fast は改行工程まで3チャンク並列化した高速版、/telop-check は書き出し済みMP4を全編スキャンしてテロップの数字表記・誤字脱字・い抜き・ら抜き・固有名詞ミスを検出する。

faster-whisper / ffmpeg / Premiere Pro を要するローカル実行型。日本語トーク動画のショート / ロング編集向け。

インストール方法を見る

含まれるファイル(39)

  • SKILL.md7.8 KB
  • .agents/plugins/marketplace.json367 B
  • .claude-plugin/marketplace.json550 B
  • .claude-plugin/plugin.json957 B
  • .codex-plugin/plugin.json1.2 KB
  • .gitignore246 B
  • .grok-plugin/plugin.json581 B
  • CLAUDE.md518 B
  • commands/cut.md7.6 KB
  • commands/srt-fast.md17.6 KB
  • commands/srt.md7.3 KB
  • commands/telop-check.md7.4 KB
  • config/channel_profile.example.md1.3 KB
  • config/corrections.example.json503 B
  • install.sh1.1 KB
  • memory/feedback_srt_grouping_rules.md30.4 KB
  • memory/feedback_whisper_mlx_gpu.md3.7 KB
  • memory/telop_channel_patterns.md3.4 KB
  • plugin.json329 B
  • README.md1.9 KB
  • references/archive/srt_quality_check.md2.0 KB
  • references/archive/srt_reference.md2.0 KB
  • references/archive/srt_rules.md2.9 KB
  • references/srt_runtime_rules.md11.2 KB
  • references/telop_check_rules.md7.1 KB
  • rules/AGENTS.md667 B
  • scripts/chunk_tools/merge_segments.py5.4 KB
  • scripts/chunk_tools/prepare_text_parts.py9.1 KB
  • scripts/chunk_tools/setup_chunks.py5.0 KB
  • scripts/chunk_tools/whisper_chunk.py4.2 KB
  • scripts/filler_restore.py7.8 KB
  • scripts/jev_client.py6.9 KB
  • scripts/mic_gate.py16.9 KB
  • scripts/silence_cut.py109.8 KB
  • scripts/telop_frames.py5.1 KB
  • scripts/transcribe_parallel.py6.0 KB
  • scripts/whisper_to_srt.py64.1 KB
  • skills/cut/SKILL.md5.5 KB
  • skills/srt-fast/SKILL.md5.3 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

premiere-skills

Premiere Pro と Claude Code を組み合わせた動画編集自動化スキル集。/cut /srt /srt-fast /telop-check の 4 コマンドを提供する。

提供コマンド

コマンド用途入力出力
/cutPremiere Pro XML の無音・雑音区間をジェットカット.xmloutput/cut/<basename>_カット済み.xml
/srtWAV + Premiere Pro XML から日本語テロップ用 SRT を生成 (並列Whisper→LLM改行→全体アライメント・v6).wav + .xmloutput/srt/<basename>/<basename>.srt ほか中間 JSON
/srt-fast/srt の高速版(v7)。単一パスGPU転写+改行のみN並列+QA自動修復。--xml 併用でカット点同期も可(canonical共通).wav(+任意 .xml)output/srt/<basename>/<basename>.fast.srt
/telop-check書き出し済みMP4を1秒間隔で全編スキャンし、テロップの数字表記(漢数字→アラビア数字)・誤字脱字・い抜き・ら抜き・固有名詞ミスをタイムコード付きで検出。検出専任(書き換えない).mp4(+任意の修正指示テキスト)output/telop-check/<basename>/report.md

使い方

/cut — 無音ジェットカット

Premiere Pro で対象シーケンスから「ファイル → 書き出し → Final Cut Pro XML」を出力し:

/cut /path/to/your.xml

/srt — テロップ用 SRT 生成

WAV (16kHz / モノラル / 16bit 推奨) と XML を出力してから:

@/path/to/audio.wav @/path/to/timeline.xml /srt

/srt-fast — 高速版 SRT 生成

WAV (16kHz / モノラル / 16bit 推奨) を出力してから:

/srt-fast /path/to/audio_or_video

初回実行時のみ、チャンネル名・目標文字数・固有名詞辞書などを尋ねるセットアップ対話が 入る(次回以降はスキップされる)。詳細は次の「初回セットアップ」を参照。

/telop-check — テロップ校正

書き出し済みMP4を出力してから:

/telop-check /path/to/video.mp4

クライアントからの修正指示があれば同じメッセージに続けて貼り付ける(貼らなくても既定ルールで動く)。 20分超の長尺は --stride 2 で間引き可能。詳細は commands/telop-check.md と references/telop_check_rules.md(判定ルール正典)を参照。

初回セットアップ(チャンネル設定)

このリポジトリには特定チャンネルの固有名詞・スタイル学習データは含まれない。 /srt-fast を初めて実行したとき、config/channel_profile.md が無ければチャンネル名・ 目標文字数・固有名詞辞書・半角スペースの好みを質問し、回答を config/channel_profile.md と config/corrections.local.json(いずれも gitignore 対象・個人設定)に保存する。2回目以降は この設定を自動で使う。テンプレは config/channel_profile.example.md / config/corrections.example.json。手動で作りたい場合はこれらをコピーして値を埋めればよい。

動作環境

  • macOS / Linux (Premiere Pro 自体は別途必要)
  • Python 3.9 以降
  • mlx-whisper (Apple Silicon の既定転写エンジン・large-v3-turbo・GPU実行。2026-07-03 v6.1)
  • faster-whisper (Whisper large-v3。gap補完・非Apple環境・フォールバックに必須)
  • ffmpeg
  • Claude Code CLI
pip3 install --user faster-whisper mlx-whisper
brew install ffmpeg

ディレクトリ構成

  • commands/cut.md / commands/srt.md / commands/srt-fast.md / commands/telop-check.md — スラッシュコマンド定義 (canonical)
  • scripts/silence_cut.py / scripts/whisper_to_srt.py / scripts/transcribe_parallel.py — 実装スクリプト
  • scripts/chunk_tools/ — 並列転写・チャンク統合(/srt と /srt-fast が共用)
  • scripts/telop_frames.py — MP4からタイムスタンプ付きコンタクトシートを生成(/telop-check 専用)
  • references/srt_runtime_rules.md — テロップ改行の実行時ルール正典
  • references/telop_check_rules.md — テロップ校正の判定ルール正典(数字表記・誤字脱字・い抜き・ら抜き・固有名詞)
  • memory/ — 日本語固有名詞辞書・SRT 切り分けルールの原典(履歴・根拠。配布時点では空テンプレ)
  • config/ — チャンネル固有設定(channel_profile.md / corrections.local.json。gitignore対象・ セットアップ対話で自動生成。テンプレは *.example.*)
  • output/ — 成果物保存場所 (publish 対象外推奨)

詳細仕様は commands/*.md と references/srt_runtime_rules.md を参照。

配布モード

Premiere Pro / Whisper / ffmpeg などのローカル依存を持つため、Capafy では Download モード での配布を前提とする。クラウド実行は対象外。

Claude Code plugin としてのインストール(他の人が /cut /srt-fast を使う場合)

このリポジトリは Claude Code plugin としても配布できる(.claude-plugin/plugin.json / marketplace.json 同梱・/cut /srt-fast の2コマンドのみを公開。/srt /telop-check は未収録)。

/plugin marketplace add fuuuuuuma/premiere-skills
/plugin install premiere-skills@premiere-skills

(非対話シェルからは claude plugin marketplace add fuuuuuuma/premiere-skills → claude plugin install premiere-skills@premiere-skills でも同じ)

上記「動作環境」の pip3 install / brew install ffmpeg が無い場合、/cut /srt-fast の実行前に 自動でチェックされ、不足があれば導入コマンドを提示したうえで確認してから進める(無断では入れない)。 インストール後は /cut /srt-fast としてそのまま呼べる(他プラグインと名前が衝突する場合のみ /premiere-skills:cut のように明示する)。/srt-fast の初回セットアップで作るチャンネル設定は ${CLAUDE_PLUGIN_DATA}(プラグイン更新を跨いでも残る領域)に保存され、生成物は入力ファイルと 同じ場所に出力される。

Codex plugin としてのインストール(Codexで /cut /srt-fast を使う場合)

Codex CLI(codex)は Claude Code plugin と同じ .claude-plugin/marketplace.json / plugin.json を読める。手順はClaude Codeとほぼ同じ:

codex plugin marketplace add fuuuuuuma/premiere-skills
codex plugin add premiere-skills@premiere-skills

依存導入は上と同じくコマンド実行時に自動チェックされる。Codex では ${CLAUDE_PLUGIN_ROOT}(プラグインの実パス)が展開されないため、/cut /srt-fast は Codex のプラグインキャッシュ(~/.codex/plugins/cache/)内を探して自分自身の場所を見つける。 /srt-fast のチャンネル設定は ~/.codex/premiere-skills-data(プラグイン更新を跨いでも残る 固定の場所)に保存される。

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

cut

無料日本語概要

Premiere Pro XML の無音・雑音を自動カットする。XMLファイルを渡されたとき、無音カット・ジェットカット・カット編集を頼まれたとき、「/cut」で即実行。

fuuuuuuma/premiere-skills142026年9月25日 更新

srt-fast

無料日本語概要

WAV/動画音声を単一パスGPU転写(mlx-whisper)した後、fulltextを意味区切りでN分割しLLM改行だけを並列化してSRT字幕を高速生成する /srt の高速版。日本語トーク動画用。「/srt-fast」で実行。

fuuuuuuma/premiere-skills142026年9月25日 更新

fuuuuuuma のスキルをすべて見る

このスキルの問題を報告する