Skip to content
Agentmart
Submit a tool

remove-background-batch

Use when the user points at a folder and wants to process all images in batch.

Skill by danielrosehill

IndexedMIT★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/danielrosehill-remove-background-batch

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when the user points at a folder and wants to process all images in batch.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/remove-background-batch

What's inside

Skill name
remove-background-batch
Description
Use when the user points at a folder and wants to process all images in batch.
License
MIT
Instructions
39 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Remove Background (Batch)

Recursively or non-recursively processes multiple images in a directory. Runs `quick-rmbg` per file, with optional parallelism, and prints a summary of successes and failures.

## When to use

- Directory contains 2+ images to strip backgrounds from
- User wants one-shot processing without looping manually
- Output reporting and skip-logic (existing `-nobg.png` files) is useful

## Inputs to gather

- Directory path — folder containing images
- File glob (optional, default: `*.{jpg,jpeg,png,webp}`)
- Mode — `single` (single-pass, default) or `two-pass`
- Max parallel jobs (optional, default: 1 — set higher for multi-core if GPU supports batching)
- Force flag — skip existing `-nobg.png` siblings or re-process them (default: skip)

## Procedure

1. Verify `quick-rmbg` is on PATH.
2. Expand the glob pattern (or default) within the directory.
3. For each file: check if `<filename>-nobg.png` exists; skip unless `--force` is set.
4. Invoke `quick-rmbg $MODE "$file"` (where `$MODE` is empty or `--two-pass`), optionally in parallel (GNU parallel, xargs, or sequential loop).
5. Capture exit code and any stderr for each file.
6. Print per-file outcome: `<filename> … OK | FAIL <error>`.
7. Print summary: `X succeeded, Y failed, Z skipped`.

## Output / side effects

- Creates `<filename>-nobg.png` for each processed file in the same directory.
- Prints progress and summary to stdout.

## Safety / constraints

- Parallelism can overload GPU memory; default to 1 or ask before raising concurrency.
- Skips are reported; clarify if user wants to force re-process.

From danielrosehill/Claude-Background-Removal-Plugin, MIT.

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
Apr 30, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from danielrosehill

Cite this page

remove-background-batch skill. Agent Mart. https://agentmart.dev/skills/danielrosehill-remove-background-batch (last updated 2026-10-24)