organize-files
What it does
It guides the AI through identifying files in a folder you choose and moving them into the right library with the right names. It is for MoviePilot users with files that did not transfer automatically.
When to use it
- ✓When a movie, show or album did not transfer automatically and sits in a folder.
- ✓When a season folder needs its episodes identified and organized.
- ✓When you want a mixed folder sorted without touching unrelated files.
Skill link
https://github.com/jxxghp/MoviePilot/blob/v3/skills/organize-files/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“This folder has one season of a TV show that did not transfer. Can you identify the episodes and organize them?”
5 new skills a week. 1 minute to read.
How it works
The AI sets a limited scope, recognizes each file, checks for duplicate risk and summarizes the planned changes before any transfer runs.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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.
Structured Calls
- Directory listing:
storage.listwith storage/path/paging/sort inbody. - Recognition:
media.recognizewith title/path inquery. - Search:
media.searchwith title/type/source constraints inquery. - Detail:
media.detailwithpath_params.media_idand identity/type inquery. - Library check:
library.existswith the exact identity inquery. - Transfer:
transfer.filewith the manual-transfer request inbody. - Actual transfer responses include
data.itemseven when the batch reports failure. Inspect every item'sstate:acceptedandretry_waitmean that background work remains; onlycompletedconfirms execution and settlement.manual_reviewrequires resolving the task in the transfer queue first;failedandskippeddo not mean imported. Do not resubmit an entire batch that already contains accepted or completed items. Preview responses remain planning data and do not contain execution states. - Scrape:
media.scrapewithpath_params.storage, file item inbody, and exact identity/type fields inquery.
Stop and report instead of transferring when the source is missing, directory configuration is absent, identity remains ambiguous, an album appears mixed or incomplete, or the requested target would overwrite unrelated media.
整理恢复与历史上下文
保留 storage.list 返回的完整文件项,包括可选的 modify_time_ns 和
change_time_ns;不要自行生成本地版本凭据。恢复发现源或目标版本变化时,
应报告人工复核状态并保留现场,不通过重新提交整个批次绕过核验。
复用历史整理电视剧时保留 episode_group;不同剧集组分批处理。
目录整理的 overwrite_skipped 同样表示未导入,不能报告为成功。
FAQ
Will it process my whole storage drive?
No. The skill asks for a bounded scope and warns against processing a broad shared root without explicit limits.
What if it is not sure which title a file belongs to?
It searches for candidates and asks you to choose when several exact matches remain.
What about failed transfer records?
If you supply failed transfer history IDs, the skill points you to the transfer retry skill instead.
Details
Original description by the author
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.
repo: jxxghp/MoviePilot
Popularity
- GitHub stars
- 12k
- Ranking position
- #11488
- License
- GPL-3.0
- Updated
- 11/1/2026
Comments
- …
More skills from this repository
anysearch
12kHelps your agent search the web in real time, query specialized sources such as finance or academic data and read full web pages.
browser-use
12kHelps your agent open web pages, read them, click buttons, fill in forms and take screenshots to check the results.
command-dispatch
12kHelps your agent find and run MoviePilot system or plugin commands from a request, after checking which commands exist.
create-moviepilot-plugin
12kHelps your agent create or fix a MoviePilot plugin, using the right file layout and setup for the MoviePilot version.
Similar skills
knowledge-automation
394kHelps your agent set up a recurring job that brings new content into your Knowledge vault on a schedule, then checks that the job runs.
knowledge-source-ingest
394kHelps your agent keep a Knowledge vault current with new items from chat channels, feeds, or mailboxes, without re-adding what it already has.
benchmark
280kHelps your agent measure code speed and performance. It's useful for ensuring things are fast and finding slowness issues.