Compact and Powerful: One-Click Desktop Organization via Agent Skills and Chat Triggers

Introduction

When your desktop is cluttered with screenshots, installation packages, and temporary documents, manually dragging them into folders is slow and prone to oversights. Pure scripts can batch-move files by extension, but they lack preview and undo capabilities, making the cost of mistakes high. Below is an introduction to the SkillHub community Skill “Small but Useful: One-Click Desktop Organizer” (Coordinates @user_8cda13c6/desktop-file-sorter-ultra-77, version 1.0.0): It is triggered via natural language on the Agent side, and uses a local Python + tkinter graphical interface to perform scanning, previewing, one-click organizing, and undoing. It requires no third-party dependencies and no API Key (requires_api_key=false).

What is this

“Small but Useful: One-Click Desktop Organizer” is a life-service community Skill (Source: community) listed on SkillHub by publisher user_8cda13c6. It embeds the instructions and trigger words for the desktop organizing tool into a standard SKILL.md and comes with an executable desktop_organizer.py main program.

It is positioned for automatic desktop file classification in a Windows environment: files are sorted into folders such as Images, Documents, and Videos based on their extensions. A preview is shown in the interface before organizing, and files are moved only after confirmation; shortcuts (.lnk) and existing subfolders are not moved by default.

SkillHub Page: https://www.skillhub.cn/skills/user_8cda13c6/desktop-file-sorter-ultra-77
API Documentation: https://api.skillhub.cn/user_8cda13c6/desktop-file-sorter-ultra-77

(As of data retrieval: SkillHub Rating 100000, Downloads 963.)

Core Features

The following capabilities are derived from the implementation descriptions in SKILL.md and desktop_organizer.py within the Skill package.

  1. Automatic Scanning: Upon startup, scans the target directory (default: user Desktop) and lists files pending organization.
  2. Eight Categories + Others: Images, Documents, Videos, Music, Archives, Programs, Code, Fonts; unmatched extensions are classified as “Others”.
  3. Organization Preview: Displays the size, modification time, and intended category for each file in a tree list.
  4. One-Click Organize: Creates subfolders named after the categories on the Desktop (or your selected directory) and moves files into them; automatically adds a timestamp suffix to resolve name conflicts.
  5. Safe Skip: Directory entries and .lnk shortcuts are excluded from moving.
  6. Undo: Records the most recent organization operations in history; keeps the last 10 records locally and supports undo operations from the interface.
  7. Change Path: The GUI supports selecting non-Desktop folders as the organization target.

Agent-side Triggers (Choosing any one will prompt an assistant with this Skill installed to enter the corresponding workflow): Organize desktop, Organize desktop files, Desktop is messy, Organize my desktop, Organize folders, Desktop is too messy, Too many files.

Installation and Activation

The Skill must first be placed in the skills directory of the current Agent to be loaded. The installation instructions provided on the official page are as follows.

First, confirm that skillhub is installed on your machine:

command -v skillhub && skillhub --version

If not installed, you can perform a complete installation according to the SkillHub installation documentation (the example below is the recommended command from the official docs):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

Install the Skill to the skills directory of the currently used Agent (--dir is required). Example for Cursor:

skillhub install desktop-file-sorter-ultra-77 --namespace user_8cda13c6 --dir ~/.cursor/skills/

Other common paths (from SkillHub installation docs, choose one based on your actual client):

  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project
  • Gemini CLI: ~/.gemini/skills/

You can also send the prompt below to an AI to let it complete the installation according to https://skillhub.cn/install/skillhub.md:

Please install `@user_8cda13c6/desktop-file-sorter-ultra-77` based on https://skillhub.cn/install/skillhub.md.

After installation, the Skill directory typically contains SKILL.md and desktop_organizer.py. If the Agent requires a restart or reload of skills to recognize the new package, please follow the instructions for your specific client.

Dependencies and Environment

  • Python 3.x, Standard Libraries: tkinter, shutil, pathlib, json, threading.
  • No additional pip packages required; a working tkinter is required on Windows (included in most official Python installations).

Typical Usage

Method 1: Trigger in Agent Conversation

In environments like Cursor or Claude Code where this Skill is installed, simply say “Organize desktop” or any of the trigger words mentioned above. The Agent will guide you to run the local GUI or explain the operation steps according to SKILL.md.

Method 2: Launch GUI via Command Line

Navigate to the Skill installation directory and execute the main program (replace the path with the actual location under your --dir):

python ~/.cursor/skills/@user_8cda13c6/desktop-file-sorter-ultra-77/desktop_organizer.py

Method 3: WorkBuddy

SKILL.md specifies that in WorkBuddy, you can say “Organize desktop,” and the AI will assist in launching and guiding the operation (The WorkBuddy skills directory is generally ~/.workbuddy/skills/; use --dir to point to this path during installation).

In-Interface Workflow

After opening the program via the steps above, you can follow this fixed workflow:

  1. Start → Automatically scans the Desktop (or your changed path).
  2. Preview → View classification results and statistics in the tree list on the left.
  3. Confirm → Click “One-Click Organize” and confirm in the dialog box.
  4. Execute → Files are moved into their corresponding category folders.
  5. Rollback (if needed) → Use “Undo Organize”; history records are stored in .desktop_organizer_history.json in the user’s home directory (up to 10 records kept within the program).

The correspondence between extensions and categories is based on the table in SKILL.md; the program implementation also includes a few additional extensions (such as .odt for documents, .yaml for code, etc.). Files not listed will go to “Others”.

Use Cases and Notes

Who it is for

  • Users working primarily on Windows with mixed file types on their desktop who prefer to “look before they move.”
  • Those already using clients supporting Skills (like Cursor / Claude Code / WorkBuddy) who want to initiate the organizing process with a single sentence.

Limitations and Notes

  • The tool is designed for Windows desktop scenarios; GUI font and DPI handling are written according to Windows conventions. Usability on other systems depends on the Python and tkinter environment, though official documentation focuses on Windows.
  • Organizing rules rely entirely on extension matching and do not read file contents; if a category folder with the same name exists, it is reused; if a file with the same name exists, it is renamed before moving.
  • Undo depends on the local history file; if .desktop_organizer_history.json is deleted or corrupted, earlier operations cannot be recovered via the Skill.
  • SKILL.md mentions it can be run by double-clicking “Start.bat”; currently, the SkillHub download package mainly consists of desktop_organizer.py. If the .bat file is not present locally, you can launch it directly using the python command mentioned above.

Conclusion

“Small but Useful: One-Click Desktop Organizer” combines conversational triggers with local visual organizing: The Agent handles intent recognition, while the Python program handles scanning, previewing, moving, and undoing, without relying on an API Key. To enable it on your local machine, simply install it from SkillHub to the skills directory of your corresponding Agent.

Official URL: https://api.skillhub.cn/user_8cda13c6/desktop-file-sorter-ultra-77
SkillHub Display Page: https://www.skillhub.cn/skills/user_8cda13c6/desktop-file-sorter-ultra-77

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye