Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

youtube-kr-subtitleyoutube kr 字幕

Agent Skill

youtube-kr-subtitle 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

196

周安装

8

GitHub Stars

21

下载量

63
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/koomook/claude-skill-youtube-kr-subtitle --skill youtube-kr-subtitle

简介

获取 YouTube 视频的韩语字幕内容。

  • 适合需要多语言字幕支持的研究或本地化场景。
  • 通过 npx skills add 命令从 GitHub 仓库安装。
  • 应确认字幕来源授权及隐私合规要求。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • youtube-kr-subtitle 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

YouTube Korean Subtitle Translator

Overview

This skill enables Claude to download YouTube videos and create new versions with Korean subtitles burned directly into the video. Unlike traditional approaches that use Google Translate, this skill leverages Claude's own translation capabilities with full context awareness - including video metadata, web research about the content, and understanding of the subject matter.

When to Use This Skill

Use this skill when users request:

  • "Add Korean subtitles to this YouTube video: [URL]"
  • "Translate this YouTube video to Korean"
  • "Download this video and burn Korean subtitles into it"
  • "Create a Korean version of this YouTube video"

Workflow

Step 0: Environment Setup Check (First Time Only)

Before processing any videos, verify that the environment is properly configured:

python scripts/setup_check.py

This script checks:

  • Python version (3.7+)
  • Virtual environment existence
  • Required packages (yt-dlp, pysrt, ffmpeg-python, deep-translator)
  • FFmpeg installation

Auto-fix mode: To automatically create venv and install packages:

python scripts/setup_check.py --auto-fix

Output: JSON containing:

  • success: boolean indicating if all checks passed
  • results: detailed information about each component
  • actions_taken: list of automatic fixes performed (if --auto-fix used)

What the script does in auto-fix mode:

  1. Creates virtual environment if it doesn't exist
  2. Installs all required Python packages from requirements.txt
  3. Verifies FFmpeg is installed (provides installation instructions if not)

Error Handling: If FFmpeg is not installed, the script will provide platform-specific installation commands. FFmpeg cannot be auto-installed and must be installed manually.

Important: Run this check before your first video processing. Once the environment is set up, you don't need to run this again unless you encounter dependency issues.

Step 1: Download Video and Subtitles

Run the download script to fetch the YouTube video, English subtitles, and metadata:

python scripts/download_youtube.py "<youtube_url>" downloads/

Output: JSON containing:

  • video_path: Downloaded video file path
  • subtitle_path: English subtitle SRT file path (or null if not available)
  • title: Video title
  • description: Video description
  • duration: Video duration in seconds
  • video_id: YouTube video ID

Error Handling: If subtitle_path is null, inform the user that the video lacks English subtitles and cannot be processed in the current version.

Step 2: Extract Subtitle Text

Extract only the text content from the SRT file for translation:

python scripts/extract_subtitle_text.py <subtitle_path>

Output: JSON containing:

  • texts: Array of subtitle text strings (preprocessed and grouped into sentences)
  • metadata.total_count: Number of subtitle entries
  • metadata.processed_count: Number after preprocessing (overlap fixes, grouping)

