/mikefluff-skills:bg-removerfrom Mikefluff Skills
Removes backgrounds from photos using Replicate-hosted AI models. Input image → transparent PNG output. Supports multiple models via --replicate-model flag.
Ships in Mikefluff Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
This skill does NOT:
image-prompt --execute --model flux-kontext --image-url <photo> --prompt "subject in new setting" for full reimaginingupscaler skill
Read the input image → call a Replicate-hosted bg-removal model → save the transparent PNG.
Resolve input:
--image <path-or-url> (required)Pick provider:
851-labs/background-remover (popular, accurate on photos)--replicate-model <id>:
851-labs/background-remover — default; best generallucataco/remove-bg — alternativecjwbw/rembg — Python rembg library hostedpollinations/modnet — MODNet (good for portraits)--replicate-model <slug>Execute via the Replicate router (REPLICATE_API_TOKEN required).
Save:
./generated/bg-removed/<input-stem>-nobg.png (transparent)--output <path>bg-remover --image <path-or-url>--output <path> — explicit output path--replicate-model <id> — override default bg-remover model--execute — defaults to true (this skill always executes; no prompt-only mode for a utility)--yes — skip cost confirmation--check — verify REPLICATE_API_TOKEN + connectivity| File | When to load |
|---|---|
| references/providers.md | Replicate bg-removal model comparison + when to pick which |
| references/output-format.md | Transparent PNG handling, alpha channel, downstream usage |
| references/troubleshoot.md | When subject loses edges, hair gets cropped, etc. |
See examples/before-after.md — 2 calibration runs: portrait photo → transparent for avatar use; product shot → transparent for e-commerce listing.
Single image per call. For batch: run in a shell loop.
Replicate API key required. Set via /skills-keys add REPLICATE_API_TOKEN r8_....
Cost: ~$0.001-0.005 per image depending on model. Very cheap.
Default model handles most photos well. Switch to pollinations/modnet for portraits if hair edges are critical.
Subject must be CLEARLY distinguishable from background. Models struggle with:
Output is always PNG with alpha channel. RGB → RGBA conversion automatic.
Source resolution preserved. Output dimensions match input.
No re-encoding to JPEG. Transparent backgrounds require PNG (or WebP) — JPEG doesn't support transparency.
Never print API keys.
Output dir is ./generated/bg-removed/ by default.
When the user says any of:
Defaults: --image <path> (required); auto-saves to ./generated/bg-removed/<stem>-nobg.png.
If the user wants to REPLACE the background (not just remove), suggest:
image-prompt --execute --model flux-kontext --image-url <photo> for AI-driven replacement.This skill is distinct from:
image-prompt / avatar-maker — they generate NEW images. This is a utility on EXISTING images.subtitle-burner — that's video utility. This is image utility.upscaler (planned) — that's resolution. This is background removal.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mikefluff/skills --plugin mikefluff-skills46 skills in this plugin
/audio-mix-makerMix music/audio onto an existing video via ffmpeg. Modes: replace, overlay, duck (sidechain compressor lowers music under speech). Volume + fade controls. Pure ffmpeg, no API. Use when: 'mix this music onto the video', 'add background music to video', 'duck the music under voiceover', 'смешай музыку с видео', 'фоновая музыка для видео'./avatar-makerTurn a user photo into N profile-pic / headshot / avatar variants in a consistent style. Identity-preserve focused, defaults to nano-banana-pro. Multi-aspect (square, square-tight, cover 4:5, story 9:16). Use when: 'make me an avatar', 'profile picture from this photo', 'headshot variants', 'LinkedIn profile pic', 'аватарка', 'портрет', 'хедшот'./banner-makerBanner-ad / display-creative generator with standard-size presets: Google Display (leaderboard, medium rectangle, mobile, skyscraper), LinkedIn, OG image, Twitter card, Facebook ad, header. Text-heavy ad aesthetic, ideogram-3-quality default. Use when: 'banner ad', 'display ad', 'OG image', 'Twitter card', 'баннер для рекламы', 'OG-картинка'./canon-checkRead-only story-bible auditor for fiction series with a documented canon. Cross-references character / artifact / location mentions in chapters against the bible and flags drift. Produces a drift report — never edits files. Use before opening or committing a chapter, or when reintroducing an established entity./carousel-builderTurn a topic or research brief into an N-slide Instagram / LinkedIn / TikTok carousel with consistent visual style and ready-to-post captions. Modes: --topic / --research; --slides 3-12; --platform; --aspect; --text-mode. Use when: 'make a carousel about X', 'turn this research into a post', '8 slides on Y', 'carousel for LinkedIn'./cold-emailWrite or rewrite cold outreach emails to founders, VCs, recruiters, journalists, partners. 5-block structure (hook/value/ask/easy-yes/sign-off), ≤120-word budget, banned ceremony, anti-template subjects. Wraps `writer`. Use for first-touch, follow-up, intro request, warm-intro forwardable, re-engage.Other plugins' skills for the same job