skills/public/image-crop-rotate/SKILL.md
Image processing skill for cropping images to 50% from center and rotating them 90 degrees clockwise. This skill should be used when users request image cropping to center, image rotation, or both operations combined on image files.
npx skillsauth add instavm/coderunner image-crop-rotateInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill provides functionality to crop images to 50% of their original size from the center and rotate them 90 degrees clockwise. It uses a reliable Python script with PIL/Pillow for consistent, high-quality image processing.
Use this skill when the user requests:
The skill provides a single script that performs both operations: cropping to 50% from center and rotating 90 degrees clockwise.
Identify the input image: Locate the user's uploaded image file in /mnt/user-data/uploads/
Execute the script: Run the crop_and_rotate.py script with input and output paths:
python scripts/crop_and_rotate.py <input_path> <output_path>
Provide the result: Move the processed image to /mnt/user-data/outputs/ and share it with the user
scripts/crop_and_rotate.py
This script performs two operations in sequence:
Usage:
python scripts/crop_and_rotate.py input.jpg output.jpg
Arguments:
Supported formats: Any format supported by PIL/Pillow (JPEG, PNG, GIF, BMP, TIFF, etc.)
Output: The script prints processing details including original size, cropped size, and final size
# Process an uploaded image
python /mnt/user-data/skills/image-crop-rotate/scripts/crop_and_rotate.py \
/mnt/user-data/uploads/photo.jpg \
/mnt/user-data/outputs/photo_processed.jpg
The script will:
content-media
Replace text in fillable PDF forms by updating form field values. This skill should be used when users need to update names, addresses, dates, or other text in PDF form fields.
content-media
Summarize or extract text/transcripts from URLs, podcasts, and local files (great fallback for “transcribe this YouTube/video”).
content-media
QQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
content-media
Summarize or extract text/transcripts from URLs, podcasts, and local files (great fallback for “transcribe this YouTube/video”).