oxbshw/watch-skill

watching-videos

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".

ソースを見る

使い方

  1. インストールコマンドをコピーし、自分の環境へ導入する前にソースを確認します。
  2. 必要なツール、認証情報、対応環境を原文で確認します。
  3. 入力と成果物を指定し、出力を資料と照合します。
npx skills add https://github.com/oxbshw/watch-skill --skill watching-videos

開始前の確認

  • 導入にはモデル契約、API枠、ファイルへのアクセス許可は含まれません。
  • スター数や導入数は活動の指標であり、独立した品質・安全性試験ではありません。
リポジトリの原文

見出し、例、コード、表、リンク、参照画像を含む原文を表示しています。

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.

タスクに関連する項目

同じリポジトリから

関連する Skills

すべての Skills
oxbshw
コミュニティ

asking-with-evidence

The user asks a question about a video that was already watched or indexed — "what did they say about X", "what error code appears", "what happens at 2:30", "does the video show Y". Use this to answer from the persistent index with timestamped evidence and a confidence score instead of re-watching or guessing.

導入数
2
GitHub Stars
503
更新日
10月14日
oxbshw
コミュニティ

configuring-vision

The user wants to connect an LLM or vision provider, already has an API key, asks "can I use OpenAI/Anthropic/Gemini/OpenRouter", wants local Ollama, or needs different cheap and strong models. Use this to configure provider-neutral visual understanding without tying Watch Skill to one agent or model vendor.

導入数
2
GitHub Stars
503
更新日
10月14日
oxbshw
コミュニティ

extracting-structure

The user wants structure pulled out of a watched video — "make chapters for this video", "where does the bug appear in this recording", "turn this screen recording into a bug report", "how strong is my intro/hook". Use this for deterministic extraction from the index — chapters with timestamps, a fileable bug report with the exact frame, or a scored hook analysis.

導入数
2
GitHub Stars
503
更新日
10月14日
oxbshw
コミュニティ

learning-from-mistakes

The user corrected an answer about a video — "no, it actually says X", "that's the wrong timestamp", "you misread the error code" — or asks why a video answer was wrong. Use this to record the correction as a lesson so future answers on similar questions improve, and to show what the system has learned and saved.

導入数
2
GitHub Stars
503
更新日
10月14日