Vidlens — AI skill for Claude Code
为 AI Agent 准备多模态视频证据:抖音/B站转写、自适应取帧、时间线素材包;支持 Windows、macOS 与 Linux.
How to install Vidlens
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open lordfine/vidlens and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Vidlens does
为 AI Agent 准备多模态视频证据:抖音/B站转写、自适应取帧、时间线素材包;支持 Windows、macOS 与 Linux。
Alternatives in AI
- Pinky — Let AI use your iPhone or Android phone, with you in the loop: any MCP agent from macOS, Windows or Linux, or 2.4k ★
- Open Science — Open Science Desktop — local-first, model-agnostic AI research workbench for macOS, Windows & Linux 1.5k ★
- OpenGhost — Open desktop AI agent for Windows, macOS and Linux, written from scratch: its own agent engine, its own browse 266 ★
README
vidlens · 视频透镜
**Skill + CLI,让 AI Agent 看懂整段视频:说了什么、画面出现什么,以及分别发生在何时。**
抖音与 B 站 → 原视频、音频、带时间戳转写、自适应帧图和统一证据时间线
[快速开始](#快速开始) · [安装](#安装) · [输出内容](#输出内容) · [平台支持](#平台支持)
[](https://github.com/lordfine/vidlens/actions/workflows/ci.yml) [](pyproject.toml) [](LICENSE) [](#平台支持)
让 Agent 读视频,不只是听视频
vidlens 为调用它的 Agent 准备可引用的多模态证据。工具不生成摘要、不连接多模态 API,也不会把媒体上传到 vidlens 服务;结论由 Agent 使用自己的多模态能力完成。
| 证据 | vidlens 提供什么 |
|---|---|
| 原视频 | 缓存中的本地文件路径,Agent 可查看画面与画面文字 |
| 原音频 | 即使视频已有平台字幕,也始终缓存并在 manifest 中提供路径 |
| 语音与字幕 | 优先保留平台字幕;无字幕时使用本地 ASR,片段带起止时间 |
| 帧图 | 在整段视频范围内自适应取样;按需可对时间区间补帧 |
| 证据时间线 | 按视频时间排序,关联字幕/语音片段与帧图文件 |
快速开始
vidlens prepare "https://v.douyin.com/xxxx/" --granularity medium
也支持 B 站:
vidlens prepare "https://www.bilibili.com/video/BVxxxxxx/" --granularity medium
先读输出目录中的 `context.md` 和 `manifest.json`。Agent 可按 `manifest.files.evidence_timeline` 读取统一时间线,并从 `manifest.files.video_local`、`manifest.files.audio_local` 访问缓存媒体。媒体路径在用户清理对应缓存前有效;素材包默认不复制大文件。
自适应帧预算
帧预算按画面变化自适应,不按固定帧率把长视频前段抽满:
- 至少 10 帧作为全片覆盖基础,默认以 30 帧为基准,画面稳定时可降至 10 帧;常规上限 75 帧。
- 画面变化明显时可自动扩到 100 帧;超过 100 帧必须先得到用户明确允许,并显式传入
--allow-over-100-frames。 - manifest 记录实际帧数、时间戳、图像尺寸和选帧原因。具体图片 token 数由调用模型决定。
- 需要看局部细节时,Agent 可在用户已提供的视频上按时间段补帧:
vidlens frames "https://v.douyin.com/xxxx/" --mode count --start 120 --end 150 --count 10
`--start` 和 `--end` 使用视频秒数,补帧时间戳仍对应原视频时间。
安装
vidlens 由两个配合使用的部分组成:CLI 获取并处理视频,Skill 指导 Agent 选择命令、读取多模态证据、核对内容并输出分析。CLI 也可以独立使用。
全局安装
使用 [uv](https://docs.astral.sh/uv/) 将 `
Related Skills
Signal Vaults
WeChat group & official-account AI knowledge digest — agent-friendly (Codex/Claude Code), Windows/macOS/Linux
Orquestrador Maestro
AI agent orchestration kit for Windows, Linux/MacOS with Codex skills, hooks, routing rules and profiles for C
Stone
Personal, local-first desktop AI gateway for Windows, macOS, and Linux. Connect Claude Code, Codex, and Gemini
Unterm
The terminal AI agents can drive — and the cockpit to run them from. 99 MCP methods / 21 namespaces, agent Inb
Youcoded
A fully customizable AI assistant and open-source everything app. Any AI model — Claude, ChatGPT, hundreds mor
Hf Studio
Self-hosted AI video, image and audio studio on the Higgsfield and ElevenLabs APIs: MCP server for Claude Code
Related Agents
Byok Token Security Expert
BYOK (Bring-Your-Own-Key) and OAuth token security expert. Deep on cross-platform OS keychain integration (mac
Desktop Dev
Builds the desktop app (Windows, macOS, Linux, as project.toml says) from product-designer's design and the AP
Slim Wrapper
tfx-route.sh 경유 전용 래퍼 에이전트. 코드를 직접 읽거나 수정하지 않고 Bash(tfx-route.sh)를 통해 Codex/Antigravity에 위임하는 thin wrapper. OS