watchvid.en — Claude Code rule: video links and setup
watchvid.en is a Claude Code rule that processes video links through a script and an index of materials to read. It activates when the agent receives a video link.
Apache-2.0 ★ 262 updated 2026-11-17
.claude/rules/watchvid.en.mdWhat watchvid.en does
For a video link, watchvid.en runs {{UV}} run -q --script {{TOOLS}}/watchvid.py <link>. The command’s final output line gives the path to watchvid-index.md.
The agent reads that index first, then the listed frames, transcript, and comments. A title and description alone do not cover the video’s contents.
What it helps with
- process a video link
- locate the index of materials for a video
- read a video's frames, transcript, and comments
Example prompts for the agent
- Analyze the content of this video from its link.
- Process this video link, then read the materials listed in its index.
- Read the frames, transcript, and comments for this video.
How to install watchvid.en
Manually: put the files in place
.claude/rules/watchvid.en.mdThe paths frontmatter field limits the files
AGENTS.md
Codex reads AGENTS.md: paste the rule text there
Manually: put the files in place
.cursor/rules/watchvid.en.mdcFrontmatter: description, globs, alwaysApply
Manually: put the files in place
.github/instructions/watchvid.en.instructions.mdThe applyTo field sets which files it applies to
Manually: put the files in place
.devin/rules/watchvid.en.mdManually: put the files in place
.clinerules/watchvid.en.mdStep by step, with commands for each platform: AGENTS.md vs CLAUDE.md: what they are and which one to use
Questions about watchvid.en
How do I install watchvid.en in Claude Code?
Add the rule file at .claude/rules/watchvid.en.md.
What does watchvid.en do?
For a video link, the rule runs a script that returns the path to watchvid-index.md. The agent reads the frames, transcript, and comments listed there.
What does the agent read after running the script?
It opens watchvid-index.md first, then reads the frames, transcript, and comments listed in it.
Source text
watchvid.en.md · Apache-2.0
- Videos: for a video link (Bilibili, YouTube, …) run `{{UV}} run -q --script {{TOOLS}}/watchvid.py <link>`; its last line is the path of `watchvid-index.md`. Read that first, then the frames, transcript and comments it lists. Reading only the title and description is not watching the video.
© zuiho-kai · Apache-2.0 · zuiho-kai/bothouse