Organize Files
Use this skill when the user asks MoviePilot to identify and organize a local or...
Install
npx skills add jxxghp/MoviePilot --skill organize-files -g -a claude-code -y- Repository
- jxxghp/MoviePilot12k
- Category
- Media
- Updated
- 3d ago
- License
- GPL-3.0
- Context cost
- Lightabout 870 tokens
- Runs scripts
- No, instructions only
What it does
Use this skill when the user asks MoviePilot to identify and organize a local or downloaded video/music file, season folder, recording, album directory, or mixed folder that automatic transfer did not handle. If failed transfer history IDs are supplied, use transfer-failed-retry instead.
Organize Files
Use moviepilot_api for every MoviePilot business operation. Retired file,
recognition, transfer, and history tools are not available.
Workflow
- Establish scope. If the user provides a path, use it. If they identify a
downloader task, use
downloader-operationand its fixedscripts/mp-downloader.pyhelper to discover the instance and calltasks.list. If they only name a configured root, callstorage.settings. Usestorage.listto inspect the selected directory. Do not process a broad shared root without an explicit, bounded scope. - Classify files into movie, TV, one music recording, one complete album, subtitle/sidecar, or unrelated content. Do not group unrelated media merely because they share a directory.
- Call
media.recognizewith the representative title or path. If uncertain, callmedia.search; if several exact candidates remain, useask_user_choice. Never invent or translate an ID. - Preserve the exact
media_source+media_id. For TV, verify season detail withmedia.detailwhen numbering is ambiguous. For music, a recording is one track, an album is one multi-track directory, and an artist is browse-only. - When duplicate risk matters, call
library.exists. If an existing transfer record affects reorganization, inspecttransfer.history. - Before a state-changing transfer, summarize the source, target identity, media type, season/music entity, storage, and mode. Continue only when the user's request already authorizes that exact action or after confirmation.
- Call
transfer.fileonce per verified unit. For an album, transfer the album directory once only after its supported audio-file count is consistent with the selected album detail. - If requested, call
media.scrapeafter a successful transfer. Report actual tag, cover, and lyrics counts; never assume all lyrics were found.


