File Organizer 标志

File Organizer

组织
Amazon-Quick
file-organizer

扫描文件夹,分析文件内容和命名模式,然后提出重命名、分类和改进文件夹结构的建议。执行任何更改前,都必须获得用户明确确认。适用于用户要求“整理这个文件夹”“清理我的文件”“整理这些文档”“重命名我的文件”“提供文件夹结构建议”“整理这个目录”,或提出任何重新组织杂乱目录的请求时。

概览

发布者Amazon-Quick
代码仓库Amazon-Quick-official-catalog
技能名称file-organizer
星标数
50
复刻数
4
附带文件
1
许可协议MIT-0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 Amazon-Quick 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 File Organizer AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Amazon-Quick/Amazon-Quick-official-catalog/tree/main/skills/general-productivity/file-organizer
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Amazon-Quick/Amazon-Quick-official-catalog.git /tmp/Amazon-Quick-official-catalog
mkdir -p .claude/skills
cp -r /tmp/Amazon-Quick-official-catalog/skills/general-productivity/file-organizer .claude/skills/file-organizer
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 File Organizer,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 File Organizer。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 File Organizer 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Overview

Analyzes the contents of a specified folder, examining file names, types, dates, and optionally content, then proposes an organized folder structure with consistent naming. Presents a full reorganization plan for user approval before touching any files. Never moves, renames, or deletes files without explicit confirmation.

Workflow

<Definition - Organization Strategy> How to group files into folders:

  • date: Group by creation/modification date (year/month or year/quarter)
  • type: Group by file extension category (documents, images, spreadsheets, code, media, archives)
  • project: Group by inferred project association (from naming patterns or content)
  • topic: Group by content topic (requires reading file headers/content)
  • auto-detect: Analyze existing patterns and pick the most natural grouping </Definition - Organization Strategy>

<Definition - Naming Conventions>

  • kebab-case: lowercase-words-separated-by-hyphens.ext
  • snake_case: lowercase_words_separated_by_underscores.ext
  • PascalCase: EachWordCapitalized.ext
  • camelCase: firstWordLowerThenCapitalized.ext
  • date-prefix: YYYY-MM-DD_descriptive-name.ext
  • original: keep existing filenames, only reorganize into folders
  • other: user-defined custom pattern (collected during preferences step) </Definition - Naming Conventions>

<Definition - Reorganization Plan> A table mapping every file from its current location to its proposed new location, including the action type (move, rename, move+rename, unchanged). Must include a summary count and a rollback reference. </Definition - Reorganization Plan>

<Workflow - Setup Preferences description="Collect and save the user's file organization preferences to memory." tools=[recall_memories, save_to_memory] triggers=["set up file organization preferences", "change my file organization settings", "update my organization preferences"]

  1. [Agent] Recall existing file organization preferences from memory. Query: "file organization preferences, max folder depth, collision strategy, scan threshold". [Decide] Are existing preferences found?

    • Yes -> [Ask user] "Here are your current preferences:
      • Max folder depth: [value]
      • Collision strategy: [value]
      • Large folder scan threshold: [value]
      • Default naming convention: [value] Want to update any of these?"
    • None found -> proceed to step 2.
  2. [Ask user] Collect preferences:

    • "Max folder depth? (how many levels of nesting, e.g. 3)"
    • "Collision strategy? When two files would get the same name: numeric suffix (_01, _02), parenthetical suffix ((1), (2)), or ask each time?"
    • "Large folder threshold? Above how many files should I sample for content analysis instead of reading all? (e.g. 200)"
    • "Default naming convention? (kebab-case, snake_case, PascalCase, camelCase, date-prefix, original, or describe your own)" Validate: User provides at least max depth and collision strategy. If fails: Use sensible defaults (depth: 3, collision: numeric suffix, threshold: 200, naming: kebab-case) and confirm with user.
  3. [Agent] Save all preferences to memory with hint: "file organization preferences for file-organizer skill". Validate: save_to_memory confirms signal recorded. If fails: Report the error and present preferences in chat so user has a record.

</Workflow - Setup Preferences>

