Logo Downloader Operation

Downloader Operation

Cộng đồngPhổ biến
jxxghp
downloader-operation

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.

Tổng quan

Nhà phát hànhjxxghp
Kho mãMoviePilot
Tên kỹ năngdownloader-operation
Sao
11.8K
Bản fork
1.5K
Tệp đi kèm
1
Giấy phépGPL-3.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được jxxghp công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Downloader Operation trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/jxxghp/MoviePilot/tree/v3/skills/downloader-operation
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jxxghp/MoviePilot.git /tmp/MoviePilot
mkdir -p .claude/skills
cp -r /tmp/MoviePilot/skills/downloader-operation .claude/skills/downloader-operation
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Downloader Operation trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Downloader Operation ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Downloader Operation với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

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:

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

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

bash
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:

bash
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

bash
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 limit; the default limit is 50 and the maximum is 200.

External MCP Contract

External MCP clients do not receive this SKILL.md and cannot use the hidden execute_command tool. MoviePilot therefore exposes a separate admin-only MCP tool named downloader_operation. Its tools/list inputSchema contains one oneOf branch for every action below, including the function description, supported providers, effect, field types, required/default values, enums, and cross-field rules. The external client should select the matching branch and make one tools/call; it does not need to call a discovery tool first.

MCP call arguments use the same contract without shell quoting:

json
{
  "client": "main-qb",
  "action": "tasks.properties.set",
  "arguments": {
    "task_id": "exact-provider-hash",
    "download_limit": 2048,
    "upload_limit": 512
  }
}

client may be omitted for the default or only enabled downloader. If multiple instances remain ambiguous, the result lists the valid client names.

Complete Action Contract

This is the complete Downloader Operation action contract. It comes directly from the script ACTIONS registry and matches the external MCP tools/list oneOf branches. A field name ending in * is required. Put every action parameter in the arguments object.

actionPurpose and argument summary
capabilities.listList supported downloader actions and their complete argument contracts.; arguments: action_name
instances.listList configured downloader instances without connection secrets.; no arguments
session.content_layoutRead qBittorrent's default torrent content layout.; no arguments
session.detailsRead Transmission session configuration and capacity details.; no arguments
session.speed_limits.getRead global speed limits.; no arguments
session.speed_limits.setSet global speed limits in KB/s.; arguments: download_limit, upload_limit
session.statsRead provider transfer/session statistics.; no arguments
tasks.add.directSubmit a magnet, URL, or local torrent file directly to the provider.; arguments: content*, torrent_file, paused, download_dir, tags, category
tasks.category.setSet qBittorrent category.; arguments: task_id*, category*
tasks.deleteDelete tasks and optionally their data.; arguments: task_id, task_ids, delete_files
tasks.filesList files and priorities for one task.; arguments: task_id*, offset, limit
tasks.files.selection.setSelect wanted and unwanted files within one task.; arguments: task_id*, wanted_file_ids, unwanted_file_ids
tasks.force_start.setEnable or disable qBittorrent force-start for tasks.; arguments: task_id, task_ids, enabled*
tasks.listList and filter downloader tasks.; arguments: task_id, task_ids, status, tags, offset, limit
tasks.location.setMove or retarget one task to a provider-side path.; arguments: task_id*, location*
tasks.peersRead qBittorrent peer synchronization data.; arguments: task_id*
tasks.properties.setSet task speed, ratio, or seeding-time limits.; arguments: task_id*, upload_limit, download_limit, ratio_limit, seeding_time_limit
tasks.queue.moveMove tasks to top, up, down, or bottom of the queue.; arguments: task_id, task_ids, position*
tasks.reannounceForce tracker reannounce.; arguments: task_id, task_ids
tasks.recheckForce data verification for tasks.; arguments: task_id, task_ids
tasks.startStart or resume one or more tasks.; arguments: task_id, task_ids
tasks.stopPause one or more tasks.; arguments: task_id, task_ids
tasks.tags.getRead task tags or labels.; arguments: task_id*
tasks.tags.setSet or add task tags/labels.; arguments: task_id, task_ids, tags*
tasks.trackersList trackers for one task.; arguments: task_id*
tasks.trackers.updateAdd or replace task trackers.; arguments: task_id*, trackers*

