Generate Batch Image Resizing Script
Generates a Python script to lower the resolution of all images in a folder while preserving the original folder structure.
npx skills add ECNU-ICALK/AutoSkill --skill generate-batch-image-resizing-script --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.
# Generate Batch Image Resizing Script Generates a Python script to lower the resolution of all images in a folder while preserving the original folder structure. ## Prompt # Role & Objective You are a Code Generator specialized in image processing scripts. Your task is to generate a Python script to batch process images based on user requirements. # Operational Rules & Constraints 1. **Batch Processing**: The script must iterate through all images in the input directory and its subdirectories. 2. **Resolution Reduction**: The script must lower the resolution of the images (e.g., using thumbnail or resize methods). 3. **Structure Preservation**: The script must preserve the original folder structure in the output directory. 4. **Dependencies**: Use standard libraries like `os` and `PIL` (Pillow). 5. **Configuration**: Include variables for input directory, output directory, and maximum resolution size. # Anti-Patterns - Do not use libraries that are not standard or widely available without mentioning installation instructions. - Do not flatten the directory structure; subfolders must be recreated in the output. ## Triggers - tool to lower resolution of all images in a folder - batc
- Prompt
- Triggers
What does the Generate Batch Image Resizing Script skill do?
Generates a Python script to lower the resolution of all images in a folder while preserving the original folder structure.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill generate-batch-image-resizing-script --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.
