AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Remove Background Workflow

skill-devkindhq-ideogram-ai-toolkit-remove-background-workflow · by devkindhq

Turns Ideogram's `remove_background` call into a guided workflow — resolve the source image, strip its background to a transparent PNG, save the result with its identifiers, and point to common follow-ups. Use when the user explicitly asks to "remove the background from this," "make this transparent," "cut out the subject," "isolate this on transparent," "strip the background," or "give me this o…

No reviews yet
0 installs
29 views
0.0% view→install

Install

$ agentstack add skill-devkindhq-ideogram-ai-toolkit-remove-background-workflow

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access Used
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-devkindhq-ideogram-ai-toolkit-remove-background-workflow)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Remove Background Workflow? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Remove Background Workflow

This skill orchestrates remove_background as its core call, pulling in upload_image, get_recent_generations, and get_generation_status as supporting tools depending on how the source image gets resolved. It's a thin orchestration workflow around a single MCP call, not a prompt-composition skill — there's no composition-spec-format.md/ panel-anatomy.md-style reference here.

This skill handles exactly one image per invocation. If the user asks for several images at once, run the workflow below once per image and report each result separately — remove_background itself only accepts one source per call.

Before you start

Read references/background-removal-patterns.md before running step 2 of the workflow below. It covers the single-source rule (why image_response_id and image_upload_id can never both be set), the private/public default, and how to handle the running/pending envelope some calls return instead of an immediate result.

Workflow

1. Resolve the source image

Figure out what the user means by "this image" before calling anything:

  • A response from earlier this session — if the user is pointing at something just

generated or edited, pull the response_id from structured_content.response_ids on the prior generate_image/edit_image/etc. call.

  • A freshly attached local file — run the upload_image flow first to mint an

image_upload_id: call upload_image(filename=...), run the returned curl command in the sandbox, and read the response's id field — not image_url — as the image_upload_id.

  • A vague reference ("the logo from earlier," "that last one") with no id yet in

context — call get_recent_generations and match by description and recency. If more than one plausible candidate exists, ask the user which one they mean rather than guessing.

Never pass both image_response_id and image_upload_id in the same call — exactly one of the two, based on which path above resolved the source.

2. Run background removal

Call remove_background(image_response_id=... OR image_upload_id=..., private=...). Omit private by default; only pass private=False if the user explicitly asks to publish the result to the public Ideogram feed. Check the response for a running/pending status before treating it as final — if present, poll via get_generation_status(request_id=...) the same way a fresh generation is polled. See references/background-removal-patterns.md for why this check exists and what was actually observed the first time this ran for real.

3. Save the output

Once the call completes, save the transparent PNG and record its identifiers — source response_id/image_upload_id, output identifier, and the private flag used — to the project's existing output location, the same folder brand-identity-sheet, character-model-sheet, or moodboard-generator already save to for that project, per the toolkit's "No Context Lost" habit. Confirm the file actually wrote before reporting success.

4. Note follow-ups

After saving, mention these without executing them unless the user asks:

  • Compositing onto a new background via

edit_image(image_response_ids=[output_id], prompt="")remove_background only strips the background, it doesn't add one.

  • Reframing or upscaling the transparent result via reframe_image/upscale_image,

using the same output identifier.

  • Filing into a collection via collections-management's add_images_to_collection, if

that skill is already in use for the project — mention it as an option, don't call it automatically.

Error handling

  • Ambiguous source (multiple plausible recent images match a vague reference) → ask the

user which one, don't guess.

  • No resolvable source at all → ask the user to specify or attach an image; don't call

remove_background with a guessed id.

  • Both id types would otherwise apply (a response_id and an image_upload_id both look

plausible) → ask the user which one, never pass both.

  • remove_background call fails → surface the actual error to the user verbatim and stop;

no fallback to a different tool and no fabricated workaround.

  • Running/pending status never resolves after polling → report the stuck or failed state

honestly, don't claim the output is ready.

  • Save step fails → report the failure, don't claim the output was saved if it wasn't.

Save what you made

After every successful removal, save the transparent PNG plus its source and output identifiers and the private flag used to the project's existing output location, rather than leaving identifiers only in the conversation, per the toolkit's "No Context Lost" habit.

Reference files

  • references/background-removal-patterns.md — the single-source rule, the private/public

default, and how to handle the running-envelope response. Read before running step 2 of the workflow above.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.