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)
  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

🔥 大家都在搜

wps 写作 pdf 苹果