gat-brainstorm
Brainstorm a game idea through one-question-at-a-time designer interviews. Produces game.md, systems-index.md, and…
Remove image backgrounds locally with Lucida's bgr CLI and save transparent RGBA PNGs while preserving soft alpha in glass, smoke, glow and VFX, camouflage, text and logos, line art, illustrations, and print designs. Use when a user asks to remove, erase, isolate, cut out, or
Claude Code
$ npx -y skills add Yuki001/game-dev-skills --skill lucida-remove-background --agent claude-code
Codex
$ npx skills add Yuki001/game-dev-skills --skill lucida-remove-background -a codex -y
Cursor
$ npx skills add Yuki001/game-dev-skills --skill lucida-remove-background -a cursor -y
Gemini CLI
$ npx skills add Yuki001/game-dev-skills --skill lucida-remove-background -a gemini-cli -y
GitHub Copilot
$ npx skills add Yuki001/game-dev-skills --skill lucida-remove-background -a github-copilot -y
OpenCode
$ npx skills add Yuki001/game-dev-skills --skill lucida-remove-background -a opencode -y
Windsurf
$ npx skills add Yuki001/game-dev-skills --skill lucida-remove-background -a windsurf -y
name: lucida-remove-background description: Remove image backgrounds locally with Lucida's bgr CLI and save transparent RGBA PNGs while preserving soft alpha in glass, smoke, glow and VFX, camouflage, text and logos, line art, illustrations, and print designs. Use when a user asks to remove, erase, isolate, cut out, or make the background of an image transparent; prefer Lucida for translucent or effect-heavy artwork and BiRefNet-HR for high-resolution solid physical objects or product photos.
Use the `bgr` executable from `egeorcun/lucida`. Preserve the source image and create a separate transparent PNG.
1. Resolve the input image and confirm it exists. 2. Use the user's output path when provided. Otherwise, write `<input-stem>-transparent.png` beside the input. Do not overwrite the source unless the user explicitly requests it. 3. Check whether `bgr` is available:
bgr --help
**Note:** If the current environment is sandboxed (for example: Codex sandbox), run all `bgr` commands in the user's normal terminal. Otherwise the `bgr --help` command process might be freezed or timeout.
4. If `bgr` is missing, verify that `uv` is available and install the CLI:
uv tool install --from git+https://github.com/egeorcun/lucida.git my-bg-remover
The package requires Python 3.12 or newer. The installation exposes one executable: `bgr`.
5. Select the model:
6. Run the removal command with quoted paths:
bgr remove "<input-path>" -o "<output-path>.png" --model lucida
Replace `lucida` with `birefnet-hr` when that model better matches the subject.
7. Confirm that the command succeeds and the output PNG exists. Inspect the result when image viewing is available, paying particular attention to partial transparency, holes, fine edges, retained background haze, and color fringing. 8. Return the output file to the user and state which model and optional flags were used.
Examples:
bgr remove "input.jpg" -o "output.png" --model lucida --refine bgr remove "product.jpg" -o "product-transparent.png" --model birefnet-hr bgr remove "glow.png" -o "glow-transparent.png" --model lucida --no-decontaminate
This is my personal agent skill repository, primarily focused on game development.
Brainstorm a game idea through one-question-at-a-time designer interviews. Produces game.md, systems-index.md, and…
Design one system within a specific milestone's scope: write the milestone-scoped system GDD, content data, and system art doc,…
Plan milestone slices from overview + narrative alone (no system GDDs required), create per-milestone directory skeletons and…
Develop game story and narrative through one-question-at-a-time writer interviews. Produces narrative docs under gat/narrative/…
Inspect the repo state and show a status panel across all milestones, recommending the earliest actionable next step in the…
Generate procedural 3D models from natural-language requests by writing a constrained buildModel(ctx) module that uses Three.js,…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.