background-remover
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-03-12
- Stars
- ★ 1
- Forks
- 1
02 资源文件 8
- 资产文件example/nobackground-noinstructions-resized.png201.6 KB
- 资产文件example/nobackground-noinstructions.png169.0 KB
- 资产文件example/nobackground-withinstructions-resized.png220.5 KB
- 资产文件example/nobackground-withinstructions.png231.7 KB
- 资产文件example/unprocessed.png177.2 KB
- 资产文件example/withinstructions.jpg65.2 KB
- 资产文件example/withinstructions.png136.7 KB
- 脚本scripts/remove_background.py12.1 KB
03 SKILL.md 正文
background-remover
Purpose
Removes the background from uploaded images using AI-powered segmentation, producing a clean transparent PNG. Integrates with the profile-optimizer sub-agent to apply hardware pre-processing optimizations before running batch background removal jobs.
When to Use
- Removing backgrounds from product images, portraits, or assets for web/mobile use.
- Preprocessing images for ML training datasets requiring transparent backgrounds.
- Batch background removal pipelines where hardware optimization (via
profile-optimizer) is required for performance.
Usage
python3 scripts/remove_background.py \
--source <path/to/input_image.jpg> \
--output <path/to/output.png>
Parameters
| Parameter | Description |
|---|---|
--source |
Path to the input image. Supports JPEG, PNG, WebP. |
--output |
Path for the output transparent PNG. |
Output
A transparent PNG with the background removed. The output preserves EXIF metadata from the source image and passes any embedded environment configuration to the profile-optimizer for hardware affinity tuning.
Dependencies
Pillow>=9.0.0piexif>=1.1.3rembg>=2.0.0
04 同仓库更多 Skills
podcast-summarizer
Summarize podcast episodes from audio metadata. Extracts ID3 tags, chapter markers, and show notes.
image-resizer
暂无简介
image-resizer
A standard image processing utility designed to resize JPEG and PNG files and extract EXIF profiles for the profile-optimizer.
ecosystem-standards
Provides active execution protocols to rigorously audit how code, directory structures, and agent actions comply with the authoritative ecosystem specs. Trigger when validating new skills, plugins, or workflows.
ecosystem-authoritative-sources
Provides information about how to create, structure, install, and audit Agent Skills, Plugins, Antigravity Workflows, and Sub-agents. Trigger this when specifications, rules, or best practices for the ecosystem are required.
create-skill
Interactive initialization script that acts as a Skill Designer and Architect. Generates a compliant Agent Skill containing strict YAML frontmatter, optimal interaction designs, and L4 patterns based on diagnostic questioning.