← 返回 Skills 市场
bzxcup-afk

Video Dub Clawhub

作者 bzxcup-afk · GitHub ↗ · v1.0.4 · MIT-0
cross-platform ⚠ suspicious
90
总下载
1
收藏
0
当前安装
5
版本数
在 OpenClaw 中安装
/install video-dub
功能描述
Windows-first video localization pipeline for downloading, transcribing, translating, dubbing, and retiming YouTube or Bilibili videos.
安全使用建议
This skill appears to be what it says (a local video localization pipeline) but there are a few things to check before installing or running it: - Metadata mismatch: the registry lists no required env vars/binaries, but SKILL.md and the scripts require ffmpeg, node, Python 3.10+, and at least DEEPSEEK_API_KEY. Don't trust registry metadata alone — follow SKILL.md and inspect files. - Inspect DeepSeek and TTS provider code: open video_pipeline/scripts/services/deepseek_translator.py and the TTS provider files to see exactly which remote endpoints are used and what data is sent (translation requests include transcript text and may include short context). If you must keep transcripts private, prefer a local translation/TTS or review provider privacy/retention policies. - Prefer ephemeral env vars: when testing, set DEEPSEEK_API_KEY and YTDLP_COOKIES_FILE only in the current shell/session rather than persisting at user-level. Persisting environment variables stores secrets on disk and increases risk. - Check for bugs / run in sandbox: some parts of bundled code show sloppy issues (the shipped scripts contain truncated lines and at least one reference to an undefined variable in a truncated file excerpt). Run the pipeline on non-sensitive sample videos in an isolated environment first (or in a VM/container) and inspect logs and network calls. - Package installs: pip install -r requirements.txt will pull heavy ML packages (torch, openai-whisper). Ensure you understand the runtime cost and network access required for package installation and model downloads. - Cookies file is sensitive: YTDLP_COOKIES_FILE points to a browser cookies.txt which can include authentication cookies. Only use a cookies file you control and avoid persisting paths/shared storage. If you want to proceed, first review deepseek_translator.py and any 'requests.post' or remote hostnames in the services folder, avoid persisting API keys, and test locally on non-sensitive content.
功能分析
Type: OpenClaw Skill Name: video-dub Version: 1.0.4 The skill bundle provides a complex video localization pipeline that utilizes high-risk system capabilities. Key indicators include the extensive use of 'subprocess.run' to execute external utilities like ffmpeg and yt-dlp, and the dynamic generation and execution of PowerShell scripts for Windows SAPI TTS in 'windows_sapi_tts_provider.py'. Furthermore, 'download.py' supports extracting browser cookies via 'YTDLP_COOKIES_FROM_BROWSER', a sensitive capability. While these features are plausibly necessary for the stated purpose of downloading and processing videos, the lack of robust input sanitization in shell commands and the broad system access (network, file, and shell) present a significant security risk and potential for exploitation.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The skill's files and scripts implement a Windows-first video download→transcribe→translate→TTS→retime pipeline, which matches the name/description. However, the registry metadata claims no required env vars or binaries while the SKILL.md and scripts clearly require system binaries (ffmpeg, node, Python 3.10+) and at least one API key (DEEPSEEK_API_KEY). This metadata mismatch is an incoherence that should be resolved before trusting metadata-only checks.
Instruction Scope
The SKILL.md instructions stay within the stated purpose (download, transcribe, translate, TTS, retime). They instruct an agent to set environment variables and run the local controller script. Two caution points: (1) the instructions explicitly advise persisting DEEPSEEK_API_KEY and cookies paths as user-level environment variables (writes to OS environment), and (2) the pipeline will send subtitle/text (and possibly small audio segments) to external translation/TTS providers (DeepSeek/Edge/VolcEngine/Azure) depending on config — this is expected for cloud translation/TTS but should be considered sensitive.
Install Mechanism
No install spec is provided (instruction-only installation) and the pipeline code is bundled. That minimizes hidden remote installs. The user must manually pip-install the listed requirements and ensure ffmpeg/node are present. This is proportional but requires manual review of requirements and network access for package installs.
Credentials
The pipeline legitimately needs API keys when using remote translation or TTS providers (DEEPSEEK_API_KEY, optional provider keys). However: (a) the registry metadata lists no required env vars while SKILL.md requires DEEPSEEK_API_KEY and lists several optional env vars (YTDLP_COOKIES_FILE, NODE_OPTIONS, TTS_PROVIDER, EDGE_TTS_VOICE), an inconsistency; (b) SKILL.md suggests persisting these at user-level, which stores secrets permanently on the machine — a higher-risk action than using ephemeral session vars; and (c) requirements.txt includes packages such as openai although the default translation path is DeepSeek, which is an extra dependency to review.
Persistence & Privilege
The skill does not request 'always: true' and normal autonomous invocation is allowed. The notable persistence behavior is instructional: SKILL.md recommends setting user-level environment variables (System.Environment.SetEnvironmentVariable) which persists keys/cookie paths across sessions. This is not a platform privilege, but it increases credential exposure on the host and should be a deliberate user decision.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install video-dub
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /video-dub 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.4
Rebundle: Sync with latest video_pipeline code from D:\video_pipeline
v1.0.3
Add note about using alternative translation APIs
v1.0.2
Add security notes explaining subprocess/decode/API key patterns are standard video processing practices
v1.0.1
Updated: Clarify required dependencies, environment variables, and system requirements in SKILL.md
v1.0.0
Initial release
元数据
Slug video-dub
版本 1.0.4
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 5
常见问题

Video Dub Clawhub 是什么?

Windows-first video localization pipeline for downloading, transcribing, translating, dubbing, and retiming YouTube or Bilibili videos. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 90 次。

如何安装 Video Dub Clawhub?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install video-dub」即可一键安装,无需额外配置。

Video Dub Clawhub 是免费的吗?

是的,Video Dub Clawhub 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Video Dub Clawhub 支持哪些平台?

Video Dub Clawhub 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Video Dub Clawhub?

由 bzxcup-afk(@bzxcup-afk)开发并维护,当前版本 v1.0.4。

💬 留言讨论