Video summarization for Bilibili, Xiaohongshu, Douyin, and YouTube. Extract insights from video content through transcription and summarization.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install video-summary或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install video-summary⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/video-summary/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: video-summary version: 1.6.4 description: "Video summarization for Bilibili, Xiaohongshu, Douyin, and YouTube. Extract insights from video content through transcription and summarization."
metadata: openclaw: requires: bins: ["yt-dlp", "jq", "ffmpeg", "ffprobe", "bc"] credentials: - name: "OPENAI_API_KEY" required: false description: "API key for LLM summarization (optional, script outputs request for agent processing)" - name: "OPENAI_BASE_URL" required: false description: "Custom API endpoint (e.g., for Zhipu, DeepSeek)" - name: "VIDEO_SUMMARY_COOKIES" required: false description: "Path to cookies file for restricted video content" behavior: networkAccess: indirect description: "Downloads videos/subtitles from video platforms using yt-dlp. Summarization requests are output as structured text for agent/external LLM processing. Script itself makes no direct LLM API calls. Requires yt-dlp, jq, ffmpeg. Optional: VIDEO_SUMMARY_WHISPER_MODEL, VIDEO_SUMMARY_COOKIES, OPENAI_BASE_URL, OPENAI_MODEL." ---
Intelligent video summarization for multi-platform content. Supports Bilibili, Xiaohongshu, Douyin, YouTube, and local video files.
---
No API key required to run. This skill extracts video content and outputs structured requests for summarization. The agent (or external tool) handles LLM calls.
# Optional: If you want the agent to call LLM for summarization
export OPENAI_API_KEY="your-api-key-here"
export OPENAI_BASE_URL=https://open.bigmodel.cn/api/paas/v4
# Optional: Whisper model for transcription (default: base)
export VIDEO_SUMMARY_WHISPER_MODEL=base
How it works:
Just set OPENAI_BASE_URL to the provider's API endpoint.
Xiaohongshu and Douyin may need cookies for some videos:
# Set cookie file path
export VIDEO_SUMMARY_COOKIES=/path/to/cookies.txt
# Or use --cookies flag
video-summary "https://xiaohongshu.com/..." --cookies cookies.txt
⚠️ Cookie Security Note:
If configuration is incomplete, say: > "help me configure video-summary"
---
# Check all required tools
yt-dlp --version && jq --version && ffmpeg -version
# If missing, install
pip install yt-dlp
apt install jq ffmpeg # or: brew install jq ffmpeg
# Standard summary
video-summary "https://www.bilibili.com/video/BV1xx411c7mu"
# With chapter segmentation
video-summary "https://www.youtube.com/watch?v=xxxxx" --chapter
# JSON output for programmatic use
video-summary "https://www.xiaohongshu.com/explore/xxxxx" --json
# Subtitle only (no AI summary)
video-summary "https://v.douyin.com/xxxxx" --subtitle
# Save to file
video-summary "https://www.bilibili.com/video/BV1xx" --output summary.md
# Use cookies for restricted content
video-summary "https://www.xiaohongshu.com/explore/xxxxx" --cookies cookies.txt
Just say: > "Summarize this video: [URL]"
The agent will automatically:
---
| Command | Description | |---------|-------------| | video-summary " | Generate standard summary | | video-summary " | Chapter-by-chapter breakdown | | video-summary " | Extract raw transcript only | | video-summary " | Structured JSON output | | video-summary " | Specify subtitle language (default: auto) | | video-summary " | Save output to file | | video-summary " | Use cookies file | | video-summary " | Force Whisper transcription |
---
| Platform | Subtitle Extraction | Notes | |----------|-------------------|-------| | YouTube | Native CC + auto-generated | Best support | | Bilibili | Native CC + backup methods | Requires video ID extraction | | Xiaohongshu | Limited (OCR fallback) | No native subtitles, uses transcription | | Douyin | Limited (OCR fallback) | Short-form video, may need transcription | | Local files | Whisper transcription | Supports mp4, mkv, webm, mp3, etc. |
YouTube:
https://www.youtube.com/watch?v=xxxxxhttps://youtu.be/xxxxxBilibili:
https://www.bilibili.com/video/BV1xx411c7muhttps://www.bilibili.com/video/av123456Xiaohongshu:
https://www.xiaohongshu.com/explore/xxxxxhttps://xhslink.com/xxxxx (short link)Douyin:
https://www.douyin.com/video/xxxxxhttps://v.douyin.com/xxxxx (short link)URL Input
↓
Platform Detection
↓
Subtitle Extraction (yt-dlp / Whisper)
↓
Content Chunking (if long)
↓
LLM Summarization (OpenAI API / Agent)
↓
Structured Output
↓
Auto Cleanup
---
| Video Duration | tiny | base | small | medium | |---------------|------|------|-------|--------| | 5 min | ~30s | ~1m | ~2m | ~4m | | 15 min | ~1.5m | ~3m | ~6m | ~12m | | 30 min | ~3m | ~6m | ~15m | ~30m | | 60 min | ~6m | ~12m | ~30m | ~60m |
Notes:
base model recommended for balance| Platform | Time | Notes | |----------|------|-------| | YouTube | ~5s | Direct subtitle download | | Bilibili | ~5s | Direct subtitle download | | Xiaohongshu | ~3m | Requires transcription | | Douyin | ~2m | Requires transcription |
---
For platforms without native subtitles (Xiaohongshu, Douyin), install Whisper:
pip install openai-whisper
Then configure:
export VIDEO_SUMMARY_WHISPER_MODEL=base # tiny, base, small, medium, large
This script does NOT directly call LLM APIs. It outputs structured requests for the agent to process.
If you want the agent to call LLM for summarization, configure:
# Optional: API key for your LLM provider
export OPENAI_API_KEY="your-api-key-here"
...安装 Video Summary 后,可以对 AI 说这些话来触发它
Help me get started with Video Summary
Explains what Video Summary does, walks through the setup, and runs a quick demo based on your current project
Use Video Summary to video summarization for Bilibili, Xiaohongshu, Douyin, and YouTube
Invokes Video Summary with the right parameters and returns the result directly in the conversation
What can I do with Video Summary in my design & creative workflow?
Lists the top use cases for Video Summary, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/video-summary/ 目录(个人级,所有项目可用),或 .claude/skills/video-summary/(项目级)。重启 AI 客户端后,用 /video-summary 主动调用,或让 AI 根据上下文自动发现并使用。
Video Summary 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Video Summary 可免费安装使用。请查阅仓库了解许可证信息。
Video summarization for Bilibili, Xiaohongshu, Douyin, and YouTube. Extract insights from video content through transcription and summarization.
Video Summary 属于「Design & Creative」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my design & creative tasks using Video Summary
Identifies repetitive steps in your workflow and sets up Video Summary to handle them automatically