← Back to Skills Marketplace
yfxa

IG Cropper

by yfxa · GitHub ↗ · v1.3.0 · MIT-0
cross-platform ✓ Security Clean
166
Downloads
0
Stars
0
Active Installs
4
Versions
Install in OpenClaw
/install ig-cropper
Description
Transforms cluttered Instagram mobile screenshots into clean, distraction-free architectural and design references. Use when you need to automate the extract...
README (SKILL.md)

IG Cropper

This skill provides a surgical tool to extract pure photographs from Instagram mobile screenshots (dark mode).

How it Works

Adaptive Extraction: Instagram's dark mode uses a very specific background color: RGB (12, 15, 20). The tool scans the screenshot row by row, identifying the interface elements by this color signature and isolating the largest continuous block of non-background imagery—the photograph itself. It extracts this frame flawlessly, regardless of how much the user has scrolled.

Usage

Run the Python script directly on any Instagram screenshot:

python3 scripts/ig_crop.py input_screenshot.png output_pure_photo.png

Philosophy

This tool intentionally does not attempt to algorithmically paint over watermarks or icons located inside the photograph (like pagination numbers or tagged-people indicators). We leave the integrity of the architectural textures untouched, delegating complex restorations to professional generative tools or manual human craftsmanship.

Dependencies

  • Python 3
  • Pillow (pip install pillow)
Usage Guidance
This skill appears coherent and safe for local use: it only reads an input image and writes a cropped output, with no network access or credential use. Before running, install Pillow (pip install pillow). Be aware of a minor bug with very narrow images (width < 10) that may crash the script; if you rely on many input sizes, test on sample images or add a guard in the code (e.g., ensure denominator > 0). If you process sensitive images, run the script locally or in an isolated environment since the skill does not include explicit data‑exfiltration protections, even though the provided code makes no external network calls.
Capability Analysis
Type: OpenClaw Skill Name: ig-cropper Version: 1.3.0 The skill bundle is a straightforward image processing tool designed to crop Instagram screenshots. The Python script (scripts/ig_crop.py) uses the Pillow library to identify and isolate non-background content based on RGB values, and the documentation (SKILL.md) accurately describes this functionality without any malicious instructions or prompt injection attempts.
Capability Assessment
Purpose & Capability
Name and description match the included Python script and instructions: the tool detects Instagram dark‑mode background rows and crops the largest non‑background block. No unrelated capabilities (cloud access, system config, extra tooling) are requested.
Instruction Scope
SKILL.md instructs running the included script with local input/output paths and lists Pillow as the only dependency — that is consistent. Minor implementation bug: the script samples pixels every 10 columns and divides by (w // 10); very narrow images (width < 10) could cause a division-by-zero error, but this is a robustness/bug issue, not malicious behavior.
Install Mechanism
Instruction-only skill with no install spec; dependency is Pillow (pip). No downloads from external URLs or archive extraction occur.
Credentials
The skill requires no environment variables, credentials, or config paths. The code performs only local file I/O on the specified input/output image paths.
Persistence & Privilege
always: false and no persistence or self-modification is requested. The skill is user-invocable and will not be force-enabled or request elevated platform privileges.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install ig-cropper
  3. After installation, invoke the skill by name or use /ig-cropper
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.3.0
Reverted inpainting features. Restored pure, lossless cropping functionality to maintain absolute architectural texture integrity.
v1.2.0
Added content-aware fill (--clean flag) to seamlessly remove in-frame Instagram overlays like pagination counters, mute icons, and tagged-people indicators.
v1.1.0
Updated description to focus on the 'why'—effortless archiving of visual references.
v1.0.0
Initial release: Adaptive Instagram screenshot cropping using color-signature detection.
Metadata
Slug ig-cropper
Version 1.3.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 4
Frequently Asked Questions

What is IG Cropper?

Transforms cluttered Instagram mobile screenshots into clean, distraction-free architectural and design references. Use when you need to automate the extract... It is an AI Agent Skill for Claude Code / OpenClaw, with 166 downloads so far.

How do I install IG Cropper?

Run "/install ig-cropper" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is IG Cropper free?

Yes, IG Cropper is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does IG Cropper support?

IG Cropper is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created IG Cropper?

It is built and maintained by yfxa (@yfxa); the current version is v1.3.0.

💬 Comments