image-crop-rotate
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.
pinned to #6480335updated 2 weeks ago
Ask your AI client: “install skills/image-crop-rotate”.
Requires the metahub MCP server installed in your client. Set up MCP.
mh install skills/image-crop-rotatemetahub onboarded this repo on the author's behalf.
If you own github.com/instavm/open-skills on GitHub, claim the listing to take over publishing. Your claim preserves the existing eval history and badges; only the curator label is replaced with verified-publisher on your next publish.
Stars
445
Last commit
2 weeks ago
Latest release
published
- #ai
- #claude
- #gemini-cli
- #mcp
- #ollama
- #opencode
- #privacy
- #qwen-cli
- #skills
Evaluation report
WarningsAutomated checks the publisher passed at publish time — structure, docs, safety, and whether the artifact behaves as claimed.6480335· 2 weeks ago
Kind-specific
31Skill: SKILL.md present
found at skills/public/image-crop-rotate/SKILL.md · frontmatter source: SKILL.md
Skill: body content present
301 words · 2,116 chars · 7 sections · 2 code blocks
Skill: triggers declaredwarn
No `trigger` phrases in SKILL.md frontmatter
Add `trigger:` lines so Claude knows when to activate this skill — e.g. `when building MCP servers` or `for diagram creation`.
Skill: allowed-tools scope
no allowed-tools restriction (Claude may use anything)
Release history
1- releasecurrent6480335warn2 weeks ago
Contents
Image Crop and Rotate
Overview
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.
When to Use This Skill
Use this skill when the user requests:
- Cropping an image to 50% from the center
- Rotating an image 90 degrees (clockwise)
- Both cropping and rotating an image
- Image processing tasks that combine center cropping with rotation
How to Use This Skill
Overview
The skill provides a single script that performs both operations: cropping to 50% from center and rotating 90 degrees clockwise.
Process
-
Identify the input image: Locate the user's uploaded image file in
/mnt/user-data/uploads/ -
Execute the script: Run the
crop_and_rotate.pyscript 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
Script Details
scripts/crop_and_rotate.py
This script performs two operations in sequence:
- Crops the image to 50% of its original size, centered
- Rotates the cropped image 90 degrees clockwise
Usage:
python scripts/crop_and_rotate.py input.jpg output.jpg
Arguments:
- First argument: Path to input image
- Second argument: Path to save processed image
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
Example Workflow
# 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:
- Open the input image
- Crop it to 50% from the center (e.g., 1000x800 → 500x400)
- Rotate the cropped image 90° clockwise (e.g., 500x400 → 400x500)
- Save the result to the output path
Reviews
No reviews yet. Be the first.
Related
Gpt Researcher
An autonomous agent that conducts deep research on any data using any LLM providers
Frontend Slides
Create beautiful slides on the web using Claude's frontend skills
Guizang Ppt Skill
AI-agent Skill for generating polished HTML slide decks: editorial magazine and Swiss layouts, image prompts, social covers, and a WebGL/low-power presentation runtime.
mh install skills/image-crop-rotate