Agent skill

Image Crop Rotate

by instavm in instavm/coderunner

Image processing skill for cropping images to 50% from center and rotating them 90 degrees clockwise.

Apache-2.0Auto-check passed

Install Image Crop Rotate

skills CLI
$ npx skills add instavm/coderunner --skill image-crop-rotate -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install instavm/coderunner image-crop-rotate --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/instavm/coderunner.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/public/image-crop-rotate .claude/skills/image-crop-rotate && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
image-crop-rotate
GitHub stars
893
Token cost
~599 tokens
SKILL.md length
260 words
Files
2 (incl. scripts)
Skills in repo
2
Repo updated
First seen
Licence
Apache-2.0

At a glance

Image processing skill for cropping images to 50% from center and rotating them 90 degrees clockwise.

  • Works in 3 steps: Identify the input image: Locate the… → Execute the script: Run the… → Provide the result: Move the processed…
  • SKILL.md covers Overview, When to Use This Skill and How to Use This Skill
  • Runs Python scripts from its folder; calls python

What it does

Image Crop Rotate is an agent skill from instavm/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.

Its SKILL.md is about 600 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/crop_and_rotate.py`).

It works with Model Context Protocol and OpenAI. The repository describes itself as: A local sandbox for your AI agents. The licence is Apache-2.0.

Example prompts

  • “/image-crop-rotate”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  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
  3. Provide the result: Move the processed image to /mnt/user-data/outputs/ and share it with the user

What it can do on your machine

Read from SKILL.md and the folder at commit e8a4b58. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Image Crop Rotate loads about 599 tokens when it runs. Until then it costs about 63 tokens; SKILL.md has 260 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~63
When it runs · the whole SKILL.md, loaded when a task matches
~599

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from instavm/coderunner at commit e8a4b58, republished under its Apache-2.0 licence (© instavm). 260 words, ~599 tokens.

Download SKILL.mdSave it as .claude/skills/image-crop-rotate/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
image-crop-rotate
description
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.

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:

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

bash
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
bash
# 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

© instavm, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in skills/public/image-crop-rotate of instavm/coderunner.

  • SKILL.md
  • scripts/crop_and_rotate.py

Open the folder on GitHubat commit e8a4b58

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders. This page covers the copy in instavm/coderunner, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Image Crop Rotate next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Image Crop Rotate compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Image Crop Rotate this skillinstavm/coderunner893—~599Automated safety check: PassApache-2.0
Codebase Managementgiancarloerra/SocratiCode3.3k1 repos~1.8kAutomated safety check: PassAGPL-3.0
Codex with ChatGPT Planning LoopXiaoDuoYa/codex-with-chatgpt7.2k—~11kAutomated safety check: NotesMIT
Agent Squad Python Guide2FastLabs/agent-squad7.8k—~4.7kAutomated safety check: PassApache-2.0
Codebase Explorationgiancarloerra/SocratiCode3.3k1 repos~1.5kAutomated safety check: PassAGPL-3.0
Annotate Paper54yyyu/zotero-mcp5.3k—~1.5kAutomated safety check: PassMIT

Similar skills

  • Codebase Management

    giancarloerra/SocratiCode

    Set up, index, and manage SocratiCode codebase indexing. An agent skill from giancarloerra/SocratiCode.

    3.3k GitHub starsUsed in 1 repo~1.8k tokens
    AI & LLM EngineeringAuto-check passed
  • Codex with ChatGPT Planning Loop

    XiaoDuoYa/codex-with-chatgpt

    Uses ChatGPT in the browser as the planning and review brain for a Codex session, with Codex keeping all execution and ChatGPT reading the workspace through a bridge.

    7.2k GitHub stars~11k tokensUpdated 9 days ago
    Agent WorkflowsAuto-check: notes
  • Agent Squad Python Guide

    2FastLabs/agent-squad

    Map of the agent-squad Python framework for async multi-agent orchestration: which agent, classifier, storage and tool provider to pick, and the pitfalls to avoid.

    7.8k GitHub stars~4.7k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Codebase Exploration

    giancarloerra/SocratiCode

    Explore and understand codebases using SocratiCode semantic search, dependency graphs, and context artifacts.

    3.3k GitHub starsUsed in 1 repo~1.5k tokens
    DatabasesAuto-check passed
  • Annotate Paper

    54yyyu/zotero-mcp

    Read the open paper and write study annotations into its PDF with zotero-cli - a context box on the title, a four-part summary on the abstract, role-coded abstract highlights, one box per figure…

    5.3k GitHub stars~1.5k tokensUpdated 2 days ago
    Research & ScienceAuto-check passed
  • Agents Best Practices

    DenisSergeevitch/agents-best-practices

    A skill your agent uses when designing, generating an MVP blueprint for, auditing, troubleshooting, refactoring, or explaining an agentic harness for any domain.

    2.4k GitHub stars~7.4k tokensUpdated 5 days ago
    AI & LLM EngineeringAuto-check passed

More from instavm/coderunner

  • PDF Text Replace

    instavm/coderunner

    Replace text in fillable PDF forms by updating form field values.

    893 GitHub stars~536 tokensUpdated 3 days ago
    Auto-check passed

Questions about Image Crop Rotate

What does Image Crop Rotate do?

Image processing skill for cropping images to 50% from center and rotating them 90 degrees clockwise. Image Crop Rotate is an agent skill from instavm/coderunner. Image processing skill for cropping images to 50% from center and rotating them 90 degrees clockwise.

How do I install Image Crop Rotate in Claude Code?

Run `npx skills add instavm/coderunner --skill image-crop-rotate -a claude-code`. Or copy the skill folder (skills/public/image-crop-rotate in instavm/coderunner) into .claude/skills/image-crop-rotate in your project. Claude Code loads it when a task matches its description.

How do I install Image Crop Rotate in Codex?

Run `npx skills add instavm/coderunner --skill image-crop-rotate -a codex`. Or copy the skill folder (skills/public/image-crop-rotate in instavm/coderunner) into .agents/skills/image-crop-rotate in your project. Codex loads it when a task matches its description.

Can I use Image Crop Rotate in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add instavm/coderunner --skill image-crop-rotate -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/image-crop-rotate, .gemini/skills/image-crop-rotate, .github/skills/image-crop-rotate and .opencode/skills/image-crop-rotate in your project.

What does Image Crop Rotate need to run?

Going by SKILL.md and its folder, Image Crop Rotate needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Image Crop Rotate access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Image Crop Rotate safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Image Crop Rotate use?

Image Crop Rotate is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Image Crop Rotate use?

About 599 tokens (SKILL.md is roughly 2.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Image Crop Rotate?

Skills that share tags, products or a category with Image Crop Rotate: Codebase Management (giancarloerra/SocratiCode, 3.3k stars), Codex with ChatGPT Planning Loop (XiaoDuoYa/codex-with-chatgpt, 7.2k stars), Agent Squad Python Guide (2FastLabs/agent-squad, 7.8k stars) and Codebase Exploration (giancarloerra/SocratiCode, 3.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Image Crop Rotate?

instavm (a GitHub organization) maintains it in instavm/coderunner, which has 893 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 6, 2026.

Source: instavm/coderunner on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.