Логотип Downloader Operation

Downloader Operation

СпільнотаПопулярне
jxxghp
downloader-operation

Використовуйте цю навичку, коли користувач просить перевірити, діагностувати або безпосередньо керувати налаштованим екземпляром qBittorrent, Transmission чи rTorrent. Вона надає можливості провайдера на вимогу, не додаючи постійних інструментів агента, і підходить для файлів завдань і вибору, трекерів, пірів, порядку в черзі, лімітів, тегів, розташування, повторних перевірок, безпосереднього надсилання даних провайдеру або пакетного керування завданнями.

Огляд

Видавецьjxxghp
РепозиторійMoviePilot
Назва навичкиdownloader-operation
Зірки
11.8K
Форки
1.5K
Файли в пакеті
1
ЛіцензіяGPL-3.0
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 1

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: jxxghp. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Downloader Operation у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/jxxghp/MoviePilot/tree/v3/skills/downloader-operation
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

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
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Downloader Operation в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Downloader Operation, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Downloader Operation не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

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.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Downloader Operation?

Використовуйте цю навичку, коли користувач просить перевірити, діагностувати або безпосередньо керувати налаштованим екземпляром qBittorrent, Transmission чи rTorrent. Вона надає можливості провайдера на вимогу, не додаючи постійних інструментів агента, і підходить для файлів завдань і вибору, трекерів, пірів, порядку в черзі, лімітів, тегів, розташування, повторних перевірок, безпосереднього надсилання даних провайдеру або пакетного керування завданнями.

Навіщо використовувати Downloader Operation у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Downloader Operation — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Downloader Operation у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/jxxghp/MoviePilot/tree/v3/skills/downloader-operation. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Downloader Operation?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Downloader Operation?

Зі скількома забажаєте. У TypingMind ви можете використовувати Downloader Operation із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Downloader Operation?

Так. На GitHub цю навичку публікує jxxghp за ліцензією GPL-3.0. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