Communitygithub.com

ComeOnOliver/skillshub

字幕生成与烧录。火山引擎转录→词典纠错→审核→烧录。触发词:加字幕、生成字幕、字幕

skillshub 是什么?

skillshub is a Claude Code agent skill that 字幕生成与烧录。火山引擎转录→词典纠错→审核→烧录。触发词:加字幕、生成字幕、字幕.

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ComeOnOliver/skillshub/tree/HEAD/skills/Ceeon/videocut-skills/%E5%AD%97%E5%B9%95

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Subtitles

Transcription → Agent Proofreading → Manual Review → Burning

Core Process (approximately 8-15 minutes total, including manual review)

1. Extract audio + upload          ⏱ ~1min
    ↓
2. Volcengine transcription (with hotwords)    ⏱ ~2min
    ↓
3. Agent automatic proofreading            ⏱ ~3-5min
    ↓
4. Manual review confirmation              ⏱ depends on user
    ↓
5. Burn subtitles                  ⏱ ~1-2min

Step 1: Extract audio and upload

# Extract audio
ffmpeg -i "video.mp4" -vn -acodec libmp3lame -y audio.mp3

# Upload to uguu.se (temporary file hosting)
curl -s -F "files[][email protected]" https://uguu.se/upload
# Returns URL like: https://o.uguu.se/xxxxx.mp3

Step 2: Volcengine transcription (with hotwords)

The transcription script automatically reads the dictionary as hotwords to improve recognition accuracy:

# Dictionary location: /Users/chengfeng/Desktop/AIos/剪辑Agent/.claude/skills/字幕/词典.txt
# The script loads it automatically

bash ../剪口播/scripts/volcengine_transcribe.sh "https://o.uguu.se/xxxxx.mp3"

Dictionary format (one word per line):

skills
Claude
Agent
成峰
剪辑skills
claude code

Step 3: Agent automatic proofreading

3.1 Generate subtitles with timestamps

const result = JSON.parse(fs.readFileSync('volcengine_result.json'));
const subtitles = result.utterances.map((u, i) => ({
  id: i + 1,
  text: u.text,
  start: u.start_time / 1000,
  end: u.end_time / 1000
}));
fs.writeFileSync('subtitles_with_time.json', JSON.stringify(subtitles, null, 2));

3.2 Manual proofreading (no scripts)

After transcription, the Agent must read through all subtitles line by line and manually correct the following issues:

Common misrecognition rules table

MisrecognitionCorrectType
成风成峰Homophone
正特/整特AgentMisrecognition
IT就Agent就Similar pronunciation
edge的叉100Agentx100Misrecognition
cloud codeClaude CodeSimilar pronunciation
Schill/skillskillsSimilar pronunciation
剪口拨/剪口波剪口播Homophone
自净化/资金化自进化Homophone
减口播剪口播Homophone
录剪漏剪Homophone
作为这个做这个Homophone
斜杠V1/斜杠v/vSpoken description
斜杠v点口拨/v.口播Spoken + homophone
a p i t/APIKAPI KeyMisrecognition
excuseskillsMisrecognition
移完了剪完了Homophone

Common missing word issues

OriginalCorrectedDescription
步呢是配置第二步呢是配置Missing "第二"
4步就是第4步就是Missing "第"
别省时间特别省时间Missing "特"
这个我们的这个是我们的Missing "是"
在里面看到可以在里面看到Missing "可以"
跟大家处理完跟大家讲完Wrong word choice
剪辑了逻辑剪辑的逻辑Grammar error

3.3 Compare with original script (if available)

If there is an original script/manuscript, it can assist proofreading, but do not use scripts for automatic matching (text differences can cause cumulative timestamp errors).

The Agent should:

  1. Read the original script as a reference
  2. Compare each line manually, correcting differences as they are found
  3. Mark uncertain spots for manual review

Step 4: Start review server

cd subtitle_directory/
node /path/to/skills/字幕/scripts/subtitle_server.js 8898 "video.mp4"

Access http://localhost:8898

Features:

  • Left side: video playback, right side: subtitle list
  • Auto-highlights current subtitle during playback
  • Double-click subtitle text to edit (timestamps remain unchanged)
  • Variable speed playback (1x/1.5x/2x/3x)
  • Save subtitles / Export SRT / Burn subtitles
  • Bottom bar shows dictionary quick insert

Step 5: Burn subtitles

Default style: 22pt golden bold, black outline 2px, centered at bottom

ffmpeg -i "video.mp4" \
  -vf "subtitles='video.srt':force_style='FontSize=22,FontName=PingFang SC,Bold=1,PrimaryColour=&H0000deff,OutlineColour=&H00000000,Outline=2,Alignment=2,MarginV=30'" \
  -c:a copy \
  -y "video_subtitled.mp4"
ParameterValueDescription
FontSize22Font size
FontNamePingFang SCPingFang font
Bold1Bold
PrimaryColour&H0000deffGolden #ffde00
OutlineColour&H00000000Black outline
Outline2Outline width
Alignment2Centered at bottom
MarginV30Bottom margin

Directory structure

output/YYYY-MM-DD_videoname/subtitles/
├── 1_transcription/
│   ├── audio.mp3
│   └── volcengine_result.json
├── subtitles_with_time.json    # Core file
└── 3_output/
    ├── video.srt
    └── video_subtitled.mp4

Subtitle rules

RuleDescription
One line per screenNo line breaks, no stacking
No punctuation at end of sentenceHello not Hello.
Keep punctuation within sentenceClick here, then there

Feedback log

2026-01-31

  • Volcengine supports hotwords, already integrated into transcription script
  • Agent must proofread automatically after transcription; cannot hand over directly to user
  • Subtitle style: golden bold #ffde00, outline 2px
  • "IT" is often misrecognized as "Agent", needs error correction rule added
  • Important: Agent proofreading must be done manually line by line; cannot use scripts for automatic matching
  • Added 17 common misrecognition rules (see section 3.2)
  • Missing words are harder to detect than misrecognitions; special attention required

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

相关技能