← 返回 Skills 市场
aqbjqtd

Subtitle Generator

作者 sniper-one · GitHub ↗ · v1.0.7 · MIT-0
cross-platform ✓ 安全检测通过
551
总下载
0
收藏
1
当前安装
8
版本数
在 OpenClaw 中安装
/install subtitle-generator
功能描述
当用户需要生成字幕、制作字幕、字幕对齐、ASR识别、语音转文字时使用此技能。触发词:生成字幕, 字幕生成, 制作字幕, 视频字幕, 语音识别, ASR字幕, Whisper字幕, 字幕制作, 视频转字幕, 字幕对齐, 音频转字幕, 语音转文字, 自动字幕, ASR识别, faster-whisper, subti...
安全使用建议
This package appears to be a legitimate local subtitle generator, but be aware it may automatically create ~/.whisper-venv and run pip installs (faster-whisper/openai-whisper/ffmpeg-python) which will download and install code and possibly native wheels. If you want to be cautious: (1) inspect or run the script in an isolated environment or container, (2) ensure you have ffmpeg installed separately, (3) be prepared for potentially long installs or native compilation, and (4) note the skill expects to be run in the background and will use the OpenClaw 'system event' / message flow to notify you (it will not exfiltrate data to remote endpoints). If you need higher assurance, request a signed upstream source/homepage or run the code manually first to review behavior.
功能分析
Type: OpenClaw Skill Name: subtitle-generator Version: 1.0.7 The subtitle-generator skill is a legitimate tool for ASR and subtitle creation using Faster-Whisper and OpenAI Whisper. It features an automated setup process in `engines/__init__.py` that creates a local virtual environment (`~/.whisper-venv`) and installs necessary dependencies via pip. The `SKILL.md` provides operational instructions for the OpenClaw agent to handle long-running tasks using background execution and system events for notifications. While the code utilizes `subprocess` to interact with `ffmpeg` and the `openclaw` CLI, these actions are consistent with the stated functionality and do not exhibit signs of malicious intent or data exfiltration.
能力评估
Purpose & Capability
Name/description (subtitle/ASR) align with the included Python code: audio extraction (ffmpeg), ASR engine wrappers (faster-whisper / openai-whisper), timing alignment, and subtitle file generation. No unrelated credentials, binaries, or config paths are requested.
Instruction Scope
SKILL.md instructs the agent to run the bundled CLI script in background and to use openclaw events/message tools for notifications; the code implements that. One small mismatch: SKILL.md claims engines/__init__.py will auto-create the venv on first import, but the code only triggers venv creation when create_engine cannot import an engine (ensure_whisper_venv is called later). Otherwise instructions stay within the subtitle task (no file reads or env access outside the skill's scope).
Install Mechanism
No platform install spec is provided, but the code will auto-create ~/.whisper-venv and run pip install -r requirements.txt (faster-whisper, openai-whisper, ffmpeg-python) when needed. Installing PyPI packages at runtime is expected for this functionality but is a higher-impact action (downloads, possible native builds) than a pure instruction-only skill.
Credentials
The skill requests no environment variables or credentials and only uses Path.home() and standard local commands. The packages installed are proportional to ASR/subtitle generation; no unrelated secret access is requested.
Persistence & Privilege
The skill does not request always:true and does not modify other skills. It will create a per-user venv (~/.whisper-venv) and write subtitle files next to the video—these are reasonable for its purpose.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install subtitle-generator
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /subtitle-generator 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.7
清理重复表述,整合执行规则和 AI 回复模板
v1.0.6
修复:明确 system event 只唤醒 AI、发消息必须用 message 工具
v1.0.5
Add GPU Acceleration section with Apple Silicon Metal setup instructions (extra-index-url for M-series PyTorch Metal wheels). Add ffmpeg installation table for all platforms.
v1.0.4
Platform-aware Python detection: python3 on macOS/Linux, python on Windows (avoids macOS system Python 2.7). Cross-platform openclaw notification via shutil.which first, fallback to nvm path.
v1.0.3
Fix python3 hardcoded command for Windows compatibility (use shutil.which to find python/python3). Fix WHISPER_VENV_SITE path in main.py to use dynamic detection. Add ffmpeg pre-check with clear install instructions for Windows/macOS/Linux.
v1.0.2
P0: Dynamic venv Python version detection (fixes macOS compatibility). P1: Remove hardcoded cu124 (CTranslate2 handles GPU natively). P1: Add step-0 env auto-deploy note in SKILL.md.
v1.0.1
Cross-platform notifications: omit channel parameter to auto-detect current chat platform
v1.0.0
Initial release: pluggable ASR engines, auto GPU detection, bilingual documentation, 99+ language support
元数据
Slug subtitle-generator
版本 1.0.7
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 8
常见问题

Subtitle Generator 是什么?

当用户需要生成字幕、制作字幕、字幕对齐、ASR识别、语音转文字时使用此技能。触发词:生成字幕, 字幕生成, 制作字幕, 视频字幕, 语音识别, ASR字幕, Whisper字幕, 字幕制作, 视频转字幕, 字幕对齐, 音频转字幕, 语音转文字, 自动字幕, ASR识别, faster-whisper, subti... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 551 次。

如何安装 Subtitle Generator?

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

Subtitle Generator 是免费的吗?

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

Subtitle Generator 支持哪些平台?

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

谁开发了 Subtitle Generator?

由 sniper-one(@aqbjqtd)开发并维护,当前版本 v1.0.7。

💬 留言讨论