Image Center Crop & Rotate
A lightweight skill that crops an image to 50% from the center and rotates it 90° clockwise in one pass.
What it does
It runs a PIL/Pillow-based Python script (crop_and_rotate.py) that chains two operations:
- Crop the image to 50% of its original dimensions, centered
- Rotate the cropped result 90° clockwise
Example: a 1000x800 image becomes a 500x400 center crop, then 400x500 after rotation. The script prints original, cropped, and final sizes so you can verify the result. It works with any format Pillow supports — JPEG, PNG, GIF, BMP, TIFF and more.
Who it's for
- Anyone who needs quick center crops for thumbnails or avatars
- People fixing photos that came off a phone with the wrong orientation
- Users who prefer chat commands over opening an image editor
- Developers who want a small Pillow script to fork for other ratios or angles
Usage examples
- "Crop photo.jpg to 50% from the center and rotate it 90° clockwise" → grab the processed file from the outputs folder
- Trim the excess margin from a scanned document photo and set it upright
- Normalize a batch of product shots into identically framed center crops for a listing page
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/instavm/coderunner/HEAD/skills/public/image-crop-rotate/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/public/image-crop-rotate folder from the GitHub repo instavm/coderunner into my ~/.claude/skills/image-crop-rotate/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/instavm/coderunner.git && mkdir -p ~/.claude/skills && cp -r coderunner/skills/public/image-crop-rotate ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repository:
git clone https://github.com/instavm/coderunner.git - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the skill in:
cp -r coderunner/skills/public/image-crop-rotate ~/.claude/skills/ - Install the dependency:
pip install pillow - Restart Claude Code and ask: "Crop this image 50% from the center and rotate it 90 degrees."
- Note: the docs assume
/mnt/user-data/uploadsand/mnt/user-data/outputs. When running locally, point Claude at your real file paths instead.