youtube-kr-subtitle
БесплатноЗапускает вложенные скриптыНе проверенDownload YouTube videos, extract English subtitles, translate them to Korean using Claude's own translation capabilities (with video context and web search)…
Об этом скилле
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 passedresults: detailed information about each componentactions_taken: list of automatic fixes performed (if --auto-fix used)
What the script does in auto-fix mode:
- Creates virtual environment if it doesn't exist
- Installs all required Python packages from requirements.txt
- 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 pathsubtitle_path: English subtitle SRT file path (or null if not available)title: Video titledescription: Video descriptionduration: Video duration in secondsvideo_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 entriesmetadata.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:
- Read the context file created in Step 3c
- Review the first few subtitle texts to understand the flow
- Translate each subtitle text t
Установить youtube-kr-subtitle в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл youtube-kr-subtitle?
Download YouTube videos, extract English subtitles, translate them to Korean using Claude's own translation capabilities (with video context and web search), and burn Korean subtitles into the video. Use this skill when the user requests Korean subtitle insertion for YouTube videos or asks to translate YouTube content to Korean.
Как установить скилл youtube-kr-subtitle?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл youtube-kr-subtitle запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic