Tooluck logoTooluck
SKILL.md

image-crop-rotate

Agent skill frominstavm/coderunner

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.

How to install image-crop-rotate

install image-crop-rotate
# install the coderunner pack with the skills CLI
npx skills add instavm/coderunner

# or add only this skill to Claude Code: copy the folder

skills/public/image-crop-rotate/

# into

~/.claude/skills/image-crop-rotate/ (all projects)

.claude/skills/image-crop-rotate/ (one project)

skills/public/image-crop-rotate/SKILL.md

Apache-2.0Full file
1# Image Crop and Rotate
2
3## Overview
4
5This 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.
6
7## When to Use This Skill
8
9Use this skill when the user requests:
10- Cropping an image to 50% from the center
11- Rotating an image 90 degrees (clockwise)
12- Both cropping and rotating an image
13- Image processing tasks that combine center cropping with rotation
14
15## How to Use This Skill
16
17### Overview
18
19The skill provides a single script that performs both operations: cropping to 50% from center and rotating 90 degrees clockwise.
20
21### Process
22
231. **Identify the input image**: Locate the user's uploaded image file in `/mnt/user-data/uploads/`
24
252. **Execute the script**: Run the `crop_and_rotate.py` script with input and output paths:
26 ```bash
27 python scripts/crop_and_rotate.py <input_path> <output_path>
28 ```
29
303. **Provide the result**: Move the processed image to `/mnt/user-data/outputs/` and share it with the user
31
32### Script Details
33
34**`scripts/crop_and_rotate.py`**
35
36This script performs two operations in sequence:
371. Crops the image to 50% of its original size, centered
382. Rotates the cropped image 90 degrees clockwise
39
40**Usage:**
41```bash
42python scripts/crop_and_rotate.py input.jpg output.jpg
43```
44
45**Arguments:**
46- First argument: Path to input image
47- Second argument: Path to save processed image
48…

Excerpt shown under the repository's Apache-2.0 license.

More skills in coderunner

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Leonxlnx /

taste-skill
113k

Agent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages

CCCXCU1 skill

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates