360 Secure SkillHub
360 安全技能中心

Video Learner

接收抖音、哔哩哔哩或 YouTube 视频链接,用 yt-dlp 下载、ffmpeg 提取音频、Whisper 本地转写,再由智能体分析文本;用户确认后把结论写成新的 SKILL.md 存入 OpenClaw 技能目录,并清理临时视频文件。

keke-skills
keke-skills
热度 54.15
最近更新 2026-05-11 17:37:15
分类:知识依赖:代码执行 / 读写文件 / 内部调用大模型应用场景:摘要总结 / 笔记整理 / 概念解释

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add video-learner
Metadata
name
video-learner
description
Analyze video content and generate a callable Skill.
requires
{"binaries":["python3","yt-dlp","ffmpeg","whisper","node"],"skills":["douyin-download"],"paths":["~/.openclaw/workspace/skills/"]}

Video-Learner

Declared Requirements

This skill requires the following tools and access:

  • Tools: python3, yt-dlp, ffmpeg, whisper (Python package), node
  • Dependency: douyin-download (requires node)
  • Write path: ~/.openclaw/workspace/skills/

Trigger

When the user sends a Douyin/BiliBili/YouTube video link, this skill is invoked.

Processing Flow

  1. Create temp directory in /tmp/ for video download
  2. Download video using yt-dlp or douyin-download
  3. Extract audio using ffmpeg
  4. Transcribe audio to text using Whisper (local)
  5. Analyze text content using the agent's LLM capability
  6. Display analysis results to user
  7. After user confirmation, generate SKILL.md to ~/.openclaw/workspace/skills//
  8. Delete temp video files after processing

Security Notes

  • Whisper: Runs locally, no audio sent to external services
  • Content analysis: Uses the agent's own model capability
  • Temp files: Automatically cleaned up after processing
  • User confirmation: Generated new Skill requires explicit user approval
  • Generated Skills are stored in ~/.openclaw/workspace/skills/, can be deleted anytime

Limitations

  • Only processes user-provided video links
  • Does not proactively fetch other content
  • Does not store video files