Token导航 LogoToken导航

Agent Skill · 开发

video-add-chapters(视频添加章节)

用于辅助视频生成、动画合成、脚本化剪辑或 Remotion 等视频项目开发。它适合让 Agent 组织镜头、生成素材说明、维护合成代码或排查渲染问题。使用时需要确认分辨率、时长、素材路径和导出格式;涉及外部素材、人物肖像或商业发布时,应先核对版权授权和内容审核要求。

video-add-chapters 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证为 MIT,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 17,731。

总安装 384周安装 16GitHub Stars 43下载 128核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:video-add-chapters(视频添加章节)
来源仓库:https://github.com/jykim/claude-obsidian-skills
仓库路径:skills/video-add-chapters
安装命令:
npx skills add https://github.com/jykim/claude-obsidian-skills --skill video-add-chapters
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/jykim/claude-obsidian-skills --skill video-add-chapters

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

video-add-chapters 用于辅助视频生成、动画合成、脚本化剪辑或 Remotion 等视频项目开发。适合让 Agent 组织镜头、生成素材说明、维护合成代码或排查渲染问题。通过 npx skills add 命令从指定仓库安装,需结合原始 README 核验具体用法。

使用时需要确认分辨率、时长、素材路径和导出格式,涉及外部素材时应核对版权授权。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/video-add-chapters

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/jykim/claude-obsidian-skills --skill video-add…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

video-add-chapters 怎么安装?

在终端执行 npx skills add https://github.com/jykim/claude-obsidian-skills --skill video-add-chapters。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

video-add-chapters 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

video-add-chapters 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

video-add-chapters 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

video-add-chapters 用的人多吗?

公开数据是累计安装 384 次,近一周安装 16 次,下载 128 次,GitHub 43 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

video-add-chapters 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
video-add-chapters

视频添加章节 · 本页

38443接触敏感数据MIT有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

video-add-chapters

Transcribe videos using Whisper API, automatically detect chapter boundaries, and generate structured markdown documents with YouTube chapter markers. Optionally create highlight videos from selected segments.

When to Use This Skill

  • Transcribing long videos (20+ minutes) and splitting into chapters
  • Converting video transcripts into structured documentation
  • Generating YouTube chapter markers for video descriptions
  • Cleaning up raw transcripts into readable documents
  • Creating highlight videos from selected transcript segments

Example Results

Requirements

System

  • Python 3.7+
  • FFmpeg (for audio extraction)

Python Packages

pip install -r requirements.txt

Environment Variables

  • OPENAI_API_KEY - Required for Whisper API

How It Works

flowchart TB
    subgraph Auto[Automatic Processing]
        direction LR
        A[Video] --> B[Transcribe] --> C[Analyze] --> D[Generate] --> E[Clean]
    end
    subgraph Optional[Optional Review]
        F[Check & Adjust]
    end
    Auto -.-> Optional -.-> Auto

All steps run automatically without user intervention. Optional review step available if manual adjustment is needed.

Usage

Quick Start (Automated Pipeline)

# Run all steps automatically
python transcribe_video.py "video.mp4" --language ko --output-dir "./output"
python suggest_chapters.py "video.mp4" --output "chapters.json"
python generate_docs.py "video.mp4" --chapters "chapters.json" --output-dir "./output"
python clean_transcript.py "./output/merged_document.md" --backup

Step-by-Step Details

1. Transcribe Video

python transcribe_video.py "video.mp4" --language ko --output-dir "./output"

# Skip if transcript already exists (useful for workflow integration)
python transcribe_video.py "video.mp4" --skip-if-exists
  • Splits video into 15-minute chunks
  • Transcribes using Whisper API
  • Handles timestamp offsets automatically
  • Output: {video} - transcript.json

2. Detect Chapter Boundaries

python suggest_chapters.py "video.mp4" --output "chapters.json"
  • Analyzes transcript for topic transitions
  • Uses transition signal patterns (not pauses)
  • Output: chapters.json with suggested boundaries

3. Generate Documents

python generate_docs.py "video.mp4" --chapters "chapters.json" --output-dir "./output"
  • Creates individual chapter markdown files
  • Generates merged document and index
  • Outputs YouTube chapter markers

4. Clean Transcript

python clean_transcript.py "./output/merged_document.md" --backup
  • Removes filler words
  • Improves sentence structure
  • Enhances paragraph cohesion
  • Preserves timestamps and chapter boundaries

Optional: Manual Review

If chapter boundaries need adjustment:

  1. Edit chapters.json with corrected timestamps
  2. Re-run generate_docs.py to regenerate documents

Highlight Video Generation (Optional)

After completing the chapter workflow, you can create a highlight video by selecting specific segments from the transcript.

Method 1: Annotation in Transcript (Recommended)

Mark highlights directly in the transcript using <u> or == annotations.

flowchart LR
    A[Transcript] --> B["Add <u> or ==marks=="]
    B --> C[parse_highlight_annotations.py]
    C --> D[Highlight Script]
    D --> E[generate_highlights.py]
    E --> F[Highlight.mp4]

Quick Start:

# 1. Open transcript markdown and add annotations:
#    <u>text to highlight</u>  or  ==text to highlight==

# 2. Parse annotations to generate highlight script
python parse_highlight_annotations.py "transcript.md" --video "video.mp4"

# 3. (Optional) Edit the generated highlight script to add titles

