{
 "schema_version": 1,
 "generated": "2026-10-30",
 "id": "zseven-w-craft-skills--generate-native-transparent-png",
 "repo": "ZSeven-W/craft-skills",
 "repo_url": "https://github.com/ZSeven-W/craft-skills",
 "repo_slug": "zseven-w-craft-skills",
 "title": "Generate transparent PNGs with real alpha, not cut-outs",
 "page_title": "How to generate transparent PNGs with real alpha, not cut-outs with Craft Skills",
 "summary": "Use native-transparent-imagegen to get PNG or WebP files that carry the model's own alpha channel.",
 "who": "A game artist, marketer, or product designer who needs transparent sprites or cutouts and has been getting checkerboard backgrounds baked into RGB files.",
 "problem": "Many generated images look transparent in a preview but ship with a painted checkerboard or a fake background removal.",
 "outcome": "Each 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.",
 "steps": [
  "`git clone https://github.com/ZSeven-W/craft-skills.git`",
  "`cp -R craft-skills/skills/native-transparent-imagegen \"${CODEX_HOME:-$HOME/.codex}/skills/\"` (inferred, check the README)",
  "Restart or reload your agent session so the skill is discovered.",
  "Ask the agent for the transparent image, and review the unmodified output file yourself on light and dark backgrounds."
 ],
 "agent_prompt": "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.",
 "agents": [
  "codex"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "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.",
 "category": "Content",
 "tags": [
  "Content"
 ],
 "lang": "python",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/zseven-w-craft-skills/generate-native-transparent-png/",
 "md": "https://dedupedai.com/use-cases/zseven-w-craft-skills/generate-native-transparent-png/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/zseven-w-craft-skills--generate-native-transparent-png.json",
 "api_version": "v1"
}
