Communitygithub.com

ComeOnOliver/skillshub

動画編集を実行します。確認済みの削除タスクに基づいてFFmpegでカット編集を行い、口誤がなくなるまでループし、字幕を生成します。トリガーワード:編集実行、カット開始、編集確認。

skillshub とは?

このスキルは、AIエージェント(Claude Code、Cursor、Codexなど)が動画編集ワークフローを自動化するためのものです。ユーザーが確認した削除タスク(言い間違い、無音部分)を元に、FFmpegを用いて動画をカット編集し、言い間違いがゼロになるまで再トランスクリプトと審査を繰り返します。最終的に字幕(SRT)ファイルを生成します。主な特徴は、テキストではなくタイムスタンプに基づいて編集を行うため、削除範囲が正確であること、そしてループ処理によって編集品質を保証することです。対応プラットフォームはClaude Codeが想定されており、「ビデオ編集を実行する」という指示から始まります。ワークフローは「削除タスクの読み取り→FFmpegフィルター生成→編集実行→再審査→字幕生成」という明確なステップで構成され、過去のフィードバックから得られた「言い間違い削除時の境界精度向上」などの知見も組み込まれています。

対応✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ComeOnOliver/skillshub/tree/HEAD/skills/aiskillstore/marketplace/ceeon/videocut

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

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

ドキュメント

編集

削除実行 → 再審査 → 言い間違いがなくなるまでループ → 字幕生成

クイックスタート

ユーザー: 確認、編集を実行
ユーザー: すべて削除
ユーザー: 無音3と5は残し、他はすべて削除

前提条件

事前に /videocut:口播き編集 を実行して削除タスクの TodoList を生成する必要があります

フロー

1. ユーザーが確認した削除タスクを読み取る
    ↓
2. 保持する時間範囲を計算
    ↓
3. FFmpeg filter_complex を生成
    ↓
4. 編集を実行
    ↓
5. 再トランスクリプト + 審査 ←───┐
    ↓                              │
   言い間違いあり? ──はい──────────┘
    ↓ いいえ
6. 字幕を生成(SRT)
    ↓
7. 完了

進捗 TodoList

起動時に作成:

- [ ] 削除タスクを確認
- [ ] FFmpeg 編集を実行
- [ ] 再トランスクリプト審査
- [ ] 字幕を生成

ループ時にバージョン番号を更新(v2→v3→...)


一、削除タスクの読み取り(タイムスタンプ駆動)

/videocut:口播き編集 が出力した TodoList から読み取ります。タイムスタンプを直接使用し、テキストを検索しないでください:

言い間違い(N箇所):
- [x] 1. `(開始-終了)` 「誤ったテキスト」を削除 → 「正しいテキスト」を保持  ← チェック=削除

フィラー(N箇所):
- [x] 1. `(前の文字終了-後の文字開始)` 「えーと」を削除  ← チェック=削除

無音(N箇所):
- [x] 1. `(開始-終了)` 無音X秒  ← チェック=削除
- [ ] 2. `(開始-終了)` 無音X秒  ← 未チェック=保持

⚠️ 重要なルール

  1. タイムスタンプを直接使用:(開始-終了) からパースし、テキストを検索しない
  2. 再検索しない:審査原稿で正確なタイムスタンプが既に計算されている
  3. チェック=削除、未チェック=保持

二、FFmpeg コマンド

ffmpeg -y -i input.mp4 \
  -filter_complex_script filter.txt \
  -map "[outv]" -map "[outa]" \
  -c:v libx264 -crf 18 -c:a aac \
  output.mp4

filter.txt の形式

[0:v]trim=start=0:end=1.36,setpts=PTS-STARTPTS[v0];
[0:a]atrim=start=0:end=1.36,asetpts=PTS-STARTPTS[a0];
[0:v]trim=start=2.54:end=10.5,setpts=PTS-STARTPTS[v1];
...
[v0][a0][v1][a1]...concat=n=N:v=1:a=1[outv][outa]

三、再トランスクリプト審査

編集後は必ず:

  1. FunASR で再トランスクリプト
  2. まだ言い間違いがないか確認
  3. あり → /videocut:口播き編集 に戻って再認識
  4. なし → 字幕を生成

四、出力ファイル

01-xxx-v2.mp4              # 編集後動画
01-xxx-v2_transcript.json  # 再トランスクリプト(検証用)
01-xxx-v2.srt              # 字幕ファイル

バージョンアップ:v1→v2→v3...


五、フィードバック記録

2026-01-15

  • フィラー削除の境界が不正確:フィラーを削除する際に前の文字も削除してしまった
    • 原因:フィラーのタイムスタンプをそのまま削除に使用
    • 正解:前の文字の終了から後の文字の開始まで
  • フィラー + 無音は一緒に削除する:A [無音] フィラー B は全体(A.終了 - B.開始)を削除する
  • 教訓:フィラー削除時の境界は「前の文字.終了」から「後の文字.開始」まで

