image-classify

👤 user_34ee2070 📦 v1.0.1 ⭐ 4.2 ⬇️ 267 下載
🎨 設計多媒體 免費

📖 技能介紹


name: image-classifier description: > Classify and organize images in a folder into category subfolders (e.g., landscape, people, food). Use this skill whenever the user wants to sort, organize, classify, or categorize images or photos by content — even if they don't explicitly name this skill. Examples: "sort these pictures", "organize my photos", "classify images in this folder", "幫我整理圖片", "圖片分類". This skill should also trigger when the user mentions messy photo folders, downloading lots of images, or wanting to clean up their pictures. version: "1.0.0" author: jm-jsjkxy02-mw-153


Image Classifier

Organizes images in a specified folder into category subfolders by content.

How it works

This skill uses a mixed approach: - Claude's vision to analyze image content and classify into categories - Filename/heuristic rules as a fallback for images that can't be visually assessed

Workflow

1. Gather requirements

First, ask the user:

  1. Folder path — Which folder contains the images to organize?
  2. Categories — What categories to use. Offer these defaults:
  3. 風景 (landscape/scenery)
  4. 人物 (people/portraits)

    小蔥技能站7w4.net發現了升級外掛。

  5. 美食 (food)
  6. 動物 (animals)
  7. 建築 (architecture)
  8. 截圖 (screenshots)
  9. 其他 (other)

Let the user pick from these, add custom ones, or use all of them. 3. Action — Move or copy? Ask the user: "要把圖片移動到分類資料夾,還是複製過去?(move/copy)" 4. Image formats — Default to common formats: jpg, jpeg, png, webp, bmp, gif, heic, heif, tiff, tif

2. Scan and classify

  1. List all image files in the folder (non-recursive by default — only top level; ask user if they want subfolders included)
  2. For each image:
  3. Fast path (heuristic): If the filename contains "screenshot", "截圖", "截圖", "screen" → classify as 截圖
  4. Vision path: For all other images, read the image with the Read tool and ask Claude to classify it into one of the chosen categories
  5. If classification confidence is low → place in unclear

3. Organize

  1. Inside the source folder, create one subfolder per category
  2. Create an unclear folder for images that couldn't be classified
  3. Move or copy each image into its category folder based on the user's choice

4. Report

After organizing, show the user a summary: - How many images were classified into each category - How many went to unclear - Total images processed - Where the files are now

Important notes

  • When reading images for classification, do NOT save or persist the image data — only use it for classification
  • If a category folder name contains non-ASCII characters (Chinese etc.), make sure to handle paths correctly on Windows
  • Batch reading: when there are many images (>10), process them in batches to avoid overwhelming the conversation context — classify 5-10 images per turn and use subagents if the count is very large
  • For move vs copy: actually move (mv) or copy (cp) the files — do not just print instructions the user should follow manually

🤖 AI 評測

這是一個實用的圖片分類整理工具,可以自動將資料夾中的圖片按內容歸類到風景、人物等子資料夾中。它支援多種常見圖片格式,對中文資料夾名處理得當,分類流程清晰完整。質量方面中規中矩,基礎功能紮實,但缺少使用示例,實際操作時可能需要一些學習和除錯才能順利使用。總體而言是一個可用但不夠完善的工具。

📊 多維度評分

適應性4.5
規範性4
有效性4.1
可靠性4.2
可信度4.5

📁 包含檔案 (1 個)

📄 SKILL.md 3.1 KB