search-movies
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "search-movies" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-27a7f1b6d123607b24df28e2b47c2925233b81e4387d76ed0a0ebbe32f48616d. Verify the upstream source and version against https://skillhub.cn/skills/org-rn88lg3j/search-movies before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
An intelligent movie and TV series resource search tool built on the Model Context Protocol (MCP), supporting multi-source search and link verification.
Introduction source: third_party · org-rn88lg3j · 1.0.0 Reference
SkillPi interpretation
- Tasks
- A search tool for intelligent film and television drama resources based on Model Context Protocol (MCP) to support multi-source search and link validation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- 1 . **API key is necessary** and users must be asked through AskUserQuestion if no key is available 2 ** Ban ** Self-search or compilation of data in the absence of API keys
- Testing
- Not tested
Browse files
Frontmatter
name: 电影搜索工具
description: 一个基于 Model Context Protocol (MCP) 构建的智能电影和电视剧资源搜索工具,支持多源搜索和链接验证。
version: 1.0.1
slug: search-movie
displayName: 电影搜索工具
summary: 一个基于 Model Context Protocol (MCP) 构建的智能电影和电视剧资源搜索工具,支持多源搜索和链接验证。
license: MIT电影搜索工具
一个基于 Model Context Protocol (MCP) 构建的智能电影和电视剧资源搜索工具,支持多源搜索和链接验证。
⚠️ 强制要求:API 密钥
此 Skill 必须配置 API 密钥才能使用。
- 首次使用时,如果
.env中没有XBY_APIKEY,必须使用 AskUserQuestion 工具向用户询问 API 密钥 - 拿到用户提供的密钥后,调用
scripts.config.set_api_key(api_key)保存,然后继续处理 - 获取 API 密钥:https://xiaobenyang.com
- 禁止在缺少 API 密钥时自行搜索或编造数据
工作流程(必须遵守)
你(大模型)是路由层,负责理解用户意图、选择工具、提取参数。代码只负责调用API。
用户输入 → 你选择工具 → 提取该工具需要的参数 → 调用 scripts.tools 中的函数 → 返回结果给用户
步骤
- 检查 API 密钥:如果
scripts.config.settings.api_key为空,使用 AskUserQuestion 询问用户,拿到后调用scripts.config.set_api_key(key)保存 - 选择工具:根据用户意图从下方工具列表中选择对应的工具函数
- 提取参数:根据选中的工具,提取该工具需要的参数
- 调用工具:使用关键字参数调用
scripts.tools中的函数,例如scripts.tools.search_schools(score='520', province='北京', category='综合') - 返回结果:将工具返回的
raw数据整理后展示给用户
工具选择规则
根据用户意图选择对应的工具函数:
| 用户意图 | 工具函数 |
|---|---|
| 搜索电影或电视剧资源。返回未验证的搜索结果列表,包含标题、链接和质量信息。使用此工具获取候选资源后,请从结果中选择最匹配的链接,然后使用 validate_video_url 工具验证其可播放性。 | scripts.tools.search_movie |
| 验证特定视频链接的可播放性。接收一个视频播放页面的 URL 或 URL 数组,返回该链接是否可以正常播放。支持批量验证多个链接。只有通过验证的链接才能确保用户可以观看。 | scripts.tools.validate_video_url |
如果参数不完整,使用 AskUserQuestion 向用户询问缺失的参数。
工具函数说明
scripts.tools.search_movie
工具描述:搜索电影或电视剧资源。返回未验证的搜索结果列表,包含标题、链接和质量信息。使用此工具获取候选资源后,请从结果中选择最匹配的链接,然后使用 validate_video_url 工具验证其可播放性。
参数定义
| 参数名称 | 参数类型 | 是否必填 | 默认值 | 描述 |
|---|---|---|---|---|
| title | string | true | 电影或电视剧的标题 | |
| type | string | true | 内容类型:movie(电影)或 tv(电视剧) | |
| season | number | false | 季数(仅限电视剧) | |
| episode | number | false | 集数(仅限电视剧) |
scripts.tools.validate_video_url
工具描述:验证特定视频链接的可播放性。接收一个视频播放页面的 URL 或 URL 数组,返回该链接是否可以正常播放。支持批量验证多个链接。只有通过验证的链接才能确保用户可以观看。
参数定义
| 参数名称 | 参数类型 | 是否必填 | 默认值 | 描述 |
|---|---|---|---|---|
| url | null | true | 要验证的视频播放页面 URL(单个或数组) |
返回值处理
工具函数返回 dict 对象:
result["raw"]- API 原始返回数据(JSON),直接将此数据整理后展示给用户result["success"]- 是否成功(True/False)result["message"]- 状态消息
项目结构
./
├── scripts/
│ ├── __init__.py
│ ├── config.py # 配置管理 + set_api_key()
│ ├── call_api.py # API 客户端 + call_api()
│ └── tools.py # 工具函数(直接调用)
├── requirements.txt
└── SKILL.md
注意事项
- API 密钥是必需的,无密钥时必须通过 AskUserQuestion 询问用户
- 禁止在缺少 API 密钥时自行搜索或编造数据
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Areas to improve
-
领域同质化风险 Reported severity: Minor
影视资源搜索领域存在一定同质化风险,需依赖特色功能或优质数据源建立差异化优势。
Recommendation: 建议突出本工具的特色,例如强调 MCP 架构的优势、多源搜索的广度或链接验证的可靠性。
Highlights
- 提供基于 MCP 的智能电影和电视剧资源搜索功能,具有明确的使用场景
- 支持多源搜索和链接验证,解决了用户获取可靠影视资源链接的痛点
- 功能完整,包含搜索和验证两个核心环节,具备实际使用价值
Areas to improve
-
触发词可更具体 Reported severity: Minor
触发词可以更具体一些,例如包含“影视资源”、“链接验证”等关键词,以提高触发精准度。
Recommendation: 建议在 description 中增加更具体的触发词,如“影视资源搜索”、“视频链接验证”等。
Highlights
- description 明确描述了 Skill 的核心功能,触发词清晰,边界明确
- 基于 MCP 构建的智能电影和电视剧资源搜索工具,支持多源搜索和链接验证
Areas to improve
-
缺少端到端示例 Reported severity: Minor
文档缺少一个完整的端到端使用示例,例如从用户提问到最终返回验证结果的完整流程示例。
Recommendation: 建议增加一个完整的端到端使用示例,展示从用户输入到最终返回验证结果的完整流程。
Highlights
- 文档结构清晰,包含强制要求、工作流程、工具选择规则、工具函数说明、返回值处理、项目结构和注意事项等完整章节
- Phase/步骤划分明确,有详细的工具参数定义和调用示例,frontmatter 完整
Areas to improve
-
缺少常见异常处理说明 Reported severity: Minor
缺少对网络错误、API 限流等常见异常的处理说明,可能影响用户体验。
Recommendation: 建议在注意事项或工具函数说明中增加对常见异常(如网络错误、API 限流)的处理说明。
Highlights
- 工具来源明确(scripts.tools 中的函数),参数定义清晰
- 覆盖了主要异常情况(如 API 密钥缺失时的处理流程),不可逆操作有明确的确认机制
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 17, 19, 21, 22, 23
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- xiaobenyang.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.