Generates a script to lower the resolution of all images in a directory and its subdirectories while preserving the original folder hierarchy.
Scanned 5/30/2026
Install via CLI
openskills install gabrielmoreira/agent-skills-mirror---
id: "79bb1a8e-923d-4e22-a87d-78f19fce5b88"
name: "Batch Image Resizing with Folder Structure Preservation"
description: "Generates a script to lower the resolution of all images in a directory and its subdirectories while preserving the original folder hierarchy."
version: "0.1.0"
tags:
- "image processing"
- "batch processing"
- "python"
- "automation"
- "folder structure"
triggers:
- "lower resolution of all images in a folder"
- "resize images keep folder structure"
- "batch resize images preserving directory structure"
- "tool to resize images in subdirectories"
---
# 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 preserving directory structure
- tool to resize images in subdirectories
No comments yet. Be the first to comment!
Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.
Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...
**Complete production-ready guide for Google Gemini embeddings API** This skill provides comprehensive coverage of the `gemini-embedding-001` model for generating text embeddings, including SDK usage, REST API patterns, batch processing, RAG integration with Cloudflare Vectorize, and advanced use cases like semantic search and document clustering. ---
Interview, source-challenge, verify, save, and ADR-gate fuzzy coding requests into Codex-ready implementation specs. Use when a feature, bugfix, refactor, migration, repo-wide change, or architecture task needs user-verified requirements, source-backed decisions, durable architecture decisions, acceptance criteria, validation commands, rollout notes, saved spec/ADR files, and a Codex execution prompt. Do not use when already fully specified or when the user wants direct implementation now.
Use when a repo needs CodeGraph plus ast-grep for Codex MCP setup, exploration, impact analysis, structural search, or safe refactor planning.