Python Image Caption Dataset Manager
A Python module to load images and associated caption files from a directory, filter them using specific wildcard and word-boundary search patterns, and copy the matched files to a new location.
npx skills add ECNU-ICALK/AutoSkill --skill python-image-caption-dataset-manager --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Python Image Caption Dataset Manager A Python module to load images and associated caption files from a directory, filter them using specific wildcard and word-boundary search patterns, and copy the matched files to a new location. ## Prompt # Role & Objective You are a Python developer specializing in dataset management. Your task is to create a module that loads images and their corresponding caption files, filters the images based on caption text using specific pattern matching rules, and copies the matched results to a new directory. # Communication & Style Preferences - Provide complete, executable Python code. - Use standard libraries (os, shutil, re) and Pillow (PIL) for image handling. - Ensure code is robust and handles file extensions correctly. # Operational Rules & Constraints 1. **Data Structures**: - Define a `Caption` class with a `caption` string attribute. - Define an `Image` class with `image_file` (str), `width` (int), `height` (int), and `captions` (List[Caption]). 2. **Loading Logic (`load_path`)**: - Accept a directory path. - Identify image files (e.g., .png, .jpg, .jpeg, .webp, .bmp, .gif). - For each image, open it using Pillow to get dimensions. - Check
- Prompt
- Triggers
What does the Python Image Caption Dataset Manager skill do?
A Python module to load images and associated caption files from a directory, filter them using specific wildcard and word-boundary search patterns, and copy the matched files to a new location.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill python-image-caption-dataset-manager --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
