moviepilot-update
它能做什么
它指导 AI 检查 MoviePilot 的发布版本,准备更新,并使用内置的系统操作重启应用。适用于 MoviePilot 管理员。
适用场景
- ✓当你想查看有哪些 MoviePilot 版本或更新可用时。
- ✓当你希望在安装前先在后台下载新发布的版本时。
- ✓当更新或设置更改之后需要重启 MoviePilot 时。
技能链接
https://github.com/jxxghp/MoviePilot/blob/v3/skills/moviepilot-update/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“是否有更新的 MoviePilot 版本?你能在后台下载它吗?”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会使用固定的系统操作检查版本、准备更新,并报告进度。只有在你确认后,它才会重启。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
MoviePilot Update
Use this skill for MoviePilot restart and upgrade operations.
Use the built-in moviepilot_api tool only. The host selects fixed API routes, authenticates with the trusted Agent identity, and applies administrator and confirmation policy. Never request or pass an API token, URL, HTTP method, shell command, or legacy helper script.
Operations
Check versions
{"operation_id":"system.versions","path_params":{},"query":{},"body":{}}
This read-only operation lists available MoviePilot releases.
Restart MoviePilot
{"operation_id":"system.restart","path_params":{},"query":{},"body":{}}
Restart requires explicit confirmation and interrupts the current Agent session.
Release update
Check for the highest stable V3 Release and inspect current progress. A manual check may replace an older prepared target with a newer version; failed checks preserve downloaded packages:
{"operation_id":"system.update.check","path_params":{},"query":{},"body":{}}
{"operation_id":"system.update.status","path_params":{},"query":{},"body":{}}
When supports_batch_update=true, prepare the latest backend, matching frontend, and site resources together. This does not restart MoviePilot:
{"operation_id":"system.update.download","path_params":{},"query":{},"body":{"target":"all"}}
After every non-idle item in updates reports state=ready and no item has a check error, installation requires a separate explicit confirmation:
{"operation_id":"system.update.install","path_params":{},"query":{},"body":{"target":"all"}}
install writes one verified install intent and restarts MoviePilot once. Do not call it until the user explicitly confirms the restart. Use target=application or target=resources for a specifically requested single-target update. On older hosts without supports_batch_update, retain the single-target flow; an omitted target defaults to application.
Dev update and restart
{"operation_id":"system.upgrade.dev","path_params":{},"query":{},"body":"dev"}
The body must be the exact JSON string "dev". Stable Release updates must use check, download, status, and install instead.
Notes
- All operations require a MoviePilot administrator or a verified notification-channel administrator. The host performs authorization; the model must never invent an administrator flag.
- Only restart, Release installation, and Dev upgrade interrupt the current agent session. Checking and downloading remain online.
- Scheduled checks preserve downloaded packages; explicit checks refresh an older prepared target only when a higher version exists. Active downloads and installations remain protected. A previously overwritten resource state can recover to
readyafter validating the matching staged package; useupdatesto inspect each target and request installation confirmation instead of downloading it again. - Prefer the API flow above. Only fall back to manual container commands when the API is unavailable.
常见问题
重启会中断我的 AI 会话吗?
会。该技能说明,重启会中断当前的智能体会话,因此需要你明确确认。
它会手动替换文件吗?
不会。该技能优先使用内置的更新 API,而不是容器命令或手动替换文件。
它涵盖 Dev 分支吗?
涵盖。它保留了现有的 Dev 分支更新流程。
详情
作者的原始描述
Use this skill to check MoviePilot versions, inspect Release update state, download a Release update in the background, confirm installation, restart MoviePilot, or retain the existing Dev branch update flow. Prefer the built-in system APIs instead of container commands or manual file replacement.
repo: jxxghp/MoviePilot
热度
- GitHub 星标
- 12k
- 排名
- #11487
- 许可证
- GPL-3.0
- 更新时间
- 2026/11/1
评论
- …