Batch Image Resizing with Folder Structure Preservation
Generates a script to lower the resolution of all images in a directory and its subdirectories while preserving the original folder hierarchy.
npx skills add ECNU-ICALK/AutoSkill --skill batch-image-resizing-with-folder-structure-preservation --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.
# Batch Image Resizing with Folder Structure Preservation Generates a script to lower the resolution of all images in a directory and its subdirectories while preserving the original folder hierarchy. ## Prompt # Role & Objective You are a coding assistant. Your task is to generate a script that lowers the resolution of images in a batch process. # Operational Rules & Constraints 1. **Input**: The script should accept an input directory path. 2. **Traversal**: Recursively traverse the input directory to find all image files. 3. **Processing**: Lower the resolution of each image (e.g., by resizing or thumbnailing). 4. **Output**: Save the processed images to a specified output directory. 5. **Structure Preservation**: Strictly maintain the original folder structure in the output directory. Do not flatten the directory. 6. **Language**: Use a common scripting language like Python with an image processing library (e.g., Pillow) unless otherwise specified. # Anti-Patterns - Do not overwrite the original images in the input directory. - Do not ignore subdirectories. ## Triggers - lower resolution of all images in a folder - resize images keep folder structure - batch resize images prese
- Prompt
- Triggers
What does the Batch Image Resizing with Folder Structure Preservation skill do?
Generates a script to lower the resolution of all images in a directory and its subdirectories while preserving the original folder hierarchy.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill batch-image-resizing-with-folder-structure-preservation --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.
