DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to generate transparent PNGs with real alpha, not cut-outs with Craft Skills

Use native-transparent-imagegen to get PNG or WebP files that carry the model's own alpha channel.

Short answer: git clone https://github.com/ZSeven-W/craft-skills.git; then cp -R craft-skills/skills/native-transparent-imagegen "${CODEX_HOME:-$HOME/.codex}/skills/"; Restart or reload your agent session so the skill is discovered. All steps.

  • Content
  • Intermediate
  • 30 minutes
  • From the README
  • Codex

Who it is forA game artist, marketer, or product designer who needs transparent sprites or cutouts and has been getting checkerboard backgrounds baked into RGB files.

The problemMany generated images look transparent in a preview but ship with a painted checkerboard or a fake background removal.

The outcomeEach delivered PNG or WebP file is checked as the model returned it, with alpha, fully transparent pixels, and transparent corners confirmed, or the failure is reported.

What you need first

  • git, to clone the repository
  • An agent that reads skills from the Codex skills directory (CODEX_HOME or ~/.codex/skills)
  • Image generation available to the agent for the image skills
  • An existing Qwen connection for qwen-image-gen
  • Python 3.10 or later, only if you run the release check

Steps

  1. git clone https://github.com/ZSeven-W/craft-skills.git
  2. cp -R craft-skills/skills/native-transparent-imagegen "${CODEX_HOME:-$HOME/.codex}/skills/" (inferred, check the README)
  3. Restart or reload your agent session so the skill is discovered.
  4. Ask the agent for the transparent image, and review the unmodified output file yourself on light and dark backgrounds.

Prompt for your agent

Use the native-transparent-imagegen skill from the craft-skills repo to generate a transparent PNG of <subject>. Keep the original file bytes and verify the alpha channel, fully transparent pixels, and transparent corners. If any check fails, report the failure instead of using a cut-out or color key.

Caveat. The README notes that passing the metadata checks still requires a visual review of hair, glass, smoke, and soft edges on dark and light backgrounds.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for ZSeven-W/craft-skills and "Generate transparent PNGs with real alpha, not cut-outs"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer