Skip to content
Agentmart
Submit a tool

refine-mask-interactive

Use when the user wants to iteratively refine a mask until satisfied, re-running on the same image.

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-refine-mask-interactive

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 wants to iteratively refine a mask until satisfied, re-running on the same image.

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/refine-mask-interactive

What's inside

Skill name
refine-mask-interactive
Description
Use when the user wants to iteratively refine a mask until satisfied, re-running on the same image.
License
MIT
Instructions
34 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Refine Mask (Interactive)

Wraps `quick-rmbg --infinite-hop` to let the user run background removal iteratively on the same image. Each run can use different settings (e.g., model, threshold) to dial in the perfect cutout.

## When to use

- Single or two-pass output is close but not perfect; user wants to tweak and re-run without leaving the workflow
- User wants to experiment with different models or config on a single image
- The upstream CLI's interactive loop is the right tool

## Inputs to gather

- Image path — source image (or previous `-nobg.png`) to refine
- (Optional) Max iterations to suggest or warn after

## Procedure

1. Verify `quick-rmbg` is on PATH.
2. Resolve input path to absolute and verify it exists.
3. Explain: `quick-rmbg --infinite-hop` will run removal, save output, ask if user wants another pass. Type `y` to refine, `n` to exit.
4. Invoke: `quick-rmbg --infinite-hop "$path"` and let the user interact (they control the loop).
5. After exit, report the final output path and iteration count (if the CLI prints it).

## Output / side effects

- Creates or overwrites `<input>-nobg.png` with the user's final choice.
- User drives the iteration loop via prompts.

## Safety / constraints

- This is an interactive CLI; user must stay engaged to answer prompts.
- Each iteration does a full GPU pass; many iterations can drain GPU memory.

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

refine-mask-interactive skill. Agent Mart. https://agentmart.dev/skills/danielrosehill-refine-mask-interactive (last updated 2026-10-24)