/install douyin-video-analysis
Douyin Video Analysis
Use this skill when the user gives a Douyin video URL and wants:
- the real video topic/content extracted
- the title and hook analyzed
- audio downloaded from the page if possible
- audio transcribed into readable Chinese text
- critical thinking analysis of the script/content
- results saved into Obsidian notes
Scope
This skill is for analysis and note capture, not reposting or bulk scraping.
Inputs
Expected user input:
- a Douyin short URL or full video URL
- optional analysis focus, such as:
- whether the copy is AI-generated
- title strategy
- persuasion methods
- logical flaws / manipulation / exaggeration
Output contract
Produce:
- short status update in chat
- transcript note in Obsidian
- analysis note in Obsidian
- final chat summary with note paths
Workflow
1. Resolve the real video page
- Open the Douyin URL in Chrome if needed.
- Extract:
- canonical video URL
- title
- description
- account name
- visible chapter points / page text
- Be explicit about what came from page metadata vs full transcript.
2. Extract media URLs if possible
- Prefer reading browser performance resources from the actual loaded page.
- Capture candidate audio/video stream URLs.
- If direct download gets 403, retry with browser-derived headers/cookies when available.
- Save temporary files under
/tmp/douyin_transcribe/.
3. Transcribe audio
- Prefer a local/offline path.
- Current practical path on this machine:
- Python venv in
/tmp/douyin_transcribe/venv mlx-whisper
- Python venv in
- First pass:
- use a smaller model to get a usable draft quickly
- If needed:
- do a second pass or manual cleanup for readability
- Clearly label transcript status:
- raw machine transcript
- cleaned readable version
- final polished version
4. Summarize before criticizing
Before any critical-thinking judgment, always do these two steps:
A. Content summary
- produce a concise summary of what the video actually says
- separate hook / core claim / support / conclusion
- avoid mixing your judgment into the summary
B. Useful information + evidence extraction
List the video's actually useful information and pair each item with the evidence the video itself provides. For each item, give an initial confidence judgment:
- high
- medium
- low
This prevents the analysis from becoming pure attitude.
5. Analyze critically
Always cover, unless the user narrows scope:
- what the video is actually saying
- whether the title/hook exaggerates or distorts the case
- whether the script appears AI-generated / AI-assisted / human-written
- emotional triggers used
- hidden assumptions
- survivorship bias / overgeneralization / false lessons
- what is genuinely useful vs what is manipulative or shallow
6. Save into Obsidian
Default destination:
- transcript note →
OpenClaw/Inbox/YYYY-MM-DD 抖音视频口播转写 - \x3Ctopic>.md - analysis note →
OpenClaw/Inbox/YYYY-MM-DD 抖音视频分析 - \x3Ctopic>.md
Include:
- source URL
- canonical URL
- account name if available
- what was directly obtained vs inferred
- transcript quality warning if imperfect
Response rules
- Never pretend a full transcript was obtained if only page metadata was captured.
- If only metadata is available, say so plainly.
- Distinguish between:
- page title/description analysis
- full script analysis
- Prefer usefulness over theatrical certainty.
Local implementation notes
Useful browser path
- Probe browser bridge
- Use macOS Chrome bridge to:
- open the page
- evaluate page JS
- inspect visible text
- inspect
performance.getEntriesByType("resource")
Useful temporary files
/tmp/douyin_transcribe/audio*.mp4/tmp/douyin_transcribe/venv
Suggested helper scripts
A. Grab page and audio
python3 /Users/bobzhong/.openclaw/workspace/skills/douyin-video-analysis/helpers/douyin_grab.py '\x3Cdouyin-url>'
It will:
- open the Douyin page in Chrome
- fetch page metadata from the loaded Chrome tab
- extract candidate media URLs
- attempt authenticated audio download via curl with copied headers/cookies
- return JSON containing canonical URL, title, body preview, audio URL, and local audio path
B. Transcribe and create notes
python3 /Users/bobzhong/.openclaw/workspace/skills/douyin-video-analysis/helpers/transcribe_and_note.py \
--audio-file /tmp/douyin_transcribe/audio_latest.mp4 \
--title '\x3Cvideo-title>' \
--source-url '\x3Cshared-url>' \
--page-url '\x3Ccanonical-url>' \
--account '\x3Ccreator>' \
--topic '\x3Cshort-topic>'
It will:
- transcribe the local audio with
mlx-whisper - create a transcript note in Obsidian
- create an analysis-note skeleton in Obsidian
- return both note paths as JSON
Limits
- Some videos may block direct media download.
- Machine transcripts may contain proper noun and number errors.
- Large-model transcription may be slow; start fast, then refine if needed.
When done
Tell the user:
- whether transcript is metadata-only / rough transcript / cleaned transcript
- where the notes were saved
- whether further cleanup would materially improve the analysis
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install douyin-video-analysis - 安装完成后,直接呼叫该 Skill 的名称或使用
/douyin-video-analysis触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Douyin Video Analysis 是什么?
抖音视频分析流水线:输入抖音链接后,自动/半自动抓取页面信息与音频、转写口播、总结内容、提取有用信息与对应证据、进行批判性思维分析,并把转写与分析结果写入 Obsidian。 / Analyze a Douyin video from a shared URL by extracting page metadat... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 802 次。
如何安装 Douyin Video Analysis?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install douyin-video-analysis」即可一键安装,无需额外配置。
Douyin Video Analysis 是免费的吗?
是的,Douyin Video Analysis 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Douyin Video Analysis 支持哪些平台?
Douyin Video Analysis 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Douyin Video Analysis?
由 zzmbobby(@zzmbobby)开发并维护,当前版本 v0.1.4。