organize-files
它能做什么
它指导 AI 识别你所选文件夹中的文件,并将它们移动到正确的媒体库并使用正确的名称。适用于有文件未能自动转移的 MoviePilot 用户。
适用场景
- ✓当某部电影、剧集或专辑没有自动转移,而是留在某个文件夹中时。
- ✓当某个季文件夹中的剧集需要识别和整理时。
- ✓当你想整理一个混合文件夹,同时不触碰无关文件时。
技能链接
https://github.com/jxxghp/MoviePilot/blob/v3/skills/organize-files/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“这个文件夹里有一季没有成功转移的剧集。请帮我识别这些剧集并进行整理。”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会设定有限的范围,识别每个文件,检查重复风险,并在任何转移执行之前总结计划的更改。
技术内容(原始 SKILL.md)
作者在 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 同样表示未导入,不能报告为成功。
常见问题
它会处理我整个存储盘吗?
不会。该技能要求设定有限的范围,并警告不要在没有明确限制的情况下处理宽泛的共享根目录。
如果它不确定某个文件属于哪个标题怎么办?
它会搜索候选项,并在仍有多个精确匹配时请你选择。
转移失败的记录怎么办?
如果你提供了失败转移的历史 ID,该技能会引导你使用转移重试技能。
详情
作者的原始描述
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
热度
- GitHub 星标
- 12k
- 排名
- #11488
- 许可证
- GPL-3.0
- 更新时间
- 2026/11/1
评论
- …