跳到正文
Skillpedia
自动化12k · #11482

downloader-operation

它能做什么

它让 AI 在你已配置的下载客户端中检查和管理种子下载,无需你共享登录信息。适用于希望查看或修复下载任务的 MoviePilot 用户。

适用场景

  • ✓当你想查看 qBittorrent、Transmission 或 rTorrent 中种子的状态时。
  • ✓当某个下载卡住,你想检查其节点、追踪器或队列顺序时。
  • ✓当你想为一批下载任务修改限速、标签或文件位置时。

技能链接

https://github.com/jxxghp/MoviePilot/blob/v3/skills/downloader-operation/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/jxxghp/MoviePilot/blob/v3/skills/downloader-operation/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请检查我的 qBittorrent 下载,并告诉我哪些卡住了。”

每周 5 个新技能,1 分钟读完。

工作原理

AI 会运行随附的辅助工具,读取你在 MoviePilot 中保存的下载器设置,向下载客户端请求任务详情,并执行你要求的操作。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Downloader Operation

Use scripts/mp-downloader.py. The helper reads MoviePilot's local downloader configuration and credentials itself. Never request, print, or pass a host, username, password, API key, Cookie, or arbitrary URL.

Run the bundled copy from the MoviePilot program directory with its project runtime, for example:

cd <MOVIEPILOT_ROOT>
python skills/downloader-operation/scripts/mp-downloader.py instances

The Agent command environment routes python to the project-specific moviepilot-python entry when available and falls back to the project or Docker VENV_PATH Python otherwise. Downloader connections may depend on macOS local-network permissions, so use the provided python command for every operation.

The runtime sets MOVIEPILOT_ROOT for copied skills. If you run a copied script directly from <CONFIG_PATH>/agent/skills/, set that variable to the program directory first; otherwise the helper returns a clear relocation error. Do not use a system python3 when it does not meet MoviePilot's required Python version.

Boundary

  • Prefer moviepilot-api for ordinary MoviePilot acquisition workflows, especially site search, download.add, subscriptions, transfer, history, and canonical library checks.
  • Use this Skill for downloader-native inspection, diagnosis, advanced task properties, and an explicit request to operate the provider directly.
  • tasks.add.direct bypasses MoviePilot download history, site Cookie handling, path selection, duplicate checks, and transfer orchestration. Use it only when the user explicitly wants direct provider submission.
  • Paths passed to tasks.location.set and tasks.add.direct are downloader-side paths, not MoviePilot storage paths.
  • tasks.location.set is a raw provider operation and does not evaluate MoviePilot media categories. For an existing MoviePilot task, use the Web UI resource-category preview and confirmation flow when the target should come from MoviePilot's download history and resource-directory rules.

Instance And Provider Discovery

Fast path: call directly

Do not routinely call instances or capabilities before an operation. This Skill already contains the full action contract, and the helper performs instance resolution, provider support checks, complete argument validation, and the action in one call invocation.

  • If the user or prior context provides the exact client name, pass it with --client and call the action immediately.
  • If no client name is known, omit --client. The helper automatically uses the single default downloader, or the only enabled downloader.
  • If multiple clients remain ambiguous, the failed call lists every valid client name. Reuse that list for the next direct call; do not add a separate instances call unless the user explicitly asks to inspect instances.
  • Do not probe an action with empty or guessed arguments. Compose the complete JSON object from the contract below before calling.

The helper rejects unknown fields and reports all detectable argument errors in one response before connecting to the provider, so correct every reported field together instead of retrying one field at a time.

Optional discovery

List configured instances without secrets:

python skills/downloader-operation/scripts/mp-downloader.py instances

List the actions supported by all providers or one configured client:

python skills/downloader-operation/scripts/mp-downloader.py capabilities
python skills/downloader-operation/scripts/mp-downloader.py capabilities --client "main-qb"

The complete action and argument contract is documented below. Use capabilities only to confirm which documented actions a configured provider supports. For a compact machine-readable copy of one action's same contract:

python skills/downloader-operation/scripts/mp-downloader.py capabilities \
  --client "main-qb" \
  --action tasks.properties.set

Do not inspect the helper source to discover arguments and do not guess a provider-specific action. capabilities is optional and should be used only when the configured provider itself is unknown or support must be diagnosed.

Call Shape

python skills/downloader-operation/scripts/mp-downloader.py call \
  --client "main-qb" \
  --action tasks.list \
  --arguments '{"status":"downloading","limit":20}'

The --arguments value must be one JSON object. Large reads are paged with offset and `li

常见问题

我需要把下载器密码告诉 AI 吗?

不需要。辅助工具会读取已保存的下载器设置,因此你无需把主机地址或密码粘贴到聊天中。

它支持哪些下载客户端?

该技能涵盖 qBittorrent、Transmission 和 rTorrent。

普通下载应该用它吗?

不应该。对于日常下载任务,该技能会指向 MoviePilot API 技能,而它专门用于详细检查和控制。

详情

作者的原始描述

Use this skill when the user asks to inspect, diagnose, or directly control a configured qBittorrent, Transmission, or rTorrent instance. It exposes provider capabilities on demand without adding permanent Agent tools, and is suitable for task files and selection, trackers, peers, queue order, limits, tags, locations, rechecks, direct provider submissions, or batch task control.

repo: jxxghp/MoviePilot

热度

GitHub 星标
12k
排名
#11482
许可证
GPL-3.0
更新时间
2026/11/1

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能