jingmao-jk2-wyz-102: Organize Local Folders by File Extension Using Skill

Introduction

When files pile up in your Desktop, Downloads, or project root directory, manually creating subfolders by type and dragging them one by one is time-consuming and prone to omissions. While scripts can handle batch moving, the maintenance cost is significant due to the need to modify extension lists, handle name conflicts, and manage permission errors every time. Here, we introduce a community Skill from SkillHub, jingmao-jk2-wyz-102: it codifies “Scan Directory → Classify by Extension → Move and Report” into an Agent-executable SKILL.md workflow. In clients supporting Skills like Cursor or Claude Code, you can trigger the organization simply by specifying the target path in natural language.

What is this

jingmao-jk2-wyz-102 is a community Skill published by user_64676732 on SkillHub (Coordinate: @user_64676732/jingmao-jk2-wyz-102, current version 1.0.0). It is officially categorized under business-ops with a sub-tag of “Sales Assistant” (biz-sales); however, the package description positions it as a File Management tool: within a user-specified folder, it creates subdirectories based on file extensions, moves files into them, and outputs a statistical report. The tag requires_api_key=false indicates that no third-party API Key configuration is needed.

The SkillHub page shows: 856 downloads, a rating of 100000 (internal platform score), and a security scan result of “Safe, No Risk”. The overview text is empty (hasOverview: false), so specific capabilities are defined by the SKILL.md inside the Zip package.

Core Features

According to the SKILL.md inside the package, once enabled, the Agent acts according to the following conventions (only organizing files, not deleting or modifying content):

  1. Scan Range: Reads files under the user-specified target folder; by default, it does not enter subfolders unless explicitly requested by the user.
  2. Classify by Extension: Creates subfolders for existing types and moves files; categories with no files are not created:
    • Documents: .doc / .docx / .pdf / .txt / .md / .ppt / .pptx / .xls / .xlsx
    • Images: .jpg / .png / .gif / .svg / .webp / .jpeg / .bmp
    • Code: .js / .py / .html / .css / .ts / .java / .go / .cpp / .h
    • Archives: .zip / .rar / .7z / .tar / .gz / .bz2
    • Video: .mp4 / .avi / .mov / .mkv / .flv / .wmv
    • Audio: .mp3 / .wav / .flac / .aac / .ogg
    • Others: Extensions that cannot be categorized.
  3. Name Conflict Handling: If a file with the same name already exists in the target subdirectory, a numerical suffix is automatically added to prevent overwriting.
  4. Organization Report: After completion, outputs the total number of files, counts per category, failed items (e.g., insufficient permissions), and a description of the directory structure before and after organization.
  5. Safety Boundaries: Does not delete content; does not process hidden files, system files, or files starting with .; if no path is specified, defaults to the current working directory; if the user requests “Preview Only”, it only generates a classification list without actually moving files.

Installation & Activation

SkillHub recommends two methods: letting the AI follow the installation documentation, or using the skillhub CLI. When installing, you must use --dir to point to the current Agent’s skills directory; otherwise, it defaults to ./skills/ which might not be recognized.

Method 1: Prompt Installation (Copy from official page)

Send the following instruction to an Agent that supports Skills:

Please install @user_64676732/jingmao-jk2-wyz-102 according to https://skillhub.cn/install/skillhub.md.

Method 2: SkillHub CLI

First, confirm if the CLI is installed:

command -v skillhub && skillhub --version

If not installed, run the full installation (recommended by documentation):

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

Install the Skill to the corresponding client directory (choose one path based on the Agent you are using):

# Cursor
skillhub install @user_64676732/jingmao-jk2-wyz-102 --dir ~/.cursor/skills/

# Claude Code
skillhub install @user_64676732/jingmao-jk2-wyz-102 --dir ~/.claude/skills/

# Codex
skillhub install @user_64676732/jingmao-jk2-wyz-102 --dir ~/.codex/skills/

You can also search first before installing:

skillhub search jingmao-jk2-wyz-102
skillhub install @user_64676732/jingmao-jk2-wyz-102 --dir <your skills directory>

Method 3: Download Zip and manually place in skills directory

SkillHub provides the Zip package for version 1.0.0:

https://api.skillhub.cn/api/v1/download?slug=@user_64676732/jingmao-jk2-wyz-102

After extracting, place the directory into the skills path mentioned above, and restart or refresh the Agent’s skill loading (refer to the documentation of your specific client).

Typical Usage

After installation and activation, simply state the target path and whether to preview in your conversation, and the Agent will execute according to the SKILL.md workflow. Example phrasing (replace paths with your actual directory):

Use jingmao-jk2-wyz-102 to organize files under /home/me/Downloads, classify and move them according to Skill rules, and provide a statistical report.

To only view how it would be classified without moving files:

Preview only for /home/me/Downloads: List the file inventory by category according to jingmao-jk2-wyz-102 rules, do not actually move them.

If no path is written, the Skill convention defaults to organizing the current working directory.

Use Cases & Notes

Who it is for: Individuals or small teams who need to regularly clean up Downloads, shared drive root directories, or single-level “file piles”; those who prefer to specify paths via conversation and let the Agent perform the moving and summarizing, rather than writing one-off scripts every time.

Limitations & Notes:

  • By default, it does not recursively process subfolders; deep directories require separate instructions or multiple organization passes.
  • The classification table is fixed in SKILL.md; extensions not listed will go to “Others”; special business types (like .dmg, .iso) will not have separate categories.
  • Relies on the Agent’s permissions for file system operations; read-only or sandbox-restricted sessions may not be able to complete moves, and failed items will be listed in the report.
  • Community source (source: community), author is unverified (isAuthorVerified: false); it is recommended to “Preview Only” or back up important directories yourself before organizing.
  • The official page has no long-form overview; upgrades and changes are subject to the SkillHub “Version History” and the SKILL.md in the new package.

Conclusion

jingmao-jk2-wyz-102 solidifies the common “sort folders by extension” process into an installable Agent Skill. It requires no API Key and is suitable for local directory organization within clients that support SkillHub installation. For details and installation entries, see SkillHub:

  • Page: https://www.skillhub.cn/skills/user_64676732/jingmao-jk2-wyz-102
  • API Coordinate: https://api.skillhub.cn/user_64676732/jingmao-jk2-wyz-102
羽毛球分组比赛记分
小程序二维码

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

Xiaoye