← 返回 Skills 市场
AI视频短视频创作器
作者
Jessy-Huang
· GitHub ↗
· v1.0.0
· MIT-0
84
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install video-short-creator
功能描述
Two-phase AI-narrated video short creator with human review checkpoints. Phase 1 analyzes source materials, generates TTS narration via edge-tts, and exports...
安全使用建议
This skill appears to do what it says (local TTS + FFmpeg video assembly), but review the code before running: 1) step1_generate_review.py has a missing import for edge_tts and will crash unless corrected — the second script contains a safer async TTS generator that imports edge_tts locally. 2) step2_edit_video.py constructs an ffmpeg command string and runs it via os.system; if any clip paths are attacker-controlled or contain shell metacharacters this could lead to command injection — prefer using subprocess with a list of args or sanitize/validate paths. 3) The tool imports a user-supplied config.py (this executes code) so only use configs from trusted sources. 4) edge-tts will contact Microsoft TTS endpoints (no API key), so expect network traffic for TTS. If you plan to run this, (a) run it in a controlled environment, (b) inspect/validate clip filenames in your config, (c) patch step1 to import edge_tts or use the step2 helper that imports it, and (d) replace the os.system ffmpeg invocation with subprocess.run(list_args) or use the provided concat fallback to avoid shell execution. If you want, I can produce a small patch for the missing import and convert the xfade command to subprocess-safe invocation.
功能分析
Type: OpenClaw Skill
Name: video-short-creator
Version: 1.0.0
The skill bundle implements a legitimate video creation workflow using FFmpeg and edge-tts, but it contains high-risk coding patterns that could be exploited. Specifically, `scripts/step2_edit_video.py` uses `os.system()` to execute a complex command string, which is vulnerable to shell injection if file names or parameters are manipulated. Additionally, `scripts/step1_generate_review.py` uses `importlib` to dynamically execute a Python-based configuration file, creating a vector for arbitrary code execution. While these appear to be functional design choices for a local utility, they represent significant security vulnerabilities in an automated agent environment.
能力标签
能力评估
Purpose & Capability
Name/description, SKILL.md, README, config-example.py and the two scripts consistently implement a local two‑phase AI TTS + FFmpeg video assembly workflow; requested tools (edge-tts, FFmpeg, Python) match the stated purpose.
Instruction Scope
SKILL.md limits scope to local files and human review checkpoints, but the code contains unsafe or inconsistent instructions: step1_generate_review.py references edge_tts.Communicate without importing edge_tts (runtime bug), and step2_edit_video.py builds a long ffmpeg command string and executes it with os.system() (shell execution of user-supplied paths), which can be a command-injection vector if clip paths are untrusted.
Install Mechanism
No install spec; scripts are instruction-only and rely on standard packages (edge-tts via pip) and FFmpeg from official sources. Nothing is downloaded from arbitrary URLs or written to unexpected system locations.
Credentials
The skill declares no environment variables or credentials. The code only reads a user-provided config.py (normal for a local tool) and local media file paths; no hidden credential access or external tokens are requested.
Persistence & Privilege
Skill is not always-enabled and does not request elevated or persistent platform privileges. It writes outputs to user-specified OUTPUT_DIR and VIDEO_DIR only, which is expected behavior for a media tool.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install video-short-creator - 安装完成后,直接呼叫该 Skill 的名称或使用
/video-short-creator触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of Video Short Creator – a two-phase AI-narrated video creation workflow with human review checkpoints.
- Automates short-form video creation using existing video clips and AI-generated voiceover.
- Phase 1: Analyzes clips, drafts or loads scripts, generates TTS narration, and exports a synchronized subtitle review sheet for user approval.
- Phase 2: Builds final video using FFmpeg with automated clipping, scaling, transitions, hardcoded subtitles, and merged narration audio.
- Includes robust user review steps enabling corrections of script, subtitles, and clip mapping before final rendering.
- Optimized for tech/AI explanation videos targeting social media, with best-practices guidance and Windows compatibility tips.
元数据
常见问题
AI视频短视频创作器 是什么?
Two-phase AI-narrated video short creator with human review checkpoints. Phase 1 analyzes source materials, generates TTS narration via edge-tts, and exports... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 84 次。
如何安装 AI视频短视频创作器?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install video-short-creator」即可一键安装,无需额外配置。
AI视频短视频创作器 是免费的吗?
是的,AI视频短视频创作器 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
AI视频短视频创作器 支持哪些平台?
AI视频短视频创作器 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 AI视频短视频创作器?
由 Jessy-Huang(@jessy-huang)开发并维护,当前版本 v1.0.0。
推荐 Skills