image-crop-rotate

image-crop-rotate is a skill for Claude Code, Codex from instavm/coderunner. It costs 50 tokens per session (566 once invoked), scanned A, original, Apache-2.0.

An image-processing procedure that crops an image to half its width and height from the center, then rotates it 90 degrees clockwise.

In plain words
What is it for?
Preparing uploaded images that need a centered half-size crop, a clockwise rotation, or both.
Why use it?
It removes the need to perform these two image edits manually or write the processing script yourself.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/instavm/coderunner/image-crop-rotate
Any agent
npx skills add instavm/coderunner --skill image-crop-rotate
Clone the repo
git clone --depth 1 https://github.com/instavm/coderunner

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for image-crop-rotate

README.md
[![agentmods](https://agentmods.dev/badge/skills/instavm/coderunner/image-crop-rotate.svg)](https://agentmods.dev/skills/instavm/coderunner/image-crop-rotate)
Your own site
<a href="https://agentmods.dev/skills/instavm/coderunner/image-crop-rotate"><img src="https://agentmods.dev/badge/skills/instavm/coderunner/image-crop-rotate.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 566 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00050 $0.00566
Opus 5 $0.00025 $0.00283
Sonnet 5 $0.00010 $0.00113
Haiku 4.5 $0.00005 $0.00057

Measured 5d ago against content hash 32bbb02a8f40, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

image-crop-rotate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/crop_and_rotate.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/public/image-crop-rotate/SKILL.md · 72 lines

How it starts

The opening of the file, as written. The whole thing — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

  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

Script Details

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:

  • 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:

  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

Read the full file on GitHub · 72 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 72 lines · 50 tokens per session scan A 32bbb02a8f40

Subscribe to this mod's changes

image-crop-rotate is a skill published in the GitHub repository instavm/coderunner (891 stars, last pushed 22d ago), licensed Apache-2.0. It adds 50 tokens to every session and 566 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

idea-generator

Brainstorm and rank iOS/macOS app ideas tailored to developer skills. Use when user says "what should I build", "give me app ideas", "I don't know what to build", "brainstorm app ideas", or "help me find an app idea".

rshankras/claude-code-apple-skills · 57 tokens

milestone-celebration

Generates achievement celebration UI with confetti animations, badge unlocks, progress milestones, haptic feedback, and optional share-to-social. Use when user wants to celebrate achievements, show confetti, display milestone badges, or trigger rewards on key thresholds.

rshankras/claude-code-apple-skills · 57 tokens

watermark-engine

Generates a watermark overlay system for images and video with configurable positioning, opacity, tiling, and paywall integration for automatic removal on subscription or purchase. Use when user wants to add branding, attribution, or free-tier watermarks to visual content.

rshankras/claude-code-apple-skills · 54 tokens

share-card

Generates shareable card images from app content (achievements, stats, quotes) for social media sharing. Use when user wants to create share images, social cards, shareable content cards, or export app content as images with ShareLink integration.

rshankras/claude-code-apple-skills · 53 tokens

social-export

Generates infrastructure for exporting app content to social platforms (Instagram Stories, TikTok, Twitter/X) with platform-specific formatting, aspect ratios, and metadata. Use when user wants social media export, share to stories, or platform-specific sharing pipelines.

rshankras/claude-code-apple-skills · 52 tokens

game-feel

Game feel ("juice") for Apple apps — celebration choreography, haptic vocabulary design, sound-effect layers, and the event×channel feedback audit. Use when big moments fall flat, when designing haptics or SFX, or when auditing whether every meaningful event actually reaches the user.

rshankras/claude-code-apple-skills · 61 tokens