⏳ This skill is pending AI review.
Scores will appear once the review pipeline completes.
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.
Choose how to use this skill
You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.
1. Native installer
This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.
Do not guess an installer command or replace an existing version without reviewing the diff.
2. Complete package recommended
Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.
No complete ProSkills package is published for this listing yet.3. Prompt-only
Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.
Need only the instruction file?
Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.
No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.
// RATINGS
Not yet listed on ClawHub or SkillsMP
// README
CodeRunner: A local sandbox for your AI agents
CodeRunner helps you sandbox your AI agents and its actions inside a sandbox.
Key use case: Run AI agent code in a sandbox with explicitly chosen host mounts and network access. Isolation reduces risk; it does not prevent all data loss or exfiltration.
For cloud managed VMs for agents, we have launched - InstaVM - Instant computers for AI agents
Quick Start
Prerequisites: Mac with macOS and Apple Silicon (M1/M2/M3/M4), Python 3.10+
Credentials
The installer generates the sandbox token in ~/.coderunner/api-token (or saves
the CODERUNNER_API_TOKEN you exported). Clients send it as
Authorization: Bearer <token>; cat ~/.coderunner/api-token prints it. Only
GET /health is public, and a missing or weak token fails closed. The Claude
Desktop proxy and the examples read the token from that file when the variable
is not set. See authentication and network boundaries.
git clone https://github.com/instavm/coderunner.git
cd coderunner
chmod +x install.sh
./install.sh
Stop and resume
Stop the sandbox when you are done:
container stop coderunner
Resume the same sandbox later, preserving its filesystem. Python kernel state is volatile and does not survive a VM or server restart:
container start coderunner
To start over with a clean sandbox, delete the container and run the installer again:
container delete coderunner && ./install.sh
Resource limits and workspace mounts
CPU and memory limits can be set with installer options or the CODERUNNER_CPUS and CODERUNNER_MEMORY environment variables:
./install.sh --cpus 4 --memory 8g
Additional host directories must be mounted under /workspace. They are read-only by default; add :rw only when the sandbox needs to write to the host:
./install.sh \
--mount "$HOME/projects/api:/workspace/api" \
--mount "$HOME/projects/output:/workspace/output:rw"
Extra mounts default to none. Resource and mount settings are fixed when the container is created; delete the container before changing them.
Disable outbound network access
By default, code running in the sandbox has unrestricted network access. To run it on a host-only network with no internet access:
CODERUNNER_NETWORK=none ./install.sh
In this mode, the MCP server is available at http://127.0.0.1:8222/mcp. The setting is fixed when the container is created; the installer refuses to resume a container with a different network mode.
With Claude Code
Claude Code runs commands on your machine, as you, with permission prompts as the only boundary. Pointing it at
CodeRunner's tools instead runs the code it writes in the VM: it can only touch the folders you mounted under
/workspace, the network you allowed, and the sandbox's own filesystem, whatever it was told to do. Use the
sandbox for code that handles untrusted input or that you would not run by hand, and for several agents that
must not share state (named sessions). It does not protect anything you mount read-write.
Run Claude Code inside a Sandbox
./install.sh (if not already done)
container exec -it coderunner /bin/bash
root@coderunner:/app# npm install -g @anthropic-ai/claude-code
Other Integration Options
MCP server will be available at: http://coderunner.local:8222/mcp
The installer creates ~/.coderunner/venv for the Claude Desktop proxy. For the other Python examples, install their dependencies in your own virtualenv:
pip install -r examples/requirements.txt
1. Claude Desktop Integration



-
Copy the example configuration:
cd examples cp claude_desktop/claude_desktop_config.example.json claude_desktop/claude_desktop_config.json -
Edit the configuration file and replace the placeholder paths:
- Replace
/path/to/your/pythonwith$HOME/.coderunner/venv/bin/pythonusing the full path to your home directory - Replace
/path/to/coderunnerwith the actual path to your cloned repository
Example after editing:
{ "mcpServers": { "coderunner": { "command": "/Users/yourname/.coderunner/venv/bin/python", "args": ["/Users/yourname/coderunner/examples/claude_desktop/mcpproxy.py"] } } } - Replace
-
Update Claude Desktop configuration:
- Open Claude Desktop
- Go to Settings → Developer
- Add the MCP server configuration
- Restart Claude Desktop
-
Start using CodeRunner in Claude: Code Claude writes now runs in the sandbox.
If the tool shows as "Disabled" in the chat's tool menu although the server is listed as running: quit Claude Desktop fully (Cmd-Q) and open it again, make sure
commandis the venv python the installer printed (it hasfastmcp), and read~/Library/Logs/Claude/mcp-server-coderunner.logfor the proxy's error. The proxy needs the sandbox running (container list) and the token file~/.coderunner/api-token.
2. Claude Code CLI
Quick Start:
# 1. Install and start CodeRunner (one-time setup; run as yourself, it asks for sudo when it needs it)
git clone https://github.com/instavm/coderunner.git
cd coderunner
./install.sh
# 2. Add the sandbox with its token (the installer prints this command)
claude mcp add --transport http coderunner http://coderunner.local:8222/mcp \
--header "Authorization: Bearer $(cat ~/.coderunner/api-token)"
# 3. Reconnect to MCP servers
/mcp
The Claude Code plugin (claude plugin marketplace add https://github.com/instavm/coderunner-plugin) predates
the token and gets 401 until it sends the same header; use the command above until the plugin is updated.
Installation Steps:
-
Navigate to Plugin Marketplace:

-
Add the InstaVM repository:

-
Execute Python code with Claude Code:

That's it! Claude Code now has access to all CodeRunner tools:
- execute_python_code - Run Python code in persistent Jupyter kernel
- start_python_session - Reserve an isolated kernel for a named session
- list_python_sessions - List active named sessions
- stop_python_session - Stop a session and discard its kernel state
- navigate_and_get_all_visible_text - Web scraping with Playwright
- list_skills - List available skills (docx, xlsx, pptx, pdf, image processing, etc.)
- get_skill_info - Get documentation for specific skills
- get_skill_file - Read skill files and examples
Pass the returned session_id to execute_python_code to keep state isolated between agents. Up to five named sessions can run concurrently.
Learn more: See the plugin repository for detailed documentation.
3. OpenCode Configuration

Create or edit ~/.config/opencode/opencode.json:
{
"$schema": "https://opencode.ai/config.json",
"mc
// HOW IT'S BUILT
// FILES
2 files shipped with this skill. Inline text is the catalog copy. The upstream link is the source repository.
skills/public/image-crop-rotate/SKILL.md2.3 KBupstream ↗
--- 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 pathREADME.mdupstream ↗
Contents are not inlined in the catalog. Open the upstream file.
Plain-text copy, no login: /skill-bundles/instavm-coderunner-skills-public-image-crop-rotate.md