技能详情(站内镜像,无评论)
作者:Anonymous @adminlove520
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v0.1.0
统计:⭐ 0 · 152 · 0 current installs · 0 all-time installs
⭐ 0
安装量(当前) 0
🛡 VirusTotal :可疑 · OpenClaw :可疑
Package:adminlove520/movie-subtitle-viewer
安全扫描(ClawHub)
- VirusTotal :可疑
- OpenClaw :可疑
OpenClaw 评估
The skill mostly does what it says (search/download/parse OpenSubtitles subtitles) but there are several inconsistencies and missing pieces (registry metadata doesn't declare required credentials, some referenced files are absent), so treat it as untrusted until those are clarified.
目的
The code and SKILL.md behavior (searching OpenSubtitles, downloading .srt/.ass, parsing via pysubs2) align with the declared purpose. However the registry metadata claims no required env vars/credentials while both SKILL.md and subtitle_client.py clearly require OPENSUBTITLES_API_KEY, OPENSUBTITLES_USERNAME, and OPENSUBTITLES_PASSWORD — that registry omission is an inconsistency that should be corrected.
说明范围
Runtime instructions and code explicitly read OpenSubtitles credentials from environment variables and save downloaded subtitle files into the workspace. The SKILL.md also references higher-level features (generating summaries) and files (movie_summary.py, scripts/movie_viewer.py) that are not present in the package — the missing components and the discrepancy between declared and actually-used env vars are scope/integrity concerns. The instru…
安装机制
There is no install spec (instruction-only from platform perspective) but a requirements.txt is included and README suggests pip installing pysubs2, requests, and python-dotenv. This is low-to-moderate risk; no arbitrary remote downloads or extract steps are present. One minor inconsistency: python-dotenv is listed but the code does not call dotenv.load_dotenv (it expects env vars to be set), and README/SKILL.md reference files (.env.example) …
证书
The environment variables required by the code (OPENSUBTITLES_API_KEY, OPENSUBTITLES_USERNAME, OPENSUBTITLES_PASSWORD) are appropriate for accessing OpenSubtitles, but the registry metadata does not declare them (primaryEnv is none). That mismatch could cause users to miss that credentials are needed. The skill will store downloaded subtitle files in the workspace — consider whether you want API credentials and downloaded files in that environ…
持久
The skill does not request always:true and it does not attempt to modify other skills or system-wide configuration. It writes subtitle files to the workspace (normal for this function) but does not request elevated or persistent platform privileges.
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Movie Subtitle Viewer」。简介:Search, download, parse, and summarize movie subtitles from OpenSubtitles in .s…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/adminlove520/movie-subtitle-viewer/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
# Movie Subtitle Viewer Skill
让 AI 通过字幕「看」电影的 OpenClaw 技能。
## 触发词
- "看电影"
- "搜字幕"
- "下载字幕"
- "subtitle"
## 功能
1. **搜索字幕** - 通过电影名/年份搜索 OpenSubtitles
2. **下载字幕** - 下载 .srt 格式字幕文件
3. **解析字幕** - 提取电影台词
4. **生成摘要** - 让 AI 理解剧情
## 使用方法
### 搜索电影字幕
```
小溪,帮我搜索《XXX》的字幕
```
### 搜索并下载
```
小溪,帮我下载《人工智能》的英文字幕
```
### 解析字幕
```
小溪,帮我解析这个字幕文件
```
## 环境变量
需要在 `.env` 或系统环境中设置:
```
OPENSUBTITLES_API_KEY=your_api_key
OPENSUBTITLES_USERNAME=your_username
OPENSUBTITLES_PASSWORD=your_password
```
## 获取 OpenSubtitles API
1. 注册 https://www.opensubtitles.com
2. 进入 Profile → API
3. 生成 API Key
## 注意事项
- ⚠️ 不要泄露你的 API Key 和密码
- 📝 字幕文件会保存在 workspace 目录
- 🎬 支持 .srt 和 .ass 格式
## 示例
### 看《机械姬》
```
用户: 小溪,帮我下载《机械姬》的字幕
小溪: 好的!让我搜索一下...
[搜索字幕]
[下载字幕]
[解析台词]
《机械姬》剧情摘要:
- 程序员 Caleb 被邀请到老板的豪宅,对 AI 进行图灵测试
- AI 名为 Ava,具有人类外貌和高度智能
- 测试过程中,Ava 开始展现出自我意识和操控欲...
```
## 依赖
- `pysubs2` - 字幕解析
- `requests` - HTTP 请求
## 目录
```
skill/
├── SKILL.md # 本文件
└── scripts/
└── movie_viewer.py # 核心逻辑
```
---
🦞 Skill for OpenClaw | Made by 小溪