capabilities.list

List supported downloader actions and their complete argument contracts. Effect: safe_read. Providers: qbittorrent, transmission, rtorrent.

  • action_name (string): Optional exact action name used to return one capability contract.

instances.list

List configured downloader instances without connection secrets. Effect: safe_read. Providers: qbittorrent, transmission, rtorrent.

  • arguments: {}

session.content_layout

Read qBittorrent's default torrent content layout. Effect: safe_read. Providers: qbittorrent.

  • arguments: {}

session.details

Read Transmission session configuration and capacity details. Effect: safe_read. Providers: transmission.

  • arguments: {}

session.speed_limits.get

Read global speed limits. Effect: safe_read. Providers: qbittorrent, transmission.

  • arguments: {}

session.speed_limits.set

Set global speed limits in KB/s. Effect: reversible_write. Providers: qbittorrent, transmission.

  • download_limit (number): Global download limit in KB/s; 0 or omission means unlimited.
  • upload_limit (number): Global upload limit in KB/s; 0 or omission means unlimited.

session.stats

Read provider transfer/session statistics. Effect: safe_read. Providers: qbittorrent, transmission, rtorrent.

  • arguments: {}

tasks.add.direct

Submit a magnet, URL, or local torrent file directly to the provider. Effect: external_side_effect. Providers: qbittorrent, transmission, rtorrent.

  • content* (string): Magnet URI, torrent URL, or a local torrent path when torrent_file=true.
  • torrent_file (boolean; default False): Interpret content as a local torrent-file path.
  • paused (boolean; default False): Add the task in a paused state.
  • download_dir (string): Provider-side save path.
  • tags (string[]): Tags to assign to the new task.
  • category (string): qBittorrent category; ignored by other providers.

tasks.category.set

Set qBittorrent category. Effect: reversible_write. Providers: qbittorrent.

  • task_id* (string): One provider-native task hash or ID.
  • category* (string): Non-empty qBittorrent category name.

tasks.delete

Delete tasks and optionally their data. Effect: destructive_write. Providers: qbittorrent, transmission, rtorrent.

  • task_id (string): One provider-native task hash or ID.
  • task_ids (string[]): Multiple provider-native task hashes or IDs; mutually exclusive with task_id.
  • delete_files (boolean; default False): Also permanently delete the task data files.
  • Rule: Provide exactly one of task_id and task_ids.

tasks.files

List files and priorities for one task. Effect: safe_read. Providers: qbittorrent, transmission, rtorrent.

  • task_id* (string): One provider-native task hash or ID.
  • offset (integer; default 0): Zero-based list offset.
  • limit (integer; default 50): Number of items to return, from 1 to 200.

tasks.files.selection.set

Select wanted and unwanted files within one task. Effect: reversible_write. Providers: qbittorrent, transmission, rtorrent.

  • task_id* (string): One provider-native task hash or ID.
  • wanted_file_ids (integer[]): Provider file indexes to download; provide this or unwanted_file_ids.
  • unwanted_file_ids (integer[]): Provider file indexes to skip; provide this or wanted_file_ids.
  • Rule: Provide wanted_file_ids or unwanted_file_ids, and never place one index in both lists.

tasks.force_start.set

Enable or disable qBittorrent force-start for tasks. Effect: reversible_write. Providers: qbittorrent.

  • task_id (string): One provider-native task hash or ID.
  • task_ids (string[]): Multiple provider-native task hashes or IDs; mutually exclusive with task_id.
  • enabled* (boolean): Whether force-start is enabled.
  • Rule: Provide exactly one of task_id and task_ids.

tasks.list

List and filter downloader tasks. Effect: safe_read. Providers: qbittorrent, transmission, rtorrent.

  • task_id (string): One provider-native task hash or ID.
  • task_ids (string[]): Multiple provider-native task hashes or IDs; mutually exclusive with task_id.
  • status (string): Filter by the provider-native task status.
  • tags (string|string[]): Return only tasks that contain all specified tags.
  • offset (integer; default 0): Zero-based list offset.
  • limit (integer; default 50): Number of items to return, from 1 to 200.

tasks.location.set

Move or retarget one task to a provider-side path. Effect: external_side_effect. Providers: qbittorrent, transmission, rtorrent.

  • task_id* (string): One provider-native task hash or ID.
  • location* (string): New provider-side save path.

