moviepilot-api
它能做什么
它让 AI 通过 MoviePilot 的结构化 API 处理常见的产品任务,从媒体搜索到订阅和系统设置。适用于希望 AI 替自己操作该应用的 MoviePilot 用户。
适用场景
- ✓当你想搜索某部电影或剧集,并将其加入下载时。
- ✓当你想在 MoviePilot 中管理订阅、站点、存储或工作流时。
- ✓当你想检查某个标题是否已经在你的媒体库中时。
技能链接
https://github.com/jxxghp/MoviePilot/blob/v3/skills/moviepilot-api/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请为这部剧的新一季添加订阅,并检查我的媒体库中是否已经有它。”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会使用 MoviePilot 内置的 API 网关,执行固定且受支持的操作,并把结果报告给你。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
MoviePilot API
When a plugin mutation is busy or its outcome is unknown, inspect plugin.runtime.status
before retrying. active_operation identifies the running plugin, operation, hook, and
elapsed time. A caller timeout or cancellation does not stop the hook and must never
trigger automatic replay of the same mutation.
For a historical invalid plugin instance ID reported in logs, plugin.instance.purge
accepts the exact ID with only config: true (all other scope flags false). It deletes
only an empty disabled host record: no saved configuration, display overrides, default
target, or log overrides. A saved empty configuration object still protects the record.
This recovery path never stops plugins or deletes plugin data, databases, or files.
Records with settings, clones, missing records, and mixed scopes are rejected.
Unhandled exceptions outside the durable transfer step ledger stop automatic
replay and create an unhandled_execution_review diagnostic. Repair or disable
the failing plugin and inspect the files before resolving it as not_applied;
roll back untracked effects first when needed. This diagnostic rejects applied
and does not replace the evidence for any recorded file operations.
For relevant prior conversations or previous tool evidence, use the host-provided
session_search tool when available. Discover a session, then read its anchored
messages; past results are context, not proof of current state or permission to
repeat a write. Stable preferences use search_memory; its former activity
category no longer exists. Neither tool is an API operation or an external MCP tool.
Use moviepilot_api for normal MoviePilot business operations. The tool accepts
only operation_id, path_params, query, and body. The host chooses the
fixed HTTP method and path, creates the current user's authentication token,
applies authorization and confirmation policy, and returns the API response.
slash.run confirms that a command was triggered, not that execution finished.
Channel receipts use the host-verified sender; calls without a channel use the
existing administrator notification route and may have no delivery target.
The gateway connects directly to the local backend listener using HOST and
PORT, bypassing environment proxies. APP_DOMAIN is for public URLs such as
Passkey origins and is not the gateway base URL. Keep it configured even when
the public reverse proxy is unreachable from inside the container.
subscription.add, subscription.update, and subscription.delete require
authorization for the action and scope and use the active MoviePilot user bound to the channel account,
including for channel administrators. Creation belongs to that user; ordinary
users may update or delete only their own subscriptions. An unbound or inactive
channel user must bind an active account before retrying, not switch to an
administrator identity.
subscription.list uses the current user identity and subscription ownership filtering.
The separate global subscription integration endpoint requires a valid API_TOKEN
and administrator identity. It is outside this skill's allowed operations and must
never be used to bypass user scope.
For QQ, either qq_userid or qq_openid may match the current channel ID; for
Feishu, either feishu_userid or feishu_openid may match. A single matching
field is sufficient, but the match must identify exactly one active MoviePilot
user across all candidate fields. Do not copy an openid into the userid field
as a workaround or bypass an ambiguous binding.
For subscription.update, omit settings that should stay unchanged. Send JSON
null to clear a supported optional setting; see Subscription APIs
for the exact fields and the form empty-string compatibility rule.
Music downloads keep an existing media category and otherwise use the Chinese
music label as the downloader category, without changing library or metadata categories.
qBittorrent still follows MoviePilot's configured automatic-management toggle:
when enabled, its category rules control the save location; when disabled,
MoviePilot omits the category and explicitly disables automatic management so
the requested save_path applies. Existing tasks are not reclassified or moved.
This file is intentionally kept as the routing and execution guide. Detailed
operation contracts live in the linked category files under api/; load only
the one category file needed for the selected
常见问题
它能访问任意网址或服务器吗?
不能。该技能只授权使用 MoviePilot 的结构化 API 网关,不授权任意网络请求、令牌或旧版工具。
它会不小心把插件更改执行两次吗?
不会。该技能提醒不要重试结果仍未知的插件更改,因为这可能会导致同一更改被重复执行。
它涵盖插件状态吗?
涵盖。它说明了在插件更改处于忙碌状态时,如何检查插件的运行状态。
详情
作者的原始描述
Use this skill for MoviePilot product operations such as media search, torrent search, downloads, subscriptions, library checks, sites, storage, workflows, schedulers, plugins, filter rules, and system settings. It authorizes the structured moviepilot_api gateway only; it does not authorize arbitrary HTTP, legacy Agent tools, MCP compatibility commands, authentication headers, or API tokens.
repo: jxxghp/MoviePilot
热度
- GitHub 星标
- 12k
- 排名
- #11486
- 许可证
- GPL-3.0
- 更新时间
- 2026/11/1
评论
- …