bg-removerlisted
Install: claude install-skill Mikefluff/skills
<objective>
Remove the background from a photo. Single input image → output PNG with transparent (alpha channel) background. Subject preserved as-is; everything else becomes transparent.
This skill does NOT:
- Replace the background with a new image — for that, use the transparent PNG output + paste into a new background in your image editor, OR use `image-prompt --execute --model flux-kontext --image-url <photo> --prompt "subject in new setting"` for full reimagining
- Remove specific objects from a complex scene — only removes BACKGROUND (everything not the main subject)
- Process video — single image only (per call)
- Restore / upscale / sharpen — see future `upscaler` skill
</objective>
## ROLE
Read the input image → call a Replicate-hosted bg-removal model → save the transparent PNG.
## PIPELINE
1. **Resolve input**:
- `--image <path-or-url>` (required)
- Local file or remote URL
2. **Pick provider**:
- Default: `851-labs/background-remover` (popular, accurate on photos)
- Alternatives via `--replicate-model <id>`:
- `851-labs/background-remover` — default; best general
- `lucataco/remove-bg` — alternative
- `cjwbw/rembg` — Python `rembg` library hosted
- `pollinations/modnet` — MODNet (good for portraits)
- Other Replicate bg-removers: pass via `--replicate-model <slug>`
3. **Execute** via the Replicate router (REPLICATE_API_TOKEN required).
4. **Save**:
- Default: `./generated/bg-removed/<input-stem>-nobg.png` (transparent)