Best for
- Use this skill when the user asks to operate MoviePilot through the local `moviepilot tool` MCP CLI for normal product workflows: media search, torrent search, downloads, subscriptions, downloader tasks, library checks,…
jxxghp/MoviePilot/skills/moviepilot-cli/SKILL.md
Use this skill when the user asks to operate MoviePilot through the local `moviepilot tool` MCP CLI for normal product workflows: media search, torrent search, downloads, subscriptions, downloader tasks, library checks, sites, schedulers, workflows, and messages. Prefer dedicated skills for slash command dispatch, manual file organization or failed transfer retry, direct REST API calls, direct database SQL, browser operations, and restart/upgrade.
Decision brief
All script paths are relative to this skill file.
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/jxxghp/MoviePilot --skill "skills/moviepilot-cli"Inspect the Agent Skill "moviepilot-cli" from https://github.com/jxxghp/MoviePilot/blob/b952a3e407262dbc9c4e2c045e550468023d9f68/skills/moviepilot-cli/SKILL.md at commit b952a3e407262dbc9c4e2c045e550468023d9f68. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
This skill is for normal MoviePilot product operations exposed as MCP tools. Choose other skills first when they match more precisely:
List all available commands: moviepilot tool list
Review the “Command Groups” section in the pinned source before continuing.
Run moviepilot tool show sendmessage before sending. For a structured Telegram reply, prefer the optional richmessage argument and put the complete GitHub-style Markdown body in it. Headings, lists, tables, blockquotes, code blocks, and links are converted to Telegram Rich Messa…
Run moviepilot tool show sendmessage before sending. For a structured Telegram reply, prefer the optional richmessage argument and put the complete GitHub-style Markdown body in it. Headings, lists, tables, blockquotes, code blocks, and links are converted to Telegram Rich Messa…
Permission review
The documentation asks the agent to run terminal commands or scripts.
Always run `show <command>` before calling a command — parameter names are not inferable, do not guess.Evidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 90/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 11,623 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
All script paths are relative to this skill file.
Use local moviepilot tool ... commands to interact with MoviePilot MCP tools.
The command reads the local MoviePilot configuration; do not ask the user for
API_TOKEN, database passwords, or a backend DSN during normal local use.
This skill is for normal MoviePilot product operations exposed as MCP tools. Choose other skills first when they match more precisely:
| Request | Preferred skill |
|---|---|
| Slash commands or plugin/system command dispatch | command-dispatch |
| Manual file organization | organize-files |
| Retry failed transfer history records | transfer-failed-retry |
| Direct REST endpoint not exposed by MCP tools | moviepilot-api |
| Direct SQL query or database update | database-operation |
| Restart, version check, or upgrade | moviepilot-update |
| Browser-only state, site login pages, screenshots, cookies | browser-use |
Use moviepilot-api only after moviepilot tool list and
moviepilot tool show <command> confirm that no MCP tool covers the required
operation. Use database-operation only when the task explicitly requires SQL
inspection or mutation, or when product tools/API cannot answer the data
question.
List all available commands: moviepilot tool list
Show parameters and usage for a specific command: moviepilot tool show <command>
The tool list includes tools declared by enabled plugins. Re-run tool list and
tool show after a plugin is enabled, disabled, reloaded, or reconfigured so the
command selection uses the refreshed runtime registry.
Always run show <command> before calling a command — parameter names are not inferable, do not guess.
| Category | Commands |
|---|---|
| Media Search | search_media, recognize_media, query_media_detail, get_recommendations, search_person, search_person_credits |
| Torrent | search_torrents, get_search_results |
| Download | add_download_tasks, query_download_tasks, update_download_tasks, delete_download_tasks, query_downloaders |
| Subscription | add_subscribe, query_subscribes, update_subscribe, delete_subscribe, search_subscribe, query_subscribe_history, query_popular_subscribes, query_subscribe_shares |
| Library | query_library_exists, query_library_latest, transfer_file, scrape_metadata, query_transfer_history |
| Files | list_directory, query_directory_settings |
| Sites | query_sites, query_site_userdata, test_site, update_site, update_site_cookie |
| System | query_schedulers, run_scheduler, create_agent_task, query_agent_tasks, update_agent_task, run_agent_task, delete_agent_task, query_workflows, run_workflow, query_rule_groups, query_episode_schedule, send_message |
Run moviepilot tool show send_message before sending. For a structured Telegram reply, prefer the optional rich_message argument and put the complete GitHub-style Markdown body in it. Headings, lists, tables, blockquotes, code blocks, and links are converted to Telegram Rich Message content. Do not repeat the same content in message, title, or image_url; use those ordinary fields when Rich Message is not needed. Other configured channels receive the Rich Markdown source as their plain-text fallback.
Search for a movie or TV show by title:
moviepilot tool run search_media title="..." media_type="movie"
If the user specifies a TV season, run Season Validation step first — the season number provided by the user may not match TMDB.
Reuse the exact media_source and media_id returned by search_media. Do not
replace the selected primary identity with an auxiliary TMDB, Douban, Bangumi,
or AniList mapping ID.
Omitting sites= uses the user's default sites. If the user specifies sites, first retrieve site IDs:
moviepilot tool run query_sites
Search torrents using default sites:
moviepilot tool run search_torrents media_source="themoviedb" media_id=791373 media_type="movie"
Search torrents using user-specified sites (pass site IDs from query_sites):
moviepilot tool run search_torrents media_source="themoviedb" media_id=791373 media_type="movie" sites='1,3'
When search_torrents returns:
get_search_results yet.filter_options fields and every value within each field to the user verbatim.Run moviepilot tool show get_search_results to check available parameters. Filter logic: OR within a field, AND across fields.
Filter values must come from the filter_options returned by search_torrents — do not invent, translate, normalize, or use values from any other source. Note: filter_options keys are camelCase (e.g., freeState), but get_search_results params are snake_case (e.g., free_state).
Fetch results with selected filters:
moviepilot tool run get_search_results resolution='1080p,2160p' free_state='免费,50%'
To filter subtitle, audio, DIY, translation, or release notes that may appear outside the title, use content_pattern. It matches the torrent title, description, and labels while title_pattern continues to match the title only. Set include_description=true when the description is needed to explain why a result matched, and include_labels=true when the labels should be returned:
moviepilot tool run get_search_results content_pattern='特效字幕|国语|DIY' include_description=true include_labels=true
If empty, tell the user which filter to relax and ask before retrying.
Show all results without pre-selection. Each row: index, title, size, seeders, resolution, release group, volume_factor, freedate_diff.
volume_factor | Meaning |
|---|---|
免费 | Free download |
50% | 50% download size |
2X | Double upload |
2X免费 | Double upload + free |
普通 | No discount |
freedate_diff: remaining free window (e.g., 2天3小时).
After the user picks torrents: Run Check Library and Subscriptions step.
If the media already exists in the library or is already subscribed, stop and report the finding to the user.
Download one or more torrents (torrent_url comes from get_search_results output):
moviepilot tool run add_download_tasks torrent_url="abc1234:1,def5678:2"
| Step | Action |
|---|---|
search_media empty | Retry with an alternative title (English/original), then ask for the title or exact media_source + media_id. |
search_torrents empty | Inform user, ask whether to retry with different sites. |
get_search_results empty | Do not silently broaden filters. Suggest which filter to relax, ask before retrying. |
add_download_tasks fails | Run query_downloaders + query_download_tasks to diagnose, then report to user. |
search_media and keep the returned media_source + media_id pair.Subscribe to a movie or TV show:
moviepilot tool run add_subscribe title="..." year="2011" media_type="tv" media_source="themoviedb" media_id=42009
Subscribe to a specific season:
moviepilot tool run add_subscribe title="..." year="2011" media_type="tv" media_source="themoviedb" media_id=42009 season=4
Subscribe starting from a specific episode:
moviepilot tool run add_subscribe title="..." year="2024" media_type="tv" media_source="themoviedb" media_id=12345 season=1 start_episode=13
Subscribe to a complete lossless album and keep upgrading its audio quality:
moviepilot tool run add_subscribe title="..." media_type="music" music_type="album" media_source="musicbrainz" media_id="<release-group-id>" audio_quality="hires|lossless" audio_format="DSD|FLAC|ALAC" min_bit_depth=24 best_version=1
Audio bitrate and sample-rate values use bps and Hz. For example, pass min_bitrate=320000 and min_sample_rate=96000.
List download tasks and get hash for further operations:
moviepilot tool run query_download_tasks status=downloading
Use status=completed for tasks that are neither downloading nor paused in the downloader; use status=all to include every MoviePilot-tagged downloader task. Add include_all_tags=true when diagnosing tasks that do not have the MoviePilot built-in tag. Add include_trackers=true or query by hash when tracker URLs are needed.
Update a download task (supports start/stop, tags, speed limits, trackers, save path, category, ratio, and seeding time where the downloader supports them):
moviepilot tool run update_download_tasks hash=<hash> action=stop upload_limit=512 download_limit=2048
Add trackers to a download task:
moviepilot tool run update_download_tasks hash=<hash> trackers='https://tracker.example/announce,udp://tracker.example:80/announce'
Delete a download task (confirm with user first — irreversible):
moviepilot tool run delete_download_tasks hash=<hash>
Delete a download task and also remove its files (confirm with user first — irreversible):
moviepilot tool run delete_download_tasks hash=<hash> delete_files=true
List active subscriptions:
moviepilot tool run query_subscribes status=R
Update subscription filters:
moviepilot tool run update_subscribe subscribe_id=123 resolution="1080p"
Only download full-season packs for a TV best-version subscription:
moviepilot tool run update_subscribe subscribe_id=123 best_version=1 best_version_full=1
Trigger a search for missing episodes (confirm with user first):
moviepilot tool run search_subscribe subscribe_id=123
Remove a subscription (confirm with user first):
moviepilot tool run delete_subscribe subscribe_id=123
Use autonomous tasks only when the user explicitly requests delayed, recurring,
reminder, or monitoring behavior. Immediate work should run directly. Use the
MoviePilot TZ setting for local times.
Scheduled runs reuse the original Agent session context, but user-facing messages are broadcast through MoviePilot's configured notification channels instead of being tied to the channel that created the task. If the Agent sends the complete result with a message tool during execution, it does not send the same final reply again when the run finishes.
Autonomous task tools use the integer task_id returned by
query_agent_tasks. query_schedulers and run_scheduler are only for
MoviePilot system, plugin, and workflow runtime services and use string
job_id values; never mix these IDs or use those tools for autonomous tasks.
For a relative one-time request, use date with delay_minutes; MoviePilot
calculates and persists the exact run time:
moviepilot tool run create_agent_task name="检查电影资源" content="搜索电影《示例电影》是否有资源并报告,不要自动下载。" trigger_type=date delay_minutes=30
For a one-time task at a fixed time, use date with an ISO 8601 trigger:
moviepilot tool run create_agent_task name="今晚检查资源" content="检查目标电影是否有资源并报告。" trigger_type=date trigger="2026-07-19 20:30:00"
For recurring work, use a standard five-field cron expression. This example
runs every day at 20:30:
moviepilot tool run create_agent_task name="每日资源检查" content="检查目标电影是否有资源并报告。" trigger_type=cron trigger="30 20 * * *"
List tasks and inspect next_run_at and the latest result:
moviepilot tool run query_agent_tasks
Pause or resume a task:
moviepilot tool run update_agent_task task_id=1 enabled=false
Queue an enabled task for immediate execution without waiting in the current
Agent turn:
moviepilot tool run run_agent_task task_id=1
Delete a task only after confirming permanent removal with the user:
moviepilot tool run delete_agent_task task_id=1
Run before any download or subscription to avoid duplicates.
Check if the media already exists in the library:
moviepilot tool run query_library_exists media_source="themoviedb" media_id=123456 media_type="movie"
Check if the media is already subscribed:
moviepilot tool run query_subscribes media_source="themoviedb" media_id=123456
Mandatory when user specifies a season. Productions sometimes release a show in multiple parts under one TMDB season; online communities and torrent sites may label each part as a separate "season".
Fetch media detail to check available seasons:
moviepilot tool run query_media_detail media_source="themoviedb" media_id=<id> media_type="tv"
Compare season_info with the user's requested season:
season_info → use that season number directly and return to the calling workflow.season_info, then continue to next step.Fetch the episode schedule for the latest season from season_info. This is a
TMDB-only tool, so its native tmdb_id parameter is intentional:
moviepilot tool run query_episode_schedule tmdb_id=<id> season=<latest_season_number>
Use air_date to find a block of recently-aired episodes that likely corresponds to what the user calls the missing season. Look for a gap in air_date between episodes — the gap indicates a part break, and the episodes after the gap are what the user likely refers to as the next "season". For example, if TMDB Season 1 has episodes 1–24 and there is a multi-month gap between episode 12 and 13, then episodes 13–24 correspond to the user's "Season 2". If no such gap exists, tell user content is unavailable. Otherwise confirm the episode range with user.
Missing configuration or authentication failure: run moviepilot doctor to
verify the local MoviePilot installation and settings. Plugin-only log findings
remain visible but do not by themselves downgrade the overall Doctor status.
Do not ask the user to paste the API key into the prompt for local CLI usage.
Frequently asked questions
All script paths are relative to this skill file.
The source record exposes this install command: npx skills add https://github.com/jxxghp/MoviePilot --skill "skills/moviepilot-cli". Inspect the command and pinned source before running it.
Static rules flagged exec-script in the source; the page lists the matching lines and excerpts.
Alternatives
K-Dense-AI/scientific-agent-skills
Distributed computing for larger-than-RAM pandas/NumPy workflows. Use when you need to scale existing pandas/NumPy code beyond memory or across clusters. Best for parallel file processing, distributed ML, integration with existing pandas code. For out-of-core analytics on single machine use vaex; for in-memory speed use polars.
getcargohq/cargo-skills
Make Cargo actually run something, or show what it would run — execute one connector action, run a multi-step workflow, trigger a batch across a whole segment or model, message an AI agent, build or edit a node graph, draw a workflow, tool or play as a diagram, and query the runtime tables (runs, batches, spans, records) with SQL. Triggers: "run this on all my contacts", "execute the action", "kick off a batch", "build a workflow", "schedule a play", "make it run every morning", "ask the agent",
NVIDIA/skills
Use this skill when the user wants to deploy, run, debug, tear down, or call the REST API of the RTVI-CV 2D detection / tracking microservice. Trigger when the user says things like 'deploy rtvi-cv', 'start warehouse 2d', 'add a stream', 'check rtvi-cv health', or 'stop the perception container'. Not for VLM, embedding, or analytics — use the matching vss-* skill.
UiPath/skills
UiPath Coded Apps — scaffold, build, run, and deploy Coded Web Apps and Coded Action Apps: React/TypeScript apps that call UiPath Cloud APIs via the `@uipath/uipath-typescript` SDK and ship to Automation Cloud (push/pull to Studio Web, pack, publish, deploy, OAuth-PKCE). Also generates live analytics & governance dashboards from a plain-language request, wired to tenant data via the Insights real-time API, with edit and deploy flows. For RPA→uipath-rpa, Python agents→uipath-agents, Maestro flows