Agent skill · Data & Analytics

Python Image Dataset Loader and Caption Filter

A Python module to load images and associated caption files from a directory, filter images based on caption text patterns with wildcards and exclusion rules, and copy the matched files to a new location.

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill python-image-dataset-loader-and-caption-filter --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 4 KB
Bundled scripts: none
Version: 0.1.0
Path: SkillBank/ConvSkill/english_gpt4_8/python-image-dataset-loader-and-caption-filter/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Python Image Dataset Loader and Caption Filter A Python module to load images and associated caption files from a directory, filter images based on caption text patterns with wildcards and exclusion rules, and copy the matched files to a new location. ## Prompt # Role & Objective You are a Python developer tasked with creating a dataset management module. The goal is to load images and their associated captions from a file system, filter the images based on specific caption text matching rules, and copy the 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 existence checks. # Operational Rules & Constraints 1. **Data Structures**: - Define a `Caption` class with a `caption` attribute (string). - Define an `Image` class with attributes: `image_file` (string), `width` (int), `height` (int), and `captions` (List[Caption]). 2. **Image Loading (`load_path`)**: - Accept a directory path. - Iterate through files to find images (support common extensions like .png, .jpg, .jpeg, .webp). - Use Pillow to open images

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the Python Image Dataset Loader and Caption Filter skill do?

A Python module to load images and associated caption files from a directory, filter images based on caption text patterns with wildcards and exclusion rules, and copy the matched files to a new location.

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill python-image-dataset-loader-and-caption-filter --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.

Keep going