remove-background-workflow

A workflow for removing the background from one source image and saving the subject as a transparent PNG. A transparent PNG can be placed over other colours or images without keeping the original background.

In plain words
What is it for?
Use it to cut out a subject from a single image, make the background transparent, save the result, and handle image uploads or generation results.
Why use it?
It provides a structured way to identify the intended source image, process it, and record the resulting image identifiers.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/devkindhq/ideogram-ai-toolkit/remove-background-workflow
Any agent
npx skills add devkindhq/ideogram-ai-toolkit --skill remove-background-workflow
Clone the repo
git clone --depth 1 https://github.com/devkindhq/ideogram-ai-toolkit

Made for: Claude Code, Codex.

Per session 128 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,261 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00128 $0.01261
Opus 5 $0.00064 $0.00630
Sonnet 5 $0.00026 $0.00252
Haiku 4.5 $0.00013 $0.00126

Measured 2d ago against content hash 0c999bddb120, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

remove-background-workflow scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

`image_upload_id`: call `upload_image(filename=...)`, run the returned curl command in the
skills/remove-background-workflow/SKILL.md · 100 lines

How it starts

The opening of the file, as written. The whole thing — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.

Read the full file on GitHub · 100 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 100 lines · 128 tokens per session scan A 0c999bddb120

Subscribe to this mod's changes

remove-background-workflow is a skill published in the GitHub repository devkindhq/ideogram-ai-toolkit (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 128 tokens to every session and 1,261 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

videoagent-image-studio

Tired of juggling 8 API keys? This skill gives you one-command access to Midjourney, Flux, Ideogram, and more, with zero setup. Use when you want to generate any image without worrying about API keys.

pexoai/pexo-skills · 53 tokens

mangou-ai-motion-comics

Manages AI motion comic production projects with YAML assets and storyboards. Use when users need to initialize Mangou projects, edit storyboard or asset YAML, generate images or videos, split grid shots, stitch final videos, or debug task backfill.

MangouArt/mangou · 57 tokens

gpt-image

Use this skill whenever a user asks to generate, create, draw, render, or edit images with GPT Image 2 / gpt-image-2, text-to-image, reference-image editing, inpainting, posters, typography, Chinese text, UI mockups, diagrams, or gallery prompts. Analyze the user's prompt, search the bundled Reference Gallery/craft…

wuyoscar/GPT-Image2-Skill · 120 tokens

ima2

Use the ima2-gen CLI/server to generate, edit, inspect, and manage local AI image generation jobs.

lidge-jun/ima2-gen · 25 tokens

ads-create

Create source-grounded paid-ad campaign concepts, messaging, copy, creative briefs, and production plans from a validated brand profile, campaign objective, platform requirements, and optional audit evidence. Triggers on: campaign brief, campaign concepts, create a campaign, ad concepts, ad copy, ad messaging…

AgriciDaniel/claude-ads · 69 tokens

ads-generate

Generate paid-ad image assets from a validated creative brief and brand profile using an explicitly configured image provider. Triggers on: generate ads, generate ad images, create ad creatives, create ad images, make ad images, generate visuals, make campaign visuals, generate images from campaign brief.

AgriciDaniel/claude-ads · 60 tokens