Important: The script automatically:

  • Fixes overlapping timestamps (YouTube's rolling caption format)
  • Removes short duplicate subtitles (<150ms)
  • Groups consecutive subtitles into sentence units for better translation context

Step 3: Gather Context for Translation

Before translating, build comprehensive context to ensure high-quality, contextually-aware translation:

3a. Analyze Video Metadata

Review the video title and description from Step 1. Identify:

  • Subject matter (technology, education, entertainment, etc.)
  • Key topics or themes
  • Technical terminology that may require specialized translation
  • Tone and style (formal, casual, educational, etc.)

3b. Web Search for Additional Context

Perform web searches to understand the content better:

Search queries to consider:
- "[video_title]" - Find related content and context
- "[key_topics] Korean translation" - Find established Korean terminology
- "[subject_matter] 한글 용어" - Find domain-specific Korean terms

Save findings to a context file for reference during translation.

3c. Create Translation Context File

Write a context file (e.g., downloads/video_context.md) containing:

# Translation Context for [Video Title]

## Video Overview
- **Title:** [title]
- **Subject:** [subject matter]
- **Duration:** [duration]
- **Key Topics:** [list of main topics]

## Key Terminology
[Table of English terms and their appropriate Korean translations]

## Tone and Style
[Description of the appropriate translation style]

## Additional Notes
[Any web research findings, cultural considerations, or translation guidelines]

Step 4: Translate Subtitles with Claude

Now perform the actual translation using the context gathered above. This is where Claude's capabilities shine:

Translation Guidelines:

  1. Read the context file created in Step 3c
  2. Review the first few subtitle texts to understand the flow
  3. Translate each subtitle text to Korean, considering:

- Context awareness: Use video metadata and web research findings - Terminology consistency: Apply terms from the context file - Sentence flow: Maintain natural Korean sentence structure - Cultural adaptation: Adapt idioms and cultural references appropriately - Length consideration: Keep translations reasonably similar in length to fit subtitle timing

  1. Maintain the exact same number of entries as the input array

Output Format: Create a JSON array of translated strings and save it:

[
  "첫 번째 번역된 자막",
  "두 번째 번역된 자막",
  "세 번째 번역된 자막"
]

Save this to a file like downloads/translated_texts.json.

Quality Checks:

  • Verify the array length matches the original subtitle count
  • Ensure no entries are empty (unless the original was empty)
  • Check that technical terms are consistently translated
  • Confirm the tone matches the video's style

Step 5: Merge Translated Text with SRT Timestamps

Combine the translated texts with the original SRT timing information:

python scripts/merge_translated_subtitle.py <original_srt> <translated_json> <output_srt>

Example:

python scripts/merge_translated_subtitle.py \
  downloads/video.en.srt \
  downloads/translated_texts.json \
  downloads/video.ko.srt

Output: JSON containing:

  • success: boolean
  • subtitle_count: number of subtitles processed
  • output_path: path to Korean SRT file

Step 6: Burn Subtitles into Video

Use FFmpeg to hardcode the Korean subtitles into the video:

python scripts/process_video.py <video_path> <korean_srt> <output_path> [font_name] [font_size]

Example:

python scripts/process_video.py \
  downloads/video.mp4 \
  downloads/video.ko.srt \
  output/video_korean.mp4 \
  Arial 24

Output: JSON containing:

  • success: boolean
  • output_path: path to final video with Korean subtitles
  • file_size_mb: size of output file

Note: FFmpeg must be installed on the system. The script checks for FFmpeg availability and provides installation instructions if needed.

Complete Example Workflow

# 0. Check environment setup (first time only)
python scripts/setup_check.py --auto-fix

# 1. Download video and subtitles
python scripts/download_youtube.py "https://www.youtube.com/watch?v=VIDEO_ID" downloads/

# 2. Extract subtitle texts
python scripts/extract_subtitle_text.py downloads/VideoTitle.en.srt > subtitle_texts.json

# 3. Gather context (manual step by Claude)
# - Analyze video metadata
# - Perform web searches
# - Create context file

# 4. Translate with Claude (manual step)
# - Read context file
# - Translate each subtitle text
# - Save to translated_texts.json

# 5. Merge translations with timestamps
python scripts/merge_translated_subtitle.py \
  downloads/VideoTitle.en.srt \
  translated_texts.json \
  downloads/VideoTitle.ko.srt

# 6. Burn subtitles into video
python scripts/process_video.py \
  downloads/VideoTitle.mp4 \
  downloads/VideoTitle.ko.srt \
  output/VideoTitle_korean.mp4

Key Advantages Over Automated Translation

This skill provides superior translation quality because:

  1. Context-Aware: Claude understands the video's subject matter through metadata and web research
  2. Terminology Consistency: Establishes and maintains consistent translation of key terms
  3. Cultural Adaptation: Adapts content appropriately for Korean audiences
  4. Tone Matching: Maintains the original video's tone and style
  5. Quality Control: Claude can review and refine translations before finalizing

Prerequisites

The following must be installed on the system:

  • Python 3.7+
  • FFmpeg (for video processing)
  • Python packages: yt-dlp, pysrt

Install Python dependencies:

pip install yt-dlp pysrt

Install FFmpeg:

# macOS
brew install ffmpeg

# Ubuntu/Debian
sudo apt-get install ffmpeg

Limitations

  • Only processes videos with existing English subtitles (auto-generated or manual)
  • Videos without subtitles are not currently supported
  • Processing time depends on video length and translation thoroughness
  • Large videos may take significant time for FFmpeg encoding

Scripts Reference

scripts/download_youtube.py

Downloads YouTube video and English subtitles, returns metadata including title and description.

scripts/extract_subtitle_text.py

Preprocesses SRT file and extracts text array for translation. Automatically handles YouTube's overlapping timestamp format.

scripts/merge_translated_subtitle.py

Combines translated text array with original SRT timing information to create Korean SRT file.

scripts/process_video.py

Uses FFmpeg to burn Korean subtitles into the video with customizable font styling.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.08%
按下载量换算22

Claude

30.38%
按下载量换算19

Cursor

22.12%
按下载量换算14

Gemini CLI

10.17%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills