/video-skills:transcribe-videofrom video-skills
Extracts transcript text from local video files by checking for embedded subtitles first, then falling back to API-based speech recognition.
Ships in video-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Extract transcript text from a local video file. The skill checks for embedded subtitles first (faster and more accurate), and only falls back to API-based speech recognition if none are found.
Confirm the video file path with the user. Supported formats: mp4, mkv, mov, avi, webm, and any format ffmpeg can handle.
ffprobe -v quiet -select_streams s -show_entries stream=index,codec_name:stream_tags=language,title -of json "<video_path>"
If multiple subtitle tracks exist, prefer the one matching the video's primary language or ask the user which track to use.
# Extract as SRT (stream index 0 for first subtitle track; adjust if needed)
ffmpeg -i "<video_path>" -map 0:s:0 -c:s srt "<output_path>.srt" -y
After extraction, convert SRT to clean text:
\d{2}:\d{2}:\d{2})<i>, </i>, etc.)Save the clean transcript to <video_name>.txt next to the video file. Done — skip Step 3b.
Use the bundled transcription script. It reads credentials from ~/.transcribe_video.env.
Verify the env file exists:
test -f ~/.transcribe_video.env && echo "OK" || echo "MISSING"
If MISSING, tell the user to create ~/.transcribe_video.env with:
OPENAI_API_KEY=your-key-here
# Optional Base URL:
# OPENAI_API_BASE=https://<base-url>/v1/
# Optional Model Name:
# TRANSCRIBE_MODEL=gpt-4o-transcribe
Wait for the user to confirm before proceeding.
Verify dependencies:
python3 -c "from openai import OpenAI; from dotenv import load_dotenv; print('OK')" 2>&1
Install or update in the active virtual environment: python -m pip install --upgrade -r <skill_directory>/requirements.txt. Use Python 3.11 or newer.
python3 <skill_directory>/scripts/transcribe.py "<video_path>"
The script extracts audio (WAV, 16kHz mono), sends it to the API, and saves the transcript to <video_name>.txt next to the video file.
Whisper and diarization models return segment timestamps; other transcription models return plain text. The script selects verbose_json, diarized_json, or json to match the model and reads the SDK's typed segment objects.
Tell the user:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub feiskyer/video-skills --plugin video-skills3 skills in this plugin
/download-videoDownload videos from 1000+ websites (YouTube, Bilibili, Twitter/X, TikTok, Vimeo, Instagram, Twitch, etc.) using yt-dlp. Use this skill whenever a user shares a video URL, asks to save or download a video, wants to extract audio from an online video, needs a specific quality like 1080p or 4K, or mentions downloading a playlist. Also trigger on "下载视频", "保存视频", "提取音频", or any URL from a supported video platform./narrate-videoGenerate professional voiceover narration for a video with audio-video sync using Azure TTS by default, Gemini 3.1 Flash TTS, or ElevenLabs with a Mandarin narrator or a user-selected or cloned voice. Use this skill whenever the user wants to add narration, voiceover, commentary, or voice dubbing to any video file — even if they just say "add audio to this video" or "make a narrated version." Also trigger when the user has a screen recording, demo, tutorial, or presentation video that needs a voice track. Trigger on Chinese requests like "视频配音", "给视频加旁白", "录屏解说", "视频加语音", "视频添加声音", "生成视频旁白", "自动配音", "视频解说词".Other plugins' skills for the same job