background-removal · 101-skills — Claude Code skill: what it does, how to install
background-removal cuts the background out of photos with the BiRefNet model through the belt CLI and returns a transparent PNG. Handy for product shots and headshots.
no license 243 installs ★ 31 updated 2026-08-31
npx skills add 101-skills/superpowers --skill background-removal -a claude-codeWhat background-removal does
The skill passes an image URL to the infsh/birefnet app on inference.sh: belt app run infsh/birefnet --input '{"image_url": "https://your-photo.jpg"}'. What comes back is a PNG with nothing behind the subject. No model runs on your machine; the CLI is the only local piece.
Swapping a backdrop rather than deleting it goes through falai/reve, which takes a prompt next to the picture: transparent, a beach, whatever the shot calls for. The same app covers the two-step route — generate with falai/flux-dev-lora, then hand the result to Reve.
Install with npx skills add 101-skills/superpowers --skill background-removal -a claude-code; Codex, Cursor, Gemini CLI and OpenCode take the same line with -a codex, -a cursor, -a gemini-cli or -a opencode. First you need the belt CLI (npx skills add belt-sh/cli) and one belt login. allowed-tools lists only Bash(belt *), so while the skill is active nothing outside belt gets run.
What it helps with
- cut a product photo out of its backdrop into a transparent PNG
- swap the studio background for a beach scene
- turn a portrait into a clean headshot for a profile
- generate a mascot and strip its background in one go
- prepare design elements without hand-masking them
Example prompts for the agent
- Remove the background from
photo.jpgand save it as a transparent PNG - Go through
products/and cut out every item photo - Change the background on this product shot to a beach
How to install background-removal
1Skills CLI (Vercel)
npx skills add 101-skills/superpowers --skill background-removal -a claude-code2Manually: put the files in place
~/.claude/skills/background-removal/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/background-removal/
1Skills CLI (Vercel)
npx skills add 101-skills/superpowers --skill background-removal -a codex2Manually: put the files in place
.agents/skills/background-removal/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add 101-skills/superpowers --skill background-removal -a cursor2Manually: put the files in place
.cursor/skills/background-removal/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install 101-skills/superpowers tools/image/background-removal2Manually: put the files in place
.github/skills/background-removal/SKILL.md1Skills CLI (Vercel)
npx skills add 101-skills/superpowers --skill background-removal -a gemini-cli2Platform CLI
gemini skills install https://github.com/101-skills/superpowers --path tools/image/background-removalManually: put the files in place
.devin/skills/background-removal/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add 101-skills/superpowers --skill background-removal -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about background-removal
How do I install background-removal in Claude Code?
Run npx skills add 101-skills/superpowers --skill background-removal -a claude-code. The skill lands at ~/.claude/skills/background-removal/SKILL.md.
What does background-removal do?
It sends an image to the BiRefNet model through the belt CLI and gives you a PNG with a transparent background. When you want a different backdrop instead, the image goes to falai/reve with a text prompt.
What has to be set up before the first run?
The belt CLI from npx skills add belt-sh/cli, plus a one-time belt login. Only belt calls are permitted, so the whole job runs through that command.
Similar skills
All skills for Design →background-removal by other authors comes first.