2.3k HUANGCHIHHUNGLeo

claude-real-video Skill

替用户观看视频。当用户分享视频链接(YouTube 等)或本地视频文件,希望总结、分析或讨论时使用——Claude 无法直接读取视频,所以这个 skill 会先提取带场景感知的关键帧和文字稿,然后再阅读这些内容。

安装方式:把技能目录放入 ~/.claude/skills/(Claude Code)或在 claude.ai 设置中启用;也可复制右侧安装命令一键添加。

查看源码

技能指令原文(SKILL.md)

claude-real-video — let Claude actually watch a video

When to use

The user gives you a video (URL or file path) and asks what's in it, to summarize it, to analyze its structure, or to answer questions about it.

Requirements

  • pip install claude-real-video (installs the crv CLI; needs Python 3.10+ and ffmpeg)
  • First transcription downloads a faster-whisper model automatically

Steps

  1. Run the extractor (add --grid to cut image count ~9x — recommended):
   crv "<url-or-path>" -o crv-out --grid --why "<what the user wants to know>"

For long videos cap the frames: --max-frames 60.

  1. Read crv-out/MANIFEST.txt first — it lists every frame with timestamps and includes the transcript.
  1. Read the contact sheets in crv-out/grids/ (each is a 3×3 sequence of consecutive keyframes, in chronological order). Only read individual crv-out/frames/*.jpg when you need a close-up of one moment.
  1. Answer the user's question, citing timestamps from the manifest.

Notes

  • Everything runs locally; nothing is uploaded by the tool itself.
  • If the video has no speech or transcription is unnecessary, add --no-transcribe (much faster).
  • --kb saves a digest into a knowledge-base folder if the user wants to keep notes.