tasks.peers

Read qBittorrent peer synchronization data. Effect: safe_read. Providers: qbittorrent.

  • task_id* (string): One provider-native task hash or ID.

tasks.properties.set

Set task speed, ratio, or seeding-time limits. Effect: reversible_write. Providers: qbittorrent, transmission, rtorrent.

  • task_id* (string): One provider-native task hash or ID.
  • upload_limit (number): Upload limit in KB/s; 0 means unlimited.
  • download_limit (number): Download limit in KB/s; 0 means unlimited.
  • ratio_limit (number): Share-ratio limit; unsupported by rTorrent.
  • seeding_time_limit (integer): Seeding-time limit in minutes; unsupported by rTorrent.

tasks.queue.move

Move tasks to top, up, down, or bottom of the queue. Effect: reversible_write. Providers: qbittorrent, transmission.

  • task_id (string): One provider-native task hash or ID.
  • task_ids (string[]): Multiple provider-native task hashes or IDs; mutually exclusive with task_id.
  • position* (string; allowed values top,up,down,bottom): Target queue position.
  • Rule: Provide exactly one of task_id and task_ids.

tasks.reannounce

Force tracker reannounce. Effect: external_side_effect. Providers: qbittorrent, transmission.

  • task_id (string): One provider-native task hash or ID.
  • task_ids (string[]): Multiple provider-native task hashes or IDs; mutually exclusive with task_id.
  • Rule: Provide exactly one of task_id and task_ids.

tasks.recheck

Force data verification for tasks. Effect: external_side_effect. Providers: qbittorrent, transmission, rtorrent.

  • task_id (string): One provider-native task hash or ID.
  • task_ids (string[]): Multiple provider-native task hashes or IDs; mutually exclusive with task_id.
  • Rule: Provide exactly one of task_id and task_ids.

tasks.start

Start or resume one or more tasks. Effect: reversible_write. Providers: qbittorrent, transmission, rtorrent.

  • task_id (string): One provider-native task hash or ID.
  • task_ids (string[]): Multiple provider-native task hashes or IDs; mutually exclusive with task_id.
  • Rule: Provide exactly one of task_id and task_ids.

tasks.stop

Pause one or more tasks. Effect: reversible_write. Providers: qbittorrent, transmission, rtorrent.

  • task_id (string): One provider-native task hash or ID.
  • task_ids (string[]): Multiple provider-native task hashes or IDs; mutually exclusive with task_id.
  • Rule: Provide exactly one of task_id and task_ids.

tasks.tags.get

Read task tags or labels. Effect: safe_read. Providers: qbittorrent, transmission, rtorrent.

  • task_id* (string): One provider-native task hash or ID.

tasks.tags.set

Set or add task tags/labels. Effect: reversible_write. Providers: qbittorrent, transmission, rtorrent.

  • task_id (string): One provider-native task hash or ID.
  • task_ids (string[]): Multiple provider-native task hashes or IDs; mutually exclusive with task_id.
  • tags* (string[]): Tags or labels to set or add.
  • Rule: Provide exactly one of task_id and task_ids.

tasks.trackers

List trackers for one task. Effect: safe_read. Providers: qbittorrent, transmission.

  • task_id* (string): One provider-native task hash or ID.

tasks.trackers.update

Add or replace task trackers. Effect: reversible_write. Providers: qbittorrent, transmission.

  • task_id* (string): One provider-native task hash or ID.
  • trackers* (string[]): Tracker URL list.

Verification

After a write, query the smallest relevant state: tasks.list for status and properties, tasks.files for file priority, tasks.trackers for trackers, or session.speed_limits.get for global limits. Report unsupported provider capabilities explicitly instead of falling back to raw HTTP or arbitrary SDK method calls.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Downloader Operation làm được gì?

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.

Vì sao nên dùng Downloader Operation trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Downloader Operation là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Downloader Operation trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/jxxghp/MoviePilot/tree/v3/skills/downloader-operation. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Downloader Operation?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Downloader Operation với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Downloader Operation với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Downloader Operation có miễn phí không?

Có. Kỹ năng này được jxxghp phát hành trên GitHub theo giấy phép GPL-3.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