← 返回 Skills 市场
315
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install remove-background
功能描述
Remove single-color light backgrounds from images and output transparent PNGs using a luminance threshold.
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install remove-background - 安装完成后,直接呼叫该 Skill 的名称或使用
/remove-background触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
background removal with auto‑open preview image
元数据
常见问题
remove-bg 是什么?
Remove single-color light backgrounds from images and output transparent PNGs using a luminance threshold. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 315 次。
如何安装 remove-bg?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install remove-background」即可一键安装,无需额外配置。
remove-bg 是免费的吗?
是的,remove-bg 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
remove-bg 支持哪些平台?
remove-bg 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 remove-bg?
由 jwh(@jwh-hsm)开发并维护,当前版本 v0.1.0。
推荐 Skills