2D Map and Scene Generator
0x0funky/agent-sprite-forge
Plans and builds 2D game maps and scenes, from tilemaps and parallax backgrounds to HD-2D plates, with collision checks, a playable HTML preview and Tiled, Godot or LDtk export.
Removes solid-color backgrounds (white, green 00FF00, magenta FF00FF) from a single AI-generated image using color key and border flood fill — not AI matting.
$ npx skills add godot-fun/gai --skill image-remove-white-background -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install godot-fun/gai image-remove-white-background --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/godot-fun/gai.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/image-remove-white-background .claude/skills/image-remove-white-background && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "image-remove-white-background" agent skill from https://github.com/godot-fun/gai/tree/main/.agents/skills/image-remove-white-background into .claude/skills/image-remove-white-background/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "image-remove-white-background", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/godot-fun/gai/tree/main/.agents/skills/image-remove-white-backgroundType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add godot-fun/gai --skill image-remove-white-background -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install godot-fun/gai image-remove-white-background --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/godot-fun/gai.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/image-remove-white-background .agents/skills/image-remove-white-background && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "image-remove-white-background" agent skill from https://github.com/godot-fun/gai/tree/main/.agents/skills/image-remove-white-background into .agents/skills/image-remove-white-background/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "image-remove-white-background", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add godot-fun/gai --skill image-remove-white-background -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install godot-fun/gai image-remove-white-background --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/godot-fun/gai.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/image-remove-white-background .cursor/skills/image-remove-white-background && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "image-remove-white-background" agent skill from https://github.com/godot-fun/gai/tree/main/.agents/skills/image-remove-white-background into .cursor/skills/image-remove-white-background/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "image-remove-white-background", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/godot-fun/gai.git --path .agents/skills/image-remove-white-background--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add godot-fun/gai --skill image-remove-white-background -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install godot-fun/gai image-remove-white-background --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/godot-fun/gai.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/image-remove-white-background .gemini/skills/image-remove-white-background && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "image-remove-white-background" agent skill from https://github.com/godot-fun/gai/tree/main/.agents/skills/image-remove-white-background into .gemini/skills/image-remove-white-background/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "image-remove-white-background", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install godot-fun/gai image-remove-white-backgroundInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add godot-fun/gai --skill image-remove-white-background -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/godot-fun/gai.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/image-remove-white-background .github/skills/image-remove-white-background && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "image-remove-white-background" agent skill from https://github.com/godot-fun/gai/tree/main/.agents/skills/image-remove-white-background into .github/skills/image-remove-white-background/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "image-remove-white-background", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add godot-fun/gai --skill image-remove-white-background -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install godot-fun/gai image-remove-white-background --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/godot-fun/gai.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/image-remove-white-background .opencode/skills/image-remove-white-background && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "image-remove-white-background" agent skill from https://github.com/godot-fun/gai/tree/main/.agents/skills/image-remove-white-background into .opencode/skills/image-remove-white-background/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "image-remove-white-background", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
image-remove-white-backgroundRemoves solid-color backgrounds (white, green 00FF00, magenta FF00FF) from a single AI-generated image using color key and border flood fill — not AI matting.
Image Remove White Background is an agent skill from godot-fun/gai. Removes solid-color backgrounds (white, green 00FF00, magenta FF00FF) from a single AI-generated image using color key and border flood fill — not AI matting. Use when rembg over-removes foreground, for flat white/green/magenta backgrounds, color key cutout, white-background cutout, green screen, or chroma key before Godot sprite import.
Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Game Development, covering Game development. It works with Godot and Python. The repository describes itself as: A lightweight AI agent and skill workflow framework built with Godot. The licence is MIT.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit aa1ac71. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
pythongitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Image Remove White Background loads about 2k tokens when it runs. Until then it costs about 93 tokens; SKILL.md has 688 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from godot-fun/gai at commit aa1ac71, republished under its MIT licence (© godot-fun). 688 words, ~2,020 tokens.
.claude/skills/image-remove-white-background/SKILL.md (or your agent's skills folder).Remove flat solid-color backgrounds with color key + flood fill. Output is RGBA PNG with transparency — ready for Godot sprites and UI.
Unlike image-remove-background (rembg AI matting), this skill only removes pixels that match the key color. It does not guess what is "subject" vs "background", so white clothing, props, and effects are preserved unless they touch the outer background through matching pixels.
Single file only. Pass one image with --image; directories are not supported.
When this skill applies, read and follow skill-dependency-manager — run scripts as documented, install missing tools into .dependency/.
remove_white_bg.py through the image-remove-white-background manifest entry (.dependency/image-remove-white-background/.venv/). Never use host python, py, python3, or any interpreter outside .dependency/.colorkey / ImageMagick commands — use the bundled script.--image; directories are not supported.populated: false for image-remove-white-background is not a reason to skip. Install first, set populated: true, retry the same command.Downloads/foo.png, project folder, etc.). Output goes to <image-dir>/image-remove-white-background/ by default — no path rewriting; never overwrite sources.From project root:
.dependency/python/python -m venv .dependency/image-remove-white-background/.venv
.dependency/image-remove-white-background/.venv/Scripts/python.exe -m pip install PillowRegister in .dependency/manifest.json:
"image-remove-white-background": {
"populated": true,
"bin": ".dependency/image-remove-white-background/.venv/Scripts/python.exe"
}Use bin/python on Unix.
Both --image is required. Default output: <image-dir>/image-remove-white-background/<image-name>.png
# White AI background (default preset)
.dependency/image-remove-white-background/.venv/Scripts/python.exe .ai/image-remove-white-background/remove_white_bg.py --image image/sprites/hero.png
# Green screen (#00FF00) — recommended for future AI generation
.dependency/image-remove-white-background/.venv/Scripts/python.exe .ai/image-remove-white-background/remove_white_bg.py --image image/sprites/hero.png --preset green
# Magenta screen (#FF00FF)
.dependency/image-remove-white-background/.venv/Scripts/python.exe .ai/image-remove-white-background/remove_white_bg.py --image image/sprites/hero.png --preset magentaCustom output path:
.dependency/image-remove-white-background/.venv/Scripts/python.exe .ai/image-remove-white-background/remove_white_bg.py --image image/sprites/hero.png -o image/sprites_cutout/| Preset | Key color | Default tolerance | Best for |
|---|---|---|---|
white (default) | #FFFFFF | 25 | AI images with pure/near-white backgrounds |
green | #00FF00 | 40 | Green-screen AI prompts (recommended) |
magenta | #FF00FF | 40 | Magenta-screen AI prompts |
Custom key color:
.dependency/image-remove-white-background/.venv/Scripts/python.exe .ai/image-remove-white-background/remove_white_bg.py --image image/foo.png --color F0F0F0 --tolerance 20| Mode | Behavior |
|---|---|
global (default) | Removes all pixels matching the key color. Best when the subject has no same-color interior details to preserve. |
both | Union of border and center — removes background connected to edges or to the center. |
border | Flood fill from image edges only — keeps isolated white areas not reachable from edges or center (e.g. white shirt interior). |
center | Flood fill from the image center outward — removes key-color regions reachable from the middle. |
# Center-out flood (interior white holes)
.dependency/image-remove-white-background/.venv/Scripts/python.exe .ai/image-remove-white-background/remove_white_bg.py --image image/foo.png --mode center
# Edge + center without removing every white pixel
.dependency/image-remove-white-background/.venv/Scripts/python.exe .ai/image-remove-white-background/remove_white_bg.py --image image/foo.png --mode both| Option | Default | Notes |
|---|---|---|
--image | Required | Single supported image file |
| Output | <image-dir>/image-remove-white-background/<name>.png | Use -o / --output for custom file or directory |
--preset | white | green / magenta for chroma-screen AI art |
--mode | global | Use border or both when same-color interior details must be preserved |
--tolerance | preset-specific | Raise if background remnants remain; lower if foreground edges erode |
--feather | 2 | Gaussian soft edge on alpha; 0 for hard edges |
--crop | off | Trim transparent borders after keying |
Supported inputs: .png, .jpg, .jpeg, .webp, .bmp, .gif, .tif, .tiff, .avif, .ico.
<image_files> path directly with --image. Output lands in image-remove-white-background/ next to that input.white for existing white-bg AI art; tell user to switch AI prompts to --preset green or --preset magenta going forward.--tolerance by 5–10; if subject edges eat away, decrease it.git restore; sources are never modified.| Issue | Fix |
|---|---|
image-remove-white-background missing | Follow Setup; update manifest |
Missing --image | Both --image and a file path are required |
Directory passed to --image | Run once per file; this skill accepts image files only |
| Output already exists | Delete the existing output or choose a different -o path |
| Background remnants (gray fringe) | Increase --tolerance; try --feather 3 |
| Subject edges eroded | Decrease --tolerance; ensure --mode border |
| White clothing removed | Switch to --mode border or --mode both; avoid global for characters with white details |
| Green spill on subject edges | Lower --tolerance; increase --feather slightly |
| Interior holes stay opaque | Try --mode center if the hole matches the key color at the image center; try --mode both for edge + center; otherwise --mode global only if safe, or fix in an editor |
| Center mode does nothing | Center pixel is not key color (subject sits in the middle) — use border, both, or split sprite sheets per frame |
| Wrong colors in JPEG | Prefer PNG from AI export; raise tolerance slightly for compression artifacts |
| Wrong interpreter | Must use .dependency/image-remove-white-background/.venv/Scripts/python.exe |
Copy-paste commands: cli/image-remove-white-background.md
© godot-fun, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/image-remove-white-background of godot-fun/gai.
Open the folder on GitHubat commit aa1ac71
Image Remove White Background next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Image Remove White Background this skillgodot-fun/gai | 182 | — | ~2k | Automated safety check: Pass | MIT | |
| 2D Map and Scene Generator0x0funky/agent-sprite-forge | 4.4k | — | ~2.9k | Automated safety check: Pass | MIT | |
| Godot E2ERandallLiuXin/GodotMaker | 550 | 1 repos | ~3.9k | Automated safety check: Pass | Custom licence | |
| GdtoolkitRandallLiuXin/GodotMaker | 550 | 1 repos | ~2.2k | Automated safety check: Pass | Custom licence | |
| Godot Gdscript Patterns925236118/AlphaAgent | 103 | 10 repos | ~5k | Automated safety check: Pass | MIT | |
| Godot UI Integrationzimo-xiao-zheng/godot-ui-integration | 277 | — | ~1.5k | Automated safety check: Pass | MIT |
0x0funky/agent-sprite-forge
Plans and builds 2D game maps and scenes, from tilemaps and parallax backgrounds to HD-2D plates, with collision checks, a playable HTML preview and Tiled, Godot or LDtk export.
RandallLiuXin/GodotMaker
Write and run E2E (end-to-end) game tests using the godot-e2e framework.
RandallLiuXin/GodotMaker
Lint and format GDScript files using gdtoolkit (gdlint + gdformat).
925236118/AlphaAgent
Master Godot 4 GDScript patterns including signals, scenes, state machines, and optimization.
zimo-xiao-zheng/godot-ui-integration
Build or revise Godot UI from an approved design, separated art, or a visual reference when scene structure, gameplay binding, and runtime visual verification all matter.
godothub/godot-minigame
Apply the bundled self-contained Godot WeChat Mini Game adapter kit to an official Godot checkout.
godot-fun/gai
Zero-shot text-to-speech with voice cloning via IndexTTS2 (index-tts).
godot-fun/gai
Reduces background noise in a single audio file using FFmpeg afftdn.
godot-fun/gai
Applies fade-in and fade-out at the start and end of a single audio file using FFmpeg.
godot-fun/gai
Normalizes a single audio file to consistent LUFS loudness with true-peak limiting using FFmpeg.
godot-fun/gai
Standardizes a single audio file to 44100 or 48000 Hz and exports 16-bit PCM WAV using FFmpeg.
godot-fun/gai
Splits a single audio file into two segments (part 1 before the split point, part 2 after) using FFmpeg.
Categories
Removes solid-color backgrounds (white, green 00FF00, magenta FF00FF) from a single AI-generated image using color key and border flood fill — not AI matting. Image Remove White Background is an agent skill from godot-fun/gai. Removes solid-color backgrounds (white, green 00FF00, magenta FF00FF) from a single AI-generated image using color key and border flood fill — not AI matting.
Image Remove White Background fits situations like: rembg over-removes foreground; for flat white/green/magenta backgrounds; color key cutout; white-background cutout.
Run `npx skills add godot-fun/gai --skill image-remove-white-background -a claude-code`. Or copy the skill folder (.agents/skills/image-remove-white-background in godot-fun/gai) into .claude/skills/image-remove-white-background in your project. Claude Code loads it when a task matches its description.
Run `npx skills add godot-fun/gai --skill image-remove-white-background -a codex`. Or copy the skill folder (.agents/skills/image-remove-white-background in godot-fun/gai) into .agents/skills/image-remove-white-background in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add godot-fun/gai --skill image-remove-white-background -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/image-remove-white-background, .gemini/skills/image-remove-white-background, .github/skills/image-remove-white-background and .opencode/skills/image-remove-white-background in your project.
Going by SKILL.md and its folder, Image Remove White Background needs the command-line tools its instructions call (python and git). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Image Remove White Background is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 8.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Image Remove White Background: 2D Map and Scene Generator (0x0funky/agent-sprite-forge, 4.4k stars), Godot E2E (RandallLiuXin/GodotMaker, 550 stars), Gdtoolkit (RandallLiuXin/GodotMaker, 550 stars) and Godot Gdscript Patterns (925236118/AlphaAgent, 103 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
godot-fun (a GitHub organization) maintains it in godot-fun/gai, which has 182 GitHub stars. The repository holds 36 skills in this directory. The repository was last updated on October 9, 2026.
Source: godot-fun/gai on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.