2026-01-14

  • 言い間違いのテキストが削除しきれず、無音部分だけ削除した
  • 教訓:TodoList からタイムスタンプを直接読み取り、再検索しない
  • 「○○を引っ張る」を「△△のとき」と削除してしまった:「○○を引っ張る」のタイムスタンプ幅が7秒(無音6秒を含む)で、「○○」も削除した
    • 教訓:「前を削除し後ろを残す」タイプの言い間違いでは、差分部分だけ削除する
  • 「AIはAI」でAIが2回出現:「は」だけ削除し、最初の「AI」を削除しなかった
    • 教訓:置換タイプの言い間違いでは、最初のバージョン全体を削除する必要がある
  • 体系的な解決策:タイムスタンプ駆動とし、審査原稿に直接 (開始-終了) を記載、編集スクリプトではテキスト検索を行わない

Individual skills in this repo

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

ComeOnOliver/skillshub

Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.

ComeOnOliver/skillshub

Next.js 16+ 和 Turbopack — 增量打包、文件系统缓存、开发速度,以及何时使用 Turbopack 与 webpack。

ComeOnOliver/skillshub

SwiftUI architecture patterns, state management with @Observable, view composition, navigation, performance optimization, and modern iOS/macOS UI best practices.

ComeOnOliver/skillshub

See, Understand, Act on video and audio. See- ingest from local files, URLs, RTSP/live feeds, or live record desktop; return realtime context and playable stream links. Understand- extract frames, build visual/semantic/temporal indexes, and search moments with timestamps and auto-clips. Act- transcode and normalize (codec, fps, resolution, aspect ratio), perform timeline edits (subtitles, text/image overlays, branding, audio overlays, dubbing, translation), generate media assets (image, audio, video), and create real time alerts for events from live streams or desktop capture.

ComeOnOliver/skillshub

AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg, Remotion, ElevenLabs, fal.ai, and final polish in Descript or CapCut. Use when the user wants to edit video, cut footage, create vlogs, or build video content.

ComeOnOliver/skillshub

Next.js 15 애플리케이션을 위한 프론트엔드 개발 가이드라인. React 19, TypeScript, Shadcn/ui, Tailwind CSS를 사용한 모던 패턴. Server Components, Client Components, App Router, 파일 구조, Shadcn/ui 컴포넌트, 성능 최적화, TypeScript 모범 사례 포함. 컴포넌트, 페이지, 기능 생성, 데이터 페칭, 스타일링, 라우팅, 프론트엔드 코드 작업 시 사용.

ComeOnOliver/skillshub

Provides Tamagui patterns for config v4, compiler optimization, styled context, and cross-platform styling. Must use when working with Tamagui projects (tamagui.config.ts, @tamagui imports).

ComeOnOliver/skillshub

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

ComeOnOliver/skillshub

Create high-converting, visually distinctive landing pages. Use when building marketing pages, product launches, SaaS homepages, or any single-page conversion-focused website. Guides section-by-section composition with anti-AI-slop principles.

ComeOnOliver/skillshub

Auto-loaded context for Portfolio Buddy 2 development. Use for ANY task involving: React 19 development, TypeScript, portfolio analysis features, metrics calculations, trading strategy comparison, or working with the Portfolio Buddy 2 codebase. Contains tech stack, known issues, and architectural constraints.

ComeOnOliver/skillshub

Next.js development tooling via MCP. Inspect routes, components, build info, and debug Next.js apps. Use when working on Next.js applications, debugging routing, or inspecting app structure. NOT for general React or non-Next.js projects.

ComeOnOliver/skillshub

Implement UI using Shadcn MCP (atoms/theme) and 21st.dev MCP (complex sections). Use when adding buttons, layouts, or generating landing pages.

ComeOnOliver/skillshub

A conceptual skill for building an API client in Next.js that handles JWT tokens

ComeOnOliver/skillshub

Best practices and patterns for Next.js App Router, Server Actions, and Routing in this project.

ComeOnOliver/skillshub

The Design System, Theme, and UX rules for the Physical AI Hub.

ComeOnOliver/skillshub

Comprehensive frontend development skill for building modern, performant web applications using ReactJS, NextJS, TypeScript, Tailwind CSS. Includes component scaffolding, performance optimization, bundle analysis, and UI best practices. Use when developing frontend features, optimizing performance, implementing UI/UX designs, managing state, or reviewing frontend code.

ComeOnOliver/skillshub

This document captures learnings from fixing keyboard navigation issues when floating components (Select, DropdownMenu, Popover) have CSS open/close animations.

ComeOnOliver/skillshub

Build Next.js 16 applications with correct patterns and distinctive design. Use when creating pages, layouts, dynamic routes, upgrading from Next.js 15, or implementing proxy.ts. Covers breaking changes (async params/searchParams, Turbopack, cacheComponents) and frontend aesthetics. NOT when building non-React or backend-only applications.

ComeOnOliver/skillshub

Comprehensive Framer Motion animation library for React. Covers motion components, variants, gestures, page transitions, and scroll animations. Use when adding animations to React/Next.js applications.

ComeOnOliver/skillshub

Build interfaces that resonate, not just render. This skill enforces bold, intentional

関連スキル