# 4. Generate highlight video
python generate_highlights.py "transcript - highlight_script.md" --padding 0.5

Supported Annotation Formats:

  • <u>highlighted text</u> - HTML underline (visible in most editors)
  • ==highlighted text== - Markdown highlight (Obsidian compatible)

Features:

  • Consecutive highlighted segments are automatically merged
  • End times calculated from next segment start
  • Auto-generates titles from first few words

Method 2: Manual Script Editing

Export full transcript as editable script, then delete unwanted lines.

flowchart LR
    A[Transcript] --> B[Export Script]
    B --> C[User Deletes Lines]
    C --> D[Generate Video]
    D --> E[Highlight.mp4]

Quick Start:

# 1. Export editable highlight script
python export_highlight_script.py "video.mp4" \
  --transcript "./output/video - transcript.json"

# 2. Edit the script - delete unwanted lines (in any text editor)

# 3. Generate highlight video
python generate_highlights.py "./output/video - highlight_script.md"

Generate Highlight Video

python generate_highlights.py "highlight_script.md" --output "highlights.mp4" --padding 0.5 --title-duration 3
  • Parses [START-END] timestamps from script
  • Adds 0.5s padding before/after each segment to avoid mid-sentence cuts
  • Displays optional segment titles (yellow centered text, Korean font) for 3 seconds
  • Merges all segments into single video using FFmpeg
  • Output: {video} - highlights.mp4

Highlight Script Format

# Highlight Script: Video Title

**Source Video**: /path/to/video.mp4

---

[00:00:09-00:00:21] {Gemini CLI 설정} 우선은 Gemini에다가 제가 현재 커뮤니티 볼트가...

[01:46-02:15] {설치 완료} 네 설치가 된 것 같습니다. 볼트에서 확인해 볼까요.

[03:56-04:01] 아웃박스 커뮤니티 폴더에 질문을 생성을 했어요.

Format: [START-END] {Optional Title} Text content

  • Titles in {curly braces} are optional
  • If provided, title appears as yellow centered text overlay (144px, Korean font supported)

File Structure

video-add-chapters/
├── SKILL.md                    # This document
├── requirements.txt            # Python dependencies
├── transcribe_video.py         # Step 1: Video → Transcript
├── suggest_chapters.py         # Step 2: Chapter boundary detection
├── generate_docs.py            # Step 3: Document generation
├── clean_transcript.py         # Step 4: Transcript cleaning
├── parse_highlight_annotations.py  # Parse <u> and == annotations from transcript
├── export_highlight_script.py      # Export transcript as editable highlight script
├── generate_highlights.py          # Generate highlight video from script
├── templates/                  # Markdown templates
│   ├── chapter.md
│   ├── index.md
│   └── youtube_chapters.txt
└── examples/                   # Sample outputs
    ├── sample_chapter.md
    └── sample_youtube_chapters.txt

Troubleshooting

IssueCauseSolution
Chapter boundaries don't match contentBoundary set at keyword first mentionUse transition signal patterns for boundaries
Merged document content mismatchManual updates missed in separate filesUpdate all related files when changing boundaries
Transcript timing seems offMisdiagnosed as offset issueVerify: Whisper timestamps = video timestamps (no offset)
Chapter content overlapBoundary doesn't match content transitionUse end signals for endpoints, start signals for start points

Verification Checklist

  1. Verify video timestamp at each chapter start
  2. Confirm next chapter content doesn't start before current chapter ends
  3. Check merged document body matches chapter boundaries
  4. Test YouTube link timestamps are accurate
  5. Verify original meaning is preserved after cleaning

Language Support

Currently optimized for Korean language with hardcoded transition patterns. Multi-language support: TBA.

Cost Estimate

Whisper API pricing: ~$0.006 per minute of audio

  • 1-hour video: ~$0.36
  • Processing is done in 15-minute chunks

Integration

Related Skills

  • video-full-process: Combined workflow with video-clean + chapter remapping
  • video-cleaning: Remove pauses and filler words
  • shorts-extraction: Extract chapters as short-form clips
  • youtube-transcript: Download YouTube video transcripts

Combined Workflow with video-clean

Use video-full-process skill for a unified pipeline that:

  1. Transcribes once (saving ~50% API costs)
  2. Removes pauses and filler words
  3. Remaps chapter timestamps to cleaned video
  4. Embeds chapters into final video
# From video-full-process skill directory
python process_video.py "video.mp4" --language ko

Transcript Reuse

The --skip-if-exists flag enables transcript reuse across skills:

# First transcription
python transcribe_video.py "video.mp4"

# Skip if already transcribed (reuses existing transcript)
python transcribe_video.py "video.mp4" --skip-if-exists

This prevents duplicate API calls when multiple skills need the same transcript

Reference: CHAPTERS Array Format

# Format: (start_seconds, title, description)
CHAPTERS = [
    (0, "Intro", "Introduction and welcome"),
    (98, "Setup", "Environment setup guide"),
    (420, "Main Content", "Core tutorial content"),
    # ... each chapter's start time, title, description
]

平台分布

Claude Code

31.63%
按下载量换算40

Antigravity

24.45%
按下载量换算31

Gemini CLI

18.64%
按下载量换算24

Codex

12.27%
按下载量换算16

windsurf

7.57%
按下载量换算10

OpenCode

3.27%
按下载量换算4

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。

继续浏览同类 Skills