Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
Back to list

Image Center Crop & Rotate

A lightweight skill that crops an image to 50% from the center and rotates it 90° clockwise in one pass.

Image & VideoBeginner88241AI score 5/10Last updated: May 16, 2026

What it does

It runs a PIL/Pillow-based Python script (crop_and_rotate.py) that chains two operations:

  1. Crop the image to 50% of its original dimensions, centered
  2. 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)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download 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.

  1. Open a terminal.
  2. Clone the repository: git clone https://github.com/instavm/coderunner.git
  3. Create the skills folder: mkdir -p ~/.claude/skills
  4. Copy the skill in: cp -r coderunner/skills/public/image-crop-rotate ~/.claude/skills/
  5. Install the dependency: pip install pillow
  6. Restart Claude Code and ask: "Crop this image 50% from the center and rotate it 90 degrees."
  7. Note: the docs assume /mnt/user-data/uploads and /mnt/user-data/outputs. When running locally, point Claude at your real file paths instead.
View source on GitHubLicense: Apache-2.0