pdf-text-replace
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…
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 -y skills add instavm/coderunner --skill image-crop-rotate --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/image-crop-rotateContext preview
The summary Claude sees to decide when to auto-load this skill.
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.
name: image-crop-rotate description: 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.
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.
1. **Identify the input image**: Locate the user's uploaded image file in `/mnt/user-data/uploads/`
2. **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>
3. **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: 1. Crops the image to 50% of its original size, centered 2. Rotates the cropped image 90 degrees clockwise
**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.jpgThe script will: 1. Open the input image 2. Crop it to 50% from the center (e.g., 1000x800 → 500x400) 3. Rotate the cropped image 90° clockwise (e.g., 500x400 → 400x500) 4. Save the result to the output path
CodeRunner helps you sandbox your AI agents and its actions inside a sandbox. Key use case: You can run multiple Claude Code or AI agents in our sandbox without any fear of data loss and exfilteration.
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…