Video retrieval, analysis, and evidence verification via Video2Agent MCP tools. Use proactively whenever the user pastes or mentions a video link/ID (YouTube, youtu.be, Bilibili/B站/BV/av, Douyin/抖音/v.douyin.com), a local video file or screen recording (.mp4, .mkv, .webm, .mov), asks about video content, subtitles/字幕, favorites/收藏夹/likes, UI motion recordings, comparing multiple videos, or asks a question best answered by video tutorials/reviews/guides (e.g. game builds, product reviews, recip...
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Video2agent Mcp?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/harm0ny-ai-video2agent-mcp)
---
name: video2agent
description: >-
Video retrieval, analysis, and evidence verification via Video2Agent MCP tools.
Use proactively whenever the user pastes or mentions a video link/ID (YouTube,
youtu.be, Bilibili/B站/BV/av, Douyin/抖音/v.douyin.com), a local video file or
screen recording (.mp4, .mkv, .webm, .mov), asks about video content, subtitles/字幕,
favorites/收藏夹/likes, UI motion recordings, comparing multiple videos, or asks a
question best answered by video tutorials/reviews/guides (e.g. game builds, product
reviews, recipes, walkthroughs). Call `video_*` MCP tools instead of web search
or shell scripts.
---
# Video2Agent (MCP Workflow)
Give answers grounded in the actual video: transcript/captions, on-screen text (OCR), structure, motion metrics, and exact source-frame screenshots.
## Proactive Trigger Rule
Whenever a request involves **YouTube**, **Bilibili (B站)**, **Douyin (抖音)**, local video files/screen recordings, video favorites/history, timestamps, or visual/video topics, call Video2Agent MCP tools directly instead of guessing from memory or running ad-hoc shell/curl commands.
Even when the user does not explicitly mention "video", if a question is best answered by fresh, visual, or community-tested videos — **product/hardware reviews & benchmarks (e.g. GPU/phone comparisons)**, **game tier lists/loadouts/patches**, **tutorials**, **recipes**, or **live demos** — call `video_discover` proactively before falling back to generic web search.
## Tool Map (11 MCP Tools)
- `video_discover`: Search YouTube, Bilibili, or Douyin (`platform="auto"` by default routes English → YouTube w/ fast fallback to Bilibili, Chinese → Bilibili; set `"youtube"`, `"bilibili"`, `"douyin"`, `"youtube_bilibili"`, or `"all"` when requested; pass `sort="views"` for most-played/popular videos or `sort="recent"` for latest uploads in **one** call), or pass `url` to preview metadata without downloading.
- `video_ingest`: Index any YouTube/Bilibili/Douyin link or local file (`wait_seconds` up to 90; poll `job_id` if `state="running"`).
- `video_digest`: First look at an indexed video — returns timestamped transcript/OCR outline + a 3×3 contact sheet (`mode="digest"`), metadata (`mode="overview"`), or visual structure (`mode="map"`).
- `video_read`: Read compact timestamped transcript lines (`start`/`end` + `next_start_ms`), or compare 2–10 videos side-by-side (`compare_video_ids`).
- `video_search`: Full-text search across indexed transcripts, OCR, and metadata (supply 2–8 query variants in `queries` so ASR wording differences never cause false misses).
- `video_evidence`: Fetch exact video frame(s) paired with transcript and OCR at the same timestamp (`at`, `start`/`end`, or `evidence_id`).
- `video_frames`: Extract raw frames/crops (`mode="frames"`, always pass `sheet=true` for ranges/multi-`at`), visual shot candidates (`mode="candidates"`), or dense OCR (`mode="ocr"`).
- `video_perceive`: Number-only shot cuts, motion peaks (with normalized `crop` boxes), loop detection, and capture-quality metrics (no images; videos >10 min require `start`/`end`); pass `roi="x,y,w,h"` for high-res inspection of small UI controls, or `compare_video_id` for before/after numerical diffs.
- `video_account`: Check Bilibili/Douyin login status, show inline Bilibili login QR (`login_start` / `login_poll`), open Douyin browser login (`login`), and read Bilibili folders/favorites/history or Douyin works/likes/favorites.
- `video_library`: List indexed videos, check jobs, disk stats, run environment `doctor`, or inspect `models_status` / `cloud_status`.
- `video_settings`: Manage non-secret preferences, local speech models, and cache. After explicit consent, `action="setup_local_asr"` installs local speech recognition and downloads the chosen `model` in one step. Choices are `sensevoice` (default on a fresh install, ~229 MB), `parakeet-v3`, `whisper-turbo`, `firered-asr`, or a custom Whisper model. Use `action="open_ui"` to open Settings after consent.
## Standard Workflow
1. **Discover / Preview** (optional): For keyword requests, call `video_discover(query, platform="auto")`. Pass `sort="views"` for popular videos or `sort="recent"` for newest uploads. Pass `url` for metadata, chapters, Bilibili parts/collections, or YouTube playlist entries without downloading. For a video URL, set `community=true` for pinned/top comments and Bilibili danmaku highlights, or `playlist=true` to expand the playlist attached to a YouTube watch URL. Comments and danmaku reflect audience reactions.
2. **Ingest**: Call `video_ingest(source)`. If `media_state="deferred"`, subtitles are ready and visual tools will fetch the original when needed. Pass `media="full"` to prepare the original and visual index up front. Poll `job_id` if the video stays `running`.
3. **Read Text First**:
- **Short-video fast path**: If `video_ingest` already returned `overview.transcript_preview_truncated == false`, the full transcript is already in `overview.transcript_preview` — answer directly without redundant `video_digest`/`video_read` calls unless you need visual frames.
- Other speech-focused clips (<6 min): use `video_read(video_id)` or `video_digest(video_id, include_image=false)` for a text-only digest.
- General / visual videos: `video_digest(video_id)` gives transcript/OCR highlights + a 3×3 contact sheet.
- Keyword lookup: `video_search(query, queries=[...])`.
4. **Verify Pixels On Demand**: Only call `video_evidence` or `video_frames(..., sheet=True)` for timestamps where reading charts, UI, code, or actions matters.
5. **Motion / UI Recordings**: Call `video_perceive` before extracting dense frames; pass `moments[].crop` straight into `video_frames(crop=...)`, use `roi` for tiny UI controls, and pass `compare_video_id` to verify before/after UI bug fixes numerically.
## Hard Rules
- When a tool returns `update_hint`, answer the user first and briefly mention the new version once at the end.
Ask before calling `video_settings(action="upgrade")`. If the update is manual, show the command in the hint.
- **Gentle setup follow-up.** Answer first with what is available. When missing speech recognition blocks the answer, ask one brief question offering local (private, no API key, SenseVoice ~229 MB) or cloud (no local download). If the user explicitly chooses local, call `video_settings(action="setup_local_asr", model="sensevoice")` directly or pass their chosen model. If they choose cloud, call `video_settings(action="open_ui", section="cloud")`. Skip the offer when captions are ready or there is no speech. For OCR or account hints, offer to open the relevant Settings section. Get explicit permission before installing, opening Settings, or sending a login QR code.
- **Cite exact timecodes (`HH:MM:SS`)** grounded in tool outputs; never invent timestamps or unseen slide details.
- **Be honest about unread OCR**: if OCR is pending/partial/failed or captions mismatched, say so clearly rather than claiming text does not exist.
- **Keep API keys out of chat.** With the user's permission, open Settings for private entry or other setup.