← 返回 Skills 市场
yfxa

IG Cropper

作者 yfxa · GitHub ↗ · v1.3.0 · MIT-0
cross-platform ✓ 安全检测通过
166
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install ig-cropper
功能描述
Transforms cluttered Instagram mobile screenshots into clean, distraction-free architectural and design references. Use when you need to automate the extract...
使用说明 (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)
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ig-cropper
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ig-cropper 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug ig-cropper
版本 1.3.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 4
常见问题

IG Cropper 是什么?

Transforms cluttered Instagram mobile screenshots into clean, distraction-free architectural and design references. Use when you need to automate the extract... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 166 次。

如何安装 IG Cropper?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ig-cropper」即可一键安装,无需额外配置。

IG Cropper 是免费的吗?

是的,IG Cropper 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

IG Cropper 支持哪些平台?

IG Cropper 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 IG Cropper?

由 yfxa(@yfxa)开发并维护,当前版本 v1.3.0。

💬 留言讨论