Auto File Archiving Assistant: Organize Cluttered Folders by Type and Rules

Introduction

Downloads directories, desktops, and project-adjacent folders often become cluttered with screenshots, contract PDFs, screen recordings, and scattered scripts. Manually creating subdirectories and dragging files by extension is tolerable once; however, when reorganizing weeks later, filenames and paths often mismatch, and accidental deletion is a common risk.

Below is an introduction to the community Skill “File Auto-Archiver” on SkillHub. It is designed for “one-click organization” scenarios: once enabled in an Agent, the model follows the Skill’s instructions, combined with your specified directory and preferences, to archive files into corresponding categories (such as Images, Documents, Videos, Code, etc.) based on file type, date, or keywords. It is suitable for users already using clients that support Skills, such as Cursor or Claude Code, who do not wish to write their own organization scripts.

What is this

File Auto-Archiver (Coordinates @user_e5701557/file-auto-archiver, Version 1.0.0) is an office efficiency Skill sourced from the SkillHub community (community), categorized under office-efficiency. The publisher is user_e5701557.

Official Description: Automatically organizes and archives files by file type, date, or keywords. It supports categories such as images, documents, videos, and code, helping you clean up messy folders with one click. The page labels it as requires_api_key=false, meaning installation and usage do not depend on additional API Key configuration (subject to the SkillHub page labels).

SkillHub Statistics (based on crawled data): Rating 100000, Downloads 1518, Install count 0 (This is a platform display field and does not imply it is not installed locally).

Official Links:

  • SkillHub Page: https://www.skillhub.cn/skills/user_e5701557/file-auto-archiver
  • API Coordinates Page: https://api.skillhub.cn/user_e5701557/file-auto-archiver

Core Features

The following capabilities are derived from the official description and SkillHub metadata. Details not explicitly stated on the public page (such as specific directory tree templates or whether files are moved or only copied) are not expanded upon here.

  1. Classify by File Type
    Supports organizing common categories into different archive destinations. The description explicitly mentions: Images, Documents, Videos, Code, etc.

  2. Organize by Date
    Can organize files based on date dimensions (specifics depend on the SKILL.md and workflow after the Skill is installed).

  3. Organize by Keywords
    Can classify files based on filenames or keyword rules provided by you.

  4. One-click Cleanup of Messy Folders
    Targets scenarios where “an entire folder needs consolidation.” It executes archiving via conversation with the Agent, rather than requiring you to write long shell scripts.

Installation and Enablement

SkillHub officially recommends two methods: using the SkillHub CLI to install to the current Agent’s skills directory, or sending the installation prompt to the AI to perform the installation according to the documentation.

1. Install SkillHub CLI (if not already installed)

First, check if the CLI is available:

command -v skillhub && skillhub --version

If not installed, you can follow the SkillHub installation documentation to perform a full installation (Recommended command from documentation):

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

To install only the CLI:

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

See documentation at: https://skillhub.cn/install/skillhub.md

2. Install this Skill

During installation, you must use --dir to point to the actual skills directory read by the current Agent. Otherwise, it defaults to installing to ./skills/, which the client may not recognize.

skillhub install @user_e5701557/file-auto-archiver --dir <your skills directory>

Common client skills paths (Excerpted from SkillHub installation documentation, please choose according to your local environment):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

If you prefer to have the AI install it for you, the prompt provided on the SkillHub page is:

Please install `@user_e5701557/file-auto-archiver` based on https://skillhub.cn/install/skillhub.md.

After installation is complete, restart or refresh the Agent according to your client’s requirements to ensure the new Skill is loaded.

Typical Usage

The public SkillHub page does not include instructions for an independent command-line sub-tool. The typical usage is: In a conversation where this Skill is enabled, specify the root directory to organize, whether moving/renaming is allowed, and your preferred dimensions (Type / Date / Keywords).

Reproducible conversation example (Please replace paths with real directories on your machine):

Please use the File Auto-Archiver to organize ~/Downloads/ToArchive:
- Sort images, documents, videos, and code into different subdirectories
- Further sort documents into YYYY-MM subfolders by modification date
- Put files containing "Invoice" in the filename into Documents/Invoices
- List the planned moves first, and execute only after I confirm

Through the steps above, the Agent will perform classification based on the SKILL.md and workflow within the Skill. If you are sensitive to accidental moves, be sure to request “preview the list before executing” in the conversation and test run on a small directory first.

Use Cases and Notes

Who it is for

  • Users who need to regularly consolidate directories with “mixed types” such as Downloads areas, shared drive inboxes, or event asset folders.
  • Users already using environments that support Skills like Cursor, Claude Code, or Codex, who want to describe rules in natural language instead of maintaining self-written scripts.
  • Users who do not need to configure a separate API Key for the Skill (requires_api_key=false).

Limitations and Precautions

  • Source is community. The archiving logic and boundaries are subject to the SKILL.md within the package; check SkillHub for updates to version 1.0.0 before upgrading.
  • Batch moving/renaming carries risks: Back up first or verify in a copy directory. For important files, it is recommended to “copy to archive” first before cleaning the original location (whether the Skill defaults to moving is subject to the actual Skill description).
  • The --dir for skillhub install must align with the current Agent’s skills directory; installing to the wrong location will result in “Installed but unusable in conversation.”
  • The “Install 0” displayed on the platform is a SkillHub statistics field and has no bearing on whether it is installed on your local machine.

Conclusion

File Auto-Archiver condenses “organizing folders by type, date, and keywords” into a category of office efficiency Skills that can be triggered within an Agent, making it suitable for handling cluttered directories that have accumulated over time. Installation and path configuration should follow SkillHub documentation; test run in a small-scale directory and confirm the moving strategy before use.

Skill Homepage: https://www.skillhub.cn/skills/user_e5701557/file-auto-archiver

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

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

Xiaoye