background-removal — Claude Code skill: what it does, how to install
This skill strips backgrounds from pictures using the each::sense AI API. It exports transparent PNG cutouts or adds replacement backdrops for portraits and products.
npx skills add eachlabs/skills --skill background-removal -a claude-codeWhat background-removal does
The skill connects your coding assistant to the each::sense API model eachsense/beta. It isolates subjects onto transparent PNG files with full alpha channels, swaps backdrops for plain solid colors such as #FFFFFF, or inserts models into fresh scenery. Edge processing keeps fine strands of hair on portraits and preserves soft outlines around animal fur without creating halos.
Every API call will fail unless you supply a valid token in the EACHLABS_API_KEY environment variable. The skill sends POST requests directly to https://eachsense-agent.core.eachlabs.run/v1/chat/completions. When processing image collections in batches, it accepts a session_id alongside runtime parameters like max and eco.
What it helps with
- Cut out product photos with alpha transparency and preserved shadows
- Replace busy backdrops with plain solid colors like
#FFFFFF - Retain delicate hair edges and stray strands in headshots
- Place a photographed subject into a custom background scene
- Run batch cutouts across image groups using session IDs
Example prompts for the agent
- Strip the background from this product shot, preserve the soft shadows, and export a transparent PNG.
- Change the backdrop behind the person to plain white
#FFFFFFwhile keeping individual hair strands clean. - Isolate the pet from this image into a cutout, making sure the fur outlines stay detailed.
How to install background-removal
1Skills CLI (Vercel)
npx skills add eachlabs/skills --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 eachlabs/skills --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 eachlabs/skills --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 eachlabs/skills background-removal2Manually: put the files in place
.github/skills/background-removal/SKILL.md1Skills CLI (Vercel)
npx skills add eachlabs/skills --skill background-removal -a gemini-cli2Platform CLI
gemini skills install https://github.com/eachlabs/skills --path skills/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 eachlabs/skills --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 to install background-removal in Claude Code?
Run npx skills add eachlabs/skills --skill background-removal -a claude-code in your terminal. This places the skill configuration at ~/.claude/skills/background-removal/SKILL.md.
What does the background-removal skill do?
It sends images to the each::sense AI model to cut out foreground subjects. The skill produces transparent PNG files, replaces backdrops with solid tones, or renders subjects inside new scenes.
What credentials are required to use background-removal?
You must set your eachlabs API key inside the EACHLABS_API_KEY environment variable. The skill authenticates with that key when querying https://eachsense-agent.core.eachlabs.run/v1/chat/completions.