跳到正文
Skillpedia
自动化12k · #11488

organize-files

它能做什么

它指导 AI 识别你所选文件夹中的文件,并将它们移动到正确的媒体库并使用正确的名称。适用于有文件未能自动转移的 MoviePilot 用户。

适用场景

  • ✓当某部电影、剧集或专辑没有自动转移,而是留在某个文件夹中时。
  • ✓当某个季文件夹中的剧集需要识别和整理时。
  • ✓当你想整理一个混合文件夹,同时不触碰无关文件时。

技能链接

https://github.com/jxxghp/MoviePilot/blob/v3/skills/organize-files/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/jxxghp/MoviePilot/blob/v3/skills/organize-files/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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

  1. Establish scope. If the user provides a path, use it. If they identify a downloader task, use downloader-operation and its fixed scripts/mp-downloader.py helper to discover the instance and call tasks.list. If they only name a configured root, call storage.settings. Use storage.list to inspect the selected directory. Do not process a broad shared root without an explicit, bounded scope.
  2. 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.
  3. Call media.recognize with the representative title or path. If uncertain, call media.search; if several exact candidates remain, use ask_user_choice. Never invent or translate an ID.
  4. Preserve the exact media_source + media_id. For TV, verify season detail with media.detail when numbering is ambiguous. For music, a recording is one track, an album is one multi-track directory, and an artist is browse-only.
  5. When duplicate risk matters, call library.exists. If an existing transfer record affects reorganization, inspect transfer.history.
  6. 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.
  7. Call transfer.file once 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.
  8. If requested, call media.scrape after a successful transfer. Report actual tag, cover, and lyrics counts; never assume all lyrics were found.

Structured Calls

  • Directory listing: storage.list with storage/path/paging/sort in body.
  • Recognition: media.recognize with title/path in query.
  • Search: media.search with title/type/source constraints in query.
  • Detail: media.detail with path_params.media_id and identity/type in query.
  • Library check: library.exists with the exact identity in query.
  • Transfer: transfer.file with the manual-transfer request in body.
  • Actual transfer responses include data.items even when the batch reports failure. Inspect every item's state: accepted and retry_wait mean that background work remains; only completed confirms execution and settlement. manual_review requires resolving the task in the transfer queue first; failed and skipped do 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.scrape with path_params.storage, file item in body, and exact identity/type fields in query.

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能