← Back to Skills Marketplace
315
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install remove-background
Description
Remove single-color light backgrounds from images and output transparent PNGs using a luminance threshold.
Usage Guidance
This skill appears to do exactly what it says and works locally. Before installing/using: ensure the Python environment has Pillow (pip install Pillow); be aware the script will attempt to open the generated PNG with your system viewer (this launches a subprocess — if you prefer not to auto-open, remove the subprocess block); review the code if you want stricter handling of input/output paths or to avoid shell usage on Windows (the script uses shell=True for the Windows 'start' call). No network calls or credential access were found. If you need to run in an environment without Pillow or without GUI viewers (headless), adjust the environment or the script accordingly.
Capability Analysis
Type: OpenClaw Skill
Name: remove-background
Version: 0.1.0
The skill performs image processing as described, but remove_bg.py contains a shell injection vulnerability. It uses subprocess.run with shell=True on Windows to automatically open the output file, which could allow arbitrary command execution if a maliciously crafted file path is provided. While the behavior aligns with the stated purpose, this implementation detail is a high-risk security flaw.
Capability Assessment
Purpose & Capability
Name/description match the provided code and instructions. The Python script implements the described luminance-threshold algorithm and saves a transparent PNG. The only minor mismatch is that the README mentions Pillow but the skill does not declare or install that dependency; the code will require the Pillow package to be available at runtime.
Instruction Scope
SKILL.md instructs only local file input/output and the script follows that. The script reads the input image, writes the PNG output, and prints the output path. It also attempts to open the generated PNG with the system default viewer — this is a local action but worth noting since it launches a system process.
Install Mechanism
There is no install spec (instruction-only skill) and no downloads or archive extraction. The only runtime dependency is Pillow (PIL), which is not installed by the skill itself — the user/agent environment must provide it (pip install Pillow).
Credentials
The skill requests no environment variables, credentials, or config paths. The code does not access external env vars or secrets and makes no network calls.
Persistence & Privilege
The skill is not always-enabled, does not modify other skills or agent configuration, and does not persist credentials. It only writes the output file and ensures its parent directory exists.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install remove-background - After installation, invoke the skill by name or use
/remove-background - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
background removal with auto‑open preview image
Metadata
Frequently Asked Questions
What is remove-bg?
Remove single-color light backgrounds from images and output transparent PNGs using a luminance threshold. It is an AI Agent Skill for Claude Code / OpenClaw, with 315 downloads so far.
How do I install remove-bg?
Run "/install remove-background" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is remove-bg free?
Yes, remove-bg is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does remove-bg support?
remove-bg is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created remove-bg?
It is built and maintained by jwh (@jwh-hsm); the current version is v0.1.0.
More Skills