watching-videos — скилл для Claude Code: что делает и как установить
Скилл анализирует локальные видеофайлы и ролики по ссылкам через OCR кадров и транскрипцию речи. Помогает агенту отвечать по реальному содержанию видео с таймкодами.
npx skills add oxbshw/watch-skill --skill watching-videos -a claude-codeЧто делает watching-videos
Скилл запускает конвейер обработки любого видеоматериала: роликов из сети или файлов на диске. Инструмент отбирает кадры со сменой сцен без дубликатов, считывает надписи через OCR и строит расшифровку речи через субтитры или Whisper. Все результаты сохраняются в локальный индекс, поэтому повторно анализировать одно и то же видео не придётся.
Для длинных записей предусмотрены выборка фрагментов флагами --start и --end, а также режим --transcript-only для чтения речи без загрузки кадров. С пакетами роликов и плейлистами работает команда watch-skill batch.
Для работы не нужны внешние API-ключи: расшифровка звука идёт локально на машине. Если в системе нет ffmpeg или yt-dlp, команда watch-skill doctor поставит их сама.
Какие задачи решает
- извлечь текст с экрана в видеозаписи через OCR
- получить расшифровку речи из локального файла без сторонних API
- найти ответ на вопрос по конкретному таймкоду видео
- проиндексировать плейлист или папку с видеофайлами
Примеры запросов агенту
- Посмотри запись
meeting.mp4и выпиши принятые решения с таймкодами. - Найди в видеофайле
screencast.mp4момент, когда в консоли появляется ошибка. - Сделай текстовую расшифровку файла
lecture.mp4без сохранения кадров.
Как установить watching-videos
1Через Skills CLI (Vercel)
npx skills add oxbshw/watch-skill --skill watching-videos -a claude-code2Вручную: положить файлы
~/.claude/skills/watching-videos/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/watching-videos/
1Через Skills CLI (Vercel)
npx skills add oxbshw/watch-skill --skill watching-videos -a codex2Вручную: положить файлы
.agents/skills/watching-videos/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add oxbshw/watch-skill --skill watching-videos -a cursor2Вручную: положить файлы
.cursor/skills/watching-videos/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install oxbshw/watch-skill watching-videos2Вручную: положить файлы
.github/skills/watching-videos/SKILL.md1Через Skills CLI (Vercel)
npx skills add oxbshw/watch-skill --skill watching-videos -a gemini-cli2Командой платформы
gemini skills install https://github.com/oxbshw/watch-skill --path skills/watching-videosВручную: положить файлы
.devin/skills/watching-videos/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add oxbshw/watch-skill --skill watching-videos -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о watching-videos
Как установить watching-videos в Claude Code?
Выполните команду npx skills add oxbshw/watch-skill --skill watching-videos -a claude-code. Файл навыка сохранится в ~/.claude/skills/watching-videos/SKILL.md.
Что делает скилл watching-videos?
Он скачивает видео, нарезает ключевые кадры, распознаёт экранный текст через OCR и создаёт транскрипт речи с помощью Whisper или готовых субтитров. Все данные записываются в локальную базу, к которой агент обращается по таймкодам.
Нужен ли API-ключ для распознавания речи?
Ключи API не требуются. Аудио расшифровывается локально через встроенный Whisper или готовые субтитры, а сами файлы не передаются на сторонние серверы.
Исходный текст
SKILL.md · MIT
--- name: watching-videos version: "1.4.3" description: The user shared a video URL, a YouTube/TikTok/stream link, a local video file, a screen recording, a meeting recording, or a playlist/folder of videos — "watch this", "summarize this video", "what's in this recording". Use this to actually watch the video — download, extract frames, OCR, transcribe, and index it — instead of guessing from the title or asking the user to describe it. license: MIT user-invocable: true allowed-tools: Bash, Read --- # Watching videos You don't have a video input; this skill gives you one. Anything a user hands you — a YouTube link, a TikTok, a lecture, a meeting recording, a screen capture, an .mp4 on disk — goes through the same pipeline: frames (scene-aware, deduplicated), OCR, transcript (captions first, local Whisper offline fallback), all persisted into one index. ## Before watching: check the index ```bash watch-skill list ``` If the video was already analyzed — this session or any earlier one — do NOT watch it again. Ask it directly (see the `asking-with-evidence` skill): ```bash watch-skill ask <video_id> "<question>" ``` ## One video ```bash watch-skill watch "<url-or-path>" [--start T --end T] [--max-frames N] [--transcript-only] ``` - Works on any yt-dlp-supported site (1800+), direct media URLs, HLS/DASH manifests (`--duration 60` bounds live streams), and local files. - Video over ~10 minutes and the user cares about one part → use `--start`/`--end` for dense sampling of that window. - User only needs what was said → `--transcript-only` (fastest, often no video download at all). The report prints `Indexed: <video_id>`, frames with `t=MM:SS` timestamps, OCR text, and the transcript. Read every frame path listed — in a single message, parallel Read calls — then answer from frames + OCR + transcript, citing timestamps. ## Many videos (playlist, channel, folder) ```bash watch-skill batch "<playlist-url-or-folder>" [--limit N] ``` Everything lands in the same index; one broken video never stops the rest. Afterwards a single `watch-skill search "<phrase>"` spans the whole batch. ## First run on a machine If any command fails with a dependency error, run `watch-skill doctor` once — it installs missing ffmpeg/yt-dlp itself. No API key is required for any of this; transcription is local by default and the video file never leaves the machine.
© oxbshw · MIT · oxbshw/watch-skill