Communitygithub.com

ComeOnOliver/skillshub

執行影片剪輯。根據確認的刪除任務執行 FFmpeg 剪輯,循環直到零口誤,產生字幕。觸發詞:執行剪輯、開始剪、確認剪輯

skillshub 是什麼?

這個技能是一個專為影片剪輯設計的 AI 代理工具,主要用於自動化刪除口誤、語氣詞和靜音段落。它從 `/videocut:剪口播` 生成的刪除任務 TodoList 中讀取時間戳,直接使用 FFmpeg 進行精確剪輯,無需重新搜尋文本,確保高效且準確。剪輯後,技能會自動重新轉錄影片並審查是否還有口誤,若有則循環回到剪輯流程,直到完全零口誤,最後產生 SRT 字幕檔案。支援平台包括 Claude Code、Cursor 等可執行 shell 命令的 AI 代理環境。使用此技能時,用戶只需確認刪除任務後觸發(例如說「確認,執行剪輯」),即可自動完成從剪輯到字幕的完整工作流程,大幅減少人工操作和錯誤。

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

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

剪輯

執行刪除 → 重新審查 → 循環直到零口誤 → 產生字幕

快速使用

用戶: 確認,執行剪輯
用戶: 全刪
用戶: 保留靜音3和5,其他都刪

前置條件

需要先執行 /videocut:剪口播 產生刪除任務 TodoList

流程

1. 讀取用戶確認的刪除任務
    ↓
2. 計算保留時間段
    ↓
3. 產生 FFmpeg filter_complex
    ↓
4. 執行剪輯
    ↓
5. 重新轉錄 + 審查 ←───┐
    ↓                   │
   有口誤? ──是─────────┘
    ↓ 否
6. 產生字幕(SRT)
    ↓
7. 完成

進度 TodoList

啟動時建立:

- [ ] 確認刪除任務
- [ ] 執行 FFmpeg 剪輯
- [ ] 重新轉錄審查
- [ ] 產生字幕

循環時更新版本號(v2→v3→...)


一、讀取刪除任務(時間戳驅動)

從 /videocut:剪口播 輸出的 TodoList 讀取。直接使用時間戳,不要搜尋文字:

口誤(N處):
- [x] 1. `(start-end)` 刪"錯誤文字" → 保留"正確文字"  ← 勾選=刪除

語氣詞(N處):
- [x] 1. `(前字end-後字start)` 刪"嗯"  ← 勾選=刪除

靜音(N處):
- [x] 1. `(start-end)` 靜音Xs  ← 勾選=刪除
- [ ] 2. `(start-end)` 靜音Xs  ← 未勾選=保留

⚠️ 關鍵規則

  1. 直接用時間戳:從 (start-end) 解析,不要搜尋文字
  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

  • 語氣詞刪除邊界不精確:刪語氣詞時把前面的字也刪了
    • 原因:直接用語氣詞的時間戳刪除
    • 正確:從前一字的 end 到後一字的 start
  • 語氣詞 + 靜音要一起刪:A [靜音] 語氣詞 B 要刪整段 (A.end - B.start)
  • 教訓:刪除語氣詞時,邊界是 前一字.end 到 後一字.start

2026-01-14

  • 口誤文字沒刪乾淨,只刪了靜音段
  • 教訓:直接從 TodoList 讀取時間戳,不要重新查找
  • "拉滿新"刪成了"會的時候":搜尋"拉滿新"時間戳跨度7秒(含6秒靜音),把"拉滿"也刪了
    • 教訓:對於"刪前面保後面"的口誤,只刪差異部分
  • "AI就是AI"出現兩次AI:只刪了"就是",沒刪第一個"AI"
    • 教訓:替換型口誤必須刪完整的第一個版本
  • 系統性解決:時間戳驅動,審查稿直接標註 (start-end),剪輯腳本不再搜尋文字

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

相關技能