<Workflow - Organize description="Scan a folder, analyze content, propose and execute a reorganization plan using saved preferences." tools=[get_current_time, recall_memories, save_to_memory, folder_list, file_read, file_read_pdf, file_read_docx, file_read_pptx, file_move, file_copy, file_write, folder_create, open_in_session_tab, run_python] triggers=["organize this folder", "clean up my files", "sort these documents", "rename my files", "folder structure suggestions", "tidy up this directory"]

  1. [Agent] Recall the user's file organization preferences from memory. [Decide] Are preferences found?

    • Yes -> apply as defaults for this run.
    • No -> [Ask user] "I don't have your organization preferences saved. Would you like to set them up now (recommended for future runs) or just tell me what you want for this one-time run?"
      • Set up -> execute <Workflow - Setup Preferences>, then return here.
      • One-time -> collect minimal preferences inline (depth, collision, naming) and proceed without saving.
  2. [Agent] Validate {{folder_path}} exists and is within allowed folders using folder_list. Validate: Folder exists, contains at least one file, access is permitted. If fails: [Ask user] "That folder doesn't exist or isn't in your allowed folders. Please provide a valid path."

  3. [Agent] Scan folder contents with folder_list. For each file, capture: name, extension, size, last modified date. [Decide] File count > 500?

    • Yes -> use run_python with os.listdir for full listing. [Decide] File count > user's scan threshold preference?
    • Yes -> sample files for content analysis in step 4. Note the sampling in output.
    • No -> analyze all files in step 4. Validate: Complete file inventory captured. If fails: Report the error and ask user if they want to proceed with a partial listing.
  4. [Think] Determine organization strategy. [Decide] Is {{organization_strategy}} set to "auto-detect"?

    • Yes -> Analyze file type distribution, naming patterns, content themes (read first 500 chars of text-based files), date clustering, existing partial organization. Select the most natural grouping axis.
    • No -> use the user's specified strategy directly. [Decide] Is {{naming_convention}} set to "other"?
    • Yes -> [Ask user] "Describe your custom naming pattern (e.g., 'YYYY-MM-DD_project_description')."
    • No -> proceed with the selected convention. Validate: A clear strategy and naming convention are determined. If fails: Default to organizing by file type with user's preferred naming convention.
  5. [Agent] Generate the reorganization plan using run_python. For every file, compute:

    • Target folder (based on strategy)
    • Target filename (based on naming convention, preserving extension)
    • Action type: move, rename, move+rename, or unchanged
    • Collision check: resolve using user's collision preference. Format as a markdown table: | # | Current Path | Target Path | Action | Notes | Include summary: files to move, rename, new folders to create, unchanged, collisions resolved, skipped items. Validate: Every file accounted for. No unresolved collisions. No target paths outside allowed folders. If fails: Regenerate with a simpler structure.
  6. [Ask user] Present the full reorganization plan with summary. Ask: "Do you want me to: A) Execute the full plan as shown B) Execute with modifications (tell me what to change) C) Only rename files (no moves) D) Only reorganize into folders (no renames) E) Cancel and save the plan as a reference only" Validate: User explicitly approves with A, B, C, or D. If fails (user picks E or says no): Save plan to artifacts/file-organization-plan-[date].md, open in session tab, stop.

  7. [Agent] Execute the approved plan:

    1. Create new folders with folder_create.
    2. Move/rename files with file_move (one at a time).
    3. Log each result. [Decide] Did any operation fail?
    • Yes -> Stop. Report what completed and what remains. [Ask user] "Continue with remaining files or stop here?"
    • No -> proceed to step 8. Validate: All approved operations completed successfully.
  8. [Agent] Generate summary report, save to artifacts/file-organization-report-[date].md. Include:

    • Results count (moved, renamed, folders created, errors)
    • Final folder structure (tree view)
    • Full changes log
    • Rollback instructions (reverse mapping) Open report in session tab. [Decide] Did the user override any preferences during this run?
    • Yes -> [Agent] Save updated preferences to memory. Validate: Report is accurate and rollback reference is complete. If fails: Output summary directly in chat.

</Workflow - Organize>

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

File Organizer AI 技能有什么作用?

扫描文件夹,分析文件内容和命名模式,然后提出重命名、分类和改进文件夹结构的建议。执行任何更改前,都必须获得用户明确确认。适用于用户要求“整理这个文件夹”“清理我的文件”“整理这些文档”“重命名我的文件”“提供文件夹结构建议”“整理这个目录”,或提出任何重新组织杂乱目录的请求时。

为什么在 TypingMind 中使用 File Organizer?

因为您只需安装一次,就能搭配任何模型使用。File Organizer 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 File Organizer?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Amazon-Quick/Amazon-Quick-official-catalog/tree/main/skills/general-productivity/file-organizer。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 File Organizer?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

File Organizer 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 File Organizer 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

File Organizer AI 技能免费吗?

是的。Amazon-Quick 已在 GitHub 上根据 MIT-0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