lucida-remove-background
Installation
SKILL.md
Lucida Background Removal
Use the bgr executable from egeorcun/lucida. Preserve the source image and create a separate transparent PNG.
Workflow
-
Resolve the input image and confirm it exists.
-
Use the user's output path when provided. Otherwise, write
<input-stem>-transparent.pngbeside the input. Do not overwrite the source unless the user explicitly requests it. -
Check whether
bgris available:bgr --helpNote: If the current environment is sandboxed (for example: Codex sandbox), run all
bgrcommands in the user's normal terminal. Otherwise thebgr --helpcommand process might be freezed or timeout. -
If
bgris missing, verify thatuvis available and install the CLI: