omd-video

omd-video is a skill for Claude Code, Codex from AbyssCN/oh-my-dag. It costs 155 tokens per session (2,015 once invoked), scanned A, original, MIT.

A pipeline that turns instructional videos into structured notes using both their visuals and audio. It is intended for videos such as lectures, tutorials, and courses where slides, diagrams, prompts, or code appear on screen.

In plain words
What is it for?
Use it to study videos from YouTube, Bilibili, or TikTok, extract spoken explanations and on-screen code or diagrams, and produce an ALL-NOTES.md file.
Why use it?
It captures information that ordinary audio transcription can miss, while organizing long videos into notes that another process can later synthesize.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Good fit Use it to study videos from YouTube, Bilibili, or TikTok, extract spoken explanations and on-screen code or diagrams, and produce an ALL-NOTES.md file.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/abysscn/oh-my-dag/omd-video
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add AbyssCN/oh-my-dag --skill omd-video
Clone the repo
git clone --depth 1 https://github.com/AbyssCN/oh-my-dag

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for omd-video

README.md
[![agentmods](https://agentmods.dev/badge/skills/abysscn/oh-my-dag/omd-video/github.svg)](https://agentmods.dev/skills/abysscn/oh-my-dag/omd-video)
Your own site
<a href="https://agentmods.dev/skills/abysscn/oh-my-dag/omd-video"><img src="https://agentmods.dev/badge/skills/abysscn/oh-my-dag/omd-video/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for omd-video

Your own site · 80×15
<a href="https://agentmods.dev/skills/abysscn/oh-my-dag/omd-video"><img src="https://agentmods.dev/badge/skills/abysscn/oh-my-dag/omd-video.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 155 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,015 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 51
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00155 $0.02015
Opus 5 $0.00077 $0.01007
Sonnet 5 $0.00031 $0.00403
Haiku 4.5 $0.00015 $0.00201

Measured 11d ago against content hash f05744beae72, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

omd-video scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (run.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

client-skills/omd-video/SKILL.md · 78 lines

How it starts

The opening of the file, as written. The whole thing — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/omd-video — 视频→逐段结构化笔记 (MiMo 多模态)

讲解类视频画面有大量 PPT/框架图/提示词/代码 = 音频拿不到 → MiMo-v2.5 原生吃视频(画面+音频),非 whisper 转写。确定性五阶段管线,可重入(已产出阶段自动跳过):discover/enumerate→download→segment→fanout→aggregate。综合/蒸馏不在本管线内——产物 ALL-NOTES.md 交给 omd dag 引擎。

何时用

抖音/B站/YouTube 讲解视频或课程系列要提炼成知识;画面信息密集(代码/图表/PPT)、音频拿不全的内容采集。

何时不用(边界)

已有文字原文要多视角综合 → /omd-council;要 web 页面内容/多源事实 → dag_research;要设计判优 → /omd-council。本管线只做"视频→笔记语料",综合让 dag 引擎做。

入口:先定用途,再定参数(跑之前必做)

视频采集是一次性昂贵操作(下载+切段+N 段并发喂模型),fps/分辨率选错 = 糊了读不到 或 烧钱重跑。所以拿到 url/描述后先判用途再定参数——能从用户描述/URL 推断就推断,并宣告选定参数再跑;只有画面构成不明(它决定 fps/res,猜错最贵)才问一句。不逐参数确认(反 ceremonial),一次问清用途即可。

三个要素定全部参数:① 画面构成(定 fps + media_resolution)② 要提取什么(定制 prompt)③ 时长量级(分段 + 成本预警)。

画面构成 --fps --media-resolution --scale prompt 侧重
纯口播/访谈/播客 1(可 0.5) default(无字·省钱) 640 口播要点
PPT 幻灯讲解 1 max 960 屏幕文字+框架图
代码演示/live coding 2 max 1280 逐行转录代码
动画/逐步 build/白板 2 max 960 抓状态变化时序
UI 操作/点选演示 2–3 max 960 操作步骤序列

「要提取什么」和 fps 正交,单独定制 fanout prompt(只要提示词模板 / 只要代码 / 完整转录 → --prompt-file 或改 DEFAULT_PROMPT)。画面构成不明时问一句:「画面主要是啥——纯人讲 / PPT / 敲代码 / 动画演示?重点抓口播还是画面里的代码/提示词?」用户答完 → 宣告选定 fps/res/scale/prompt → 跑。

怎么跑

脚本自包含在本技能目录,随 omd mcp 自装到 ~/.claude/skills/omd-video/run.py。用绝对路径调(尊重 CLAUDE_CONFIG_DIR):

SKILL="${CLAUDE_CONFIG_DIR:-$HOME/.claude}/skills/omd-video/run.py"

# 已有 url/id 列表 (每行 <url> 或 <id>|<slug>)
python "$SKILL" --urls list.txt --workdir /tmp/<job>

# 没链接只有题目: 平台搜索找片 (yt-dlp ytsearch 默认 / bilisearchN: B站; 抖音搜索不支持)
python "$SKILL" --search "<题目>" --max 6 --workdir /tmp/<job>

# 从抖音用户主页全自动枚举 (enumerate 阶段需 browser-harness 接管真 Chrome 登录态)
python "$SKILL" --enumerate "https://www.douyin.com/user/<sec_uid>" --workdir /tmp/<job>

# 单跑/补跑某阶段 (可重入)
python "$SKILL" --workdir /tmp/<job> --only fanout

env:MIMO_API_KEY 必需(os.environ 优先,否则找 CWD/.env~/.omd/.env);MIMO_BASE_URL 默认 https://api.xiaomimimo.com/v1依赖:yt-dlpffmpeg/ffprobe 在 PATH 内。

Read the full file on GitHub · 78 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 78 lines · 155 tokens per session scan A f05744beae72

Subscribe to this mod's changes

omd-video is a skill published in the GitHub repository AbyssCN/oh-my-dag (39 stars, last pushed 2d ago), licensed MIT. It adds 155 tokens to every session and 2,015 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.