luagam/agent-delivery/aio-remove-bg

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Remove image backgrounds using threshold (fast) or rembg AI (complex images) and trim transparent edges. Triggers: "remove background", "make image transparent", "cutout image", bgrem, rembg.

Install

npx vskill@latest install luagam/agent-delivery/aio-remove-bg

SKILL.md

DEPRECATED: This plugin is deprecated. Use ImageMagick (convert) or rembg CLI directly for background removal.

remove-bg

Environment

  • python3: !which python3 2>/dev/null || echo "NOT INSTALLED"
  • rembg: !python3 -c "import rembg" 2>/dev/null && echo "installed" || echo "NOT INSTALLED"
  • opencv: !python3 -c "import cv2" 2>/dev/null && echo "installed" || echo "NOT INSTALLED"
  • Scripts: !ls -d ~/.claude/plugins/cache/aiocean-plugins/aio-remove-bg/*/skills/aio-remove-bg 2>/dev/null | sort -V | tail -1 || echo "NOT FOUND"

Remove image backgrounds using threshold (fast, for mono/simple images) or rembg AI (complex images). Automatically trims transparent edges.

bash
RB="$(ls -d ~/.claude/plugins/cache/aiocean-plugins/aio-remove-bg/*/skills/aio-remove-bg 2>/dev/null | sort -V | tail -1)"

Quick start

bash
# Simple/mono images (threshold-based)
python3 $RB/remove_bg.py image.png
# Complex images (AI-based with rembg)
python3 $RB/remove_bg.py image.jpg --rembg

Output: {filename}-transparent.png in same directory.

When to use which method

MethodFlagBest for
Threshold(default)Mono logos, simple graphics, checkered backgrounds
rembg--rembgPhotos, complex images, gradients

Output

  • Removes background → alpha=0
  • Trims transparent edges → smaller file size
  • Prints size before/after and transparency percentage

Requirements

  • opencv-python, numpy, Pillow (always)
  • rembg (only for --rembg flag)

Install if needed:

bash
pip3 install opencv-python numpy Pillow rembg

Errors

ErrorCauseFix
ModuleNotFoundError: No module named 'cv2'Missing opencvpip3 install opencv-python
ModuleNotFoundError: No module named 'rembg'Missing rembgpip3 install rembg
FileNotFoundErrorInvalid image pathCheck file path exists
Poor threshold resultComplex imageUse --rembg flag instead
rembg slow first runDownloading modelWait for model download (~150MB)

Tips

  • Threshold struggles with gradients - Use --rembg for photos
  • rembg is slow but accurate - First run downloads AI model
  • Check transparency % - Script outputs how much was removed
  • Output always PNG - Alpha channel requires PNG format

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/luagam/agent-delivery/aio-remove-bg/badge)](https://verified-skill.com/skills/luagam/agent-delivery/aio-remove-bg)

Something wrong with this skill or its page? Tell us.