Desktop Cleanup 标志

Desktop Cleanup

组织
Amazon-Quick
desktop-cleanup

Activate when the user says 'clean up my desktop', 'organise my desktop', 'tidy desktop', 'declutter desktop', 'sort my desktop', or asks to reorganise/clean files on their Desktop. Scans the Desktop folder, categorises loose files, proposes a folder architecture for approval, and moves files with user sign-off.

概览

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

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

  • 兼容任何大语言模型

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

  • 1 个附带文件

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

  • 开源

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

安装

在 TypingMind 中安装 Desktop Cleanup 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/desktop-cleanup
  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/desktop-cleanup .claude/skills/desktop-cleanup
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

<Workflow - Desktop Cleanup description="Review desktop, propose folder architecture, execute moves with sign-off" tools=[folder_list, folder_create, file_move, file_delete, run_python, create_scheduled_agent] triggers=["when user asks to clean/organise/tidy/declutter their desktop"]>

  1. [Agent] Detect the Desktop path using run_python (Path.home() / "Desktop") and call folder_list on it. Capture the full listing of files and subfolders. If the path is inaccessible, inform the user and stop. If fails: If the Desktop cannot be located or listed, ask the user to provide the Desktop path, and stop if none is given.

  2. [Agent] Using run_python, check the last access time (os.stat st_atime) of every loose file. Classify each file as:

    • "Recent" (accessed within last 14 days) - these will NOT be moved
    • "Stale" (not accessed in 14+ days) - these are cleanup candidates Also separate out:
    • Existing subfolders (potential destinations)
    • .lnk files and desktop.ini (untouchable, always ignored)
    • Temp lock files (~$ prefix) - deletion candidates

    If fewer than 5 stale loose files exist, tell the user "Desktop looks tidy, nothing to do!" and stop. If fails: If access times cannot be read, retry using modification time (st_mtime) and note this to the user; if that also fails, report the error and stop.

  3. [Ask user] Present a REVIEW of the current Desktop state:

    • Total loose files count
    • Files flagged as "current work" (recent access) with their last-accessed dates - these will stay
    • Stale files grouped into logical categories using extensions, name patterns, and context:
      • Work documents (spreadsheets, reports, operational docs)
      • AI/Tech projects (skills, agents, code projects, FDS documents)
      • Presentations and events
      • Scripts and development files (.py, .js, .html, .vbs)
      • Media files (.mp4, .jpg, .png, .gif)
      • Personal items
      • Temp/delete candidates (~$ lock files, duplicate downloads)
    • Existing subfolders already on the Desktop

    Ask the user to confirm the categorisation is correct, or adjust categories. If fails: If the user does not respond or the categorisation is unclear, re-present the review and ask them to confirm or adjust before continuing.

  4. [Ask user] Based on the confirmed categories and existing subfolders, propose a FOLDER ARCHITECTURE:

    • Which existing folders will receive files (and which files go where)
    • Any new folders to create (with proposed names)
    • Files that will remain on the Desktop (recent/current work)
    • Files proposed for deletion (only ~$ temp files)

    Present this as a clear table. Offer a decision card:

    • "Approve architecture"
    • "Suggest changes"

    If the user suggests changes, revise and re-present until approved. If fails: If no clear decision is given, re-ask the user to approve the architecture or specify changes before proceeding.

  5. [Ask user] With the architecture approved, present the specific file moves for sign-off:

    • List each file and its destination
    • Group by destination folder for readability
    • Highlight any potential name conflicts

    Offer a decision card:

    • "Execute all moves"
    • "Let me pick which ones"

    If "Let me pick", present each group individually for approve/skip. If fails: If the user does not sign off, re-present the move list and ask them to approve all or pick specific moves before executing.

  6. [Agent] Execute the approved plan:

    • Create any new folders first (folder_create)
    • Move approved files in batch (file_move for each)
    • Delete approved ~$ temp files (file_delete)
    • If any move fails (locked file, conflict), skip it and log the failure If fails: If folder creation or a move fails, skip the affected file, record the reason (locked, conflict, or error), and continue with the remaining approved actions.
  7. [Agent] Present a final summary:

    • Files moved (count and destinations)
    • Files deleted
    • Files skipped (with reason: locked, conflict, or user-skipped)
    • Files left as current work (with note they were recently accessed)
    • Remaining loose file count on Desktop If fails: If any action's result cannot be determined, report the actions whose outcome is unknown and ask the user to verify the Desktop state.
  8. [Ask user] If this is the first run (no existing weekly schedule detected), offer to set up a recurring weekly cleanup:

    • "Want me to run this automatically once a week?"
    • Decision card: "Yes, schedule weekly" / "No thanks"
    • If yes, use create_scheduled_agent to set up a weekly schedule (suggest Monday morning). The scheduled run should use the same skill and present findings via the activity feed for review rather than auto-moving files.
    • If no, skip silently. If fails: If scheduling cannot be set up or the user does not respond, skip the schedule and report that the cleanup completed without a recurring run.

</Workflow - Desktop Cleanup>

Overview

Scans the user's Desktop folder, identifies loose files, checks recency (files accessed in the last 2 weeks stay as current work), categorises stale files, proposes a folder architecture for approval, and executes moves with user sign-off at each stage. On first run, offers to schedule itself weekly.

Workflow

See the structured workflow above within Instructions.

Output

A tidy Desktop with stale files grouped into approved folders and recently-accessed files left in place as current work. The user receives a summary of all actions taken, and an optional weekly schedule for ongoing tidiness.

Lessons Learned

Do

  • Check file access times to identify current work before proposing moves
  • Discover existing folders at runtime before proposing destinations
  • Present the review, then architecture, then moves as three distinct approval stages
  • Group independent file_move calls for speed
  • Fall back to st_mtime if st_atime appears unreliable (all identical timestamps)

Don't

  • Don't move recently-accessed files, they are likely current work
  • Don't move .lnk shortcut files or desktop.ini
  • Don't delete anything except ~$ temp lock files, and only with approval
  • Don't rename files, only move them
  • Don't assume folder names exist from prior runs
  • Don't collapse the three approval gates into one
  • Don't auto-move files in a scheduled run. Scheduled runs should only report findings for user review.

Common Failures

  • File locked by another application: skip it, report to user
  • Destination already contains a same-named file: alert user, don't overwrite
  • Desktop path detection fails (rare): fall back to asking the user for the path
  • Access time unreliable (NTFS setting): fall back to modification time

When to Ask the User

  • After the initial review (confirm categorisation)
  • After proposing folder architecture (approve or adjust)
  • Before executing moves (final sign-off)
  • When a file doesn't clearly fit any category
  • When there's a name conflict in the destination folder
  • When offering to schedule (never auto-create a schedule without approval)

附带文件

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

常见问题

Desktop Cleanup AI 技能有什么作用?

Activate when the user says 'clean up my desktop', 'organise my desktop', 'tidy desktop', 'declutter desktop', 'sort my desktop', or asks to reorganise/clean files on their Desktop. Scans the Desktop folder, categorises loose files, proposes a folder architecture for approval, and moves files with user sign-off.

为什么在 TypingMind 中使用 Desktop Cleanup?

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

如何在 TypingMind 中安装 Desktop Cleanup?

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

哪些 AI 模型可以使用 Desktop Cleanup?

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

Desktop Cleanup 可以搭配多少个 AI 模型使用?

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

Desktop Cleanup AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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