Agent skill

Native Transparent Imagegen

by ZSeven-W in ZSeven-W/craft-skills

Generate new raster assets that must contain native pixel transparency, then verify the untouched PNG or WebP before delivery.

Apache-2.0Auto-check passedMedia & Creative

Install Native Transparent Imagegen

skills CLI
$ npx skills add ZSeven-W/craft-skills --skill native-transparent-imagegen -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ZSeven-W/craft-skills native-transparent-imagegen --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ZSeven-W/craft-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/native-transparent-imagegen .claude/skills/native-transparent-imagegen && rm -rf skills-src

Use ~/.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/

Facts

Skill name
native-transparent-imagegen
GitHub stars
225
Used in
1 other repo
Token cost
~1.1k tokens
SKILL.md length
514 words
Files
8 (incl. scripts, references, assets)
Skills in repo
5
Repo updated
First seen
Licence
Apache-2.0

At a glance

Generate new raster assets that must contain native pixel transparency, then verify the untouched PNG or WebP before delivery.

  • Works in 5 steps: Preserve the user's subject, identity,… → Add one concise output requirement:… → With a prompt-only built-in image tool,… → …
  • Transparent stickers
  • SKILL.md covers Keep the boundary strict, Generate conservatively, Validate the untouched file and Retry without faking success, plus 1 more section
  • Runs Python scripts from its folder; calls python3

What it does

Native Transparent Imagegen is an agent skill from ZSeven-W/craft-skills. Generate new raster assets that must contain native pixel transparency, then verify the untouched PNG or WebP before delivery. Use for transparent stickers, sprites, character cutouts, product assets, and furry or fine-edged subjects where background removal would be unacceptable. Do not use to remove a background from an existing opaque image, repair an opaque generation by masking or chroma key, or create ordinary opaque images.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files, including scripts, reference files and assets (for example `README.en.md`, `README.md` and `agents/openai.yaml`).

It sits in Media & Creative, covering Image generation, Image editing and Social media graphics. The repository describes itself as: Research-backed, eval-driven skills for AI agents. The licence is Apache-2.0.

When your agent uses it

  • Transparent stickers
  • Character cutouts
  • Fine-edged subjects where background removal would be unacceptable
  • Remove a background from an existing opaque image

Example prompts

  • “/native-transparent-imagegen”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Preserve the user's subject, identity, style, composition, and text constraints.
  2. Add one concise output requirement: return a PNG or WebP whose area outside the subject
  3. With a prompt-only built-in image tool, issue native-alpha deliverables one at a time.
  4. When the user explicitly chooses an API path that exposes output controls, request
  5. Preserve the original returned bytes. Validation must not rewrite, optimize, composite,

What it can do on your machine

Read from SKILL.md and the folder at commit 01c8ffe. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Native Transparent Imagegen loads about 1.1k tokens when it runs, and up to ~1.9k if it reads all its reference files. Until then it costs about 116 tokens; SKILL.md has 514 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~116
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.9k

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.

Safety

Auto-check passed

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); the scripts in this folder are not scanned.

SKILL.md

The full file from ZSeven-W/craft-skills at commit 01c8ffe, republished under its Apache-2.0 licence (© ZSeven-W). 514 words, ~1,119 tokens.

Download SKILL.mdSave it as .claude/skills/native-transparent-imagegen/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.
name
native-transparent-imagegen
description
Generate new raster assets that must contain native pixel transparency, then verify the untouched PNG or WebP before delivery. Use for transparent stickers, sprites, character cutouts, product assets, and furry or fine-edged subjects where background removal would be unacceptable. Do not use to remove a background from an existing opaque image, repair an opaque generation by masking or chroma key, or create ordinary opaque images.

Native Transparent ImageGen

Generate the asset with native alpha. Treat a visible checkerboard, a prompt that says "transparent," and a successful tool call as unverified until the original file passes alpha inspection.

Keep the boundary strict

  • Use this skill only for a newly generated asset whose deliverable must contain native transparency.
  • Treat supplied images as identity, subject, composition, or medium references unless the user explicitly requests an edit.
  • Do not invoke background removal, segmentation, chroma-key extraction, masks, or local alpha synthesis to rescue an opaque output.
  • Do not call a rendered checkerboard "transparent." An RGB checkerboard is a failed asset.
  • If the user instead wants a background removed from an existing opaque image, route to a background-extraction workflow and disclose that it is an edit, not native generation.

Generate conservatively

  1. Preserve the user's subject, identity, style, composition, and text constraints.
  2. Add one concise output requirement: return a PNG or WebP whose area outside the subject is genuine pixel transparency with a real alpha channel.
  3. With a prompt-only built-in image tool, issue native-alpha deliverables one at a time. Do not parallelize unless the current tool exposes an explicit per-request background control and concurrent native-alpha behavior has been verified.
  4. When the user explicitly chooses an API path that exposes output controls, request background: "transparent" and output_format: "png" or "webp".
  5. Preserve the original returned bytes. Validation must not rewrite, optimize, composite, resize, or otherwise alter the deliverable.

Read references/prompting-and-retry.md when preparing a prompt, retrying a failed output, generating more than one asset, or reporting limitations.

Show full SKILL.md (257 more words)Show less

Validate the untouched file

Install the validator dependency only when it is missing:

sh
python3 -m pip install -r \
  "${CODEX_HOME:-$HOME/.codex}/skills/native-transparent-imagegen/scripts/requirements.txt"

Run the read-only validator on every requested deliverable:

sh
python3 \
  "${CODEX_HOME:-$HOME/.codex}/skills/native-transparent-imagegen/scripts/validate_alpha.py" \
  --require-transparent-corners \
  /path/to/original-output.png

The file passes the technical gate only when:

  • its decoded pixels contain an alpha channel;
  • at least one pixel is fully transparent and at least one is visible;
  • required padding corners are transparent when the asset is meant to be isolated; and
  • the validator exits successfully on the original output.

Then inspect the actual edges against contrasting viewer backgrounds. Alpha metadata cannot prove that fine fur is clean or that the image lacks a broad translucent haze. Reject visible checkerboards, matte halos, colored fog, unintended shadows, clipped strands, or missing details even when the metadata gate passes.

Retry without faking success

  • On an RGB or opaque output, keep all subject invariants and retry only the native-alpha output instruction.
  • Make at most three total generation attempts per distinct asset unless the user requests more.
  • Validate after every attempt. Do not edit the failed image into compliance.
  • If all attempts fail, stop and report the original modes and validation failures. Offer an explicit API route only when available and authorized; never silently change models or use background extraction.

Report evidence

For every accepted asset, report:

  • generation route and model when known;
  • original file path, format, dimensions, mode, and SHA-256;
  • alpha extrema, fully transparent pixel count, corner alpha values, and validator verdict;
  • visual edge-QA result; and
  • the exact final prompt or the native-alpha clause added to the user's prompt.

Keep generated, alpha-validated, edge-inspected, user-accepted, and published as separate states.

© ZSeven-W, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 7 other files (scripts, references, assets) in skills/native-transparent-imagegen of ZSeven-W/craft-skills.

  • SKILL.md
  • README.en.md
  • README.md
  • agents/openai.yaml
  • assets/tuanzi-hutao-native-alpha-example.png
  • references/prompting-and-retry.md
  • scripts/requirements.txt
  • scripts/validate_alpha.py

Open the folder on GitHubat commit 01c8ffe

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in ZSeven-W/craft-skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Native Transparent Imagegen 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.

Native Transparent Imagegen compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Native Transparent Imagegen this skillZSeven-W/craft-skills2251 repos~1.1kAutomated safety check: PassApache-2.0
Picture Itgeongeorge/picture-it132—~3.7kAutomated safety check: PassMIT
Generating Imagesspencerpauly/awesome-cursor-skills844—~3.7kAutomated safety check: NotesCC0-1.0
Canva Designerasgeirtj/system_prompts_leaks69k—~2.1kAutomated safety check: PassCC0-1.0
Imagegennexu-io/open-design100k—~300Automated safety check: PassApache-2.0
Flux2 Klein PromptingAnastasiyaW/codex-claude-code-config154—~2.8kAutomated safety check: PassMIT

Similar skills

  • Picture It

    geongeorge/picture-it

    Generate and edit images from the CLI using picture-it. An agent skill from geongeorge/picture-it.

    132 GitHub stars~3.7k tokensUpdated 6 mo ago
    Media & CreativeAuto-check passed
  • Generating Images

    spencerpauly/awesome-cursor-skills

    Generate or edit images using the OpenAI Image API (gpt-image-2).

    844 GitHub stars~3.7k tokensUpdated 2 mo ago
    Media & CreativeAuto-check: notes
  • Canva Designer

    asgeirtj/system_prompts_leaks

    Creates and edits Canva designs, generates images and works with brand kits through the canva CLI and Canva's official MCP server, from decks to social posts.

    69k GitHub stars~2.1k tokensUpdated yesterday
    Media & CreativeAuto-check passed
  • Imagegen

    nexu-io/open-design

    Generate and edit images using OpenAI's Image API for project assets — UI mockups, icons, illustrations, social cards, and visual references.

    100k GitHub stars~300 tokensUpdated yesterday
    Media & CreativeAuto-check passed
  • Flux2 Klein Prompting

    AnastasiyaW/codex-claude-code-config

    Expert prompt engineering for FLUX.2 [klein] image generation and editing model.

    154 GitHub stars~2.8k tokensUpdated yesterday
    Media & CreativeAuto-check passed
  • Generates or edits images from text prompts through a Python script that picks an image backend based on which API keys are configured.

    47k GitHub stars~1.3k tokensUpdated yesterday
    Media & CreativeAuto-check passed

More from ZSeven-W/craft-skills

  • Recurring Character Diary Comic

    ZSeven-W/craft-skills

    Create, audit, and repair short page-native diary comics around an existing authorized recurring character, with story-directed page rhythm, exact dialogue, directional-surface proof, and…

    225 GitHub starsUsed in 1 repo~2.8k tokens
    Auto-check passed
  • Qwen Image Gen

    ZSeven-W/craft-skills

    为 Qwen-Image 编写和改写生图提示词,区分局部编辑与参考主体创作,处理同人物系列、画幅及原图验收;用户要求生成时连接其已有的 Qwen 图像工作流。不用于下载权重、通用模型运维或其他图像模型。

    225 GitHub stars~478 tokensUpdated 18 days ago
    Auto-check passed
  • Logo Semantic Fusion

    ZSeven-W/craft-skills

    Develop and evaluate logo concepts when the explicit design problem is semantic fusion: two or more brand meanings must share a contour, stroke, negative space, glyph skeleton, or shape system.

    225 GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed
  • Single Path Process Diorama

    ZSeven-W/craft-skills

    将 3–5 步线性流程制作成单张完整、非宫格的微缩剧场成品。适用于流程故事封面、制作过程图、软件交付旅程与科普式微缩场景;以单一路径、可追踪载体、可辨识动作和题材匹配的材质表达顺序。不用于需要精确分支和数据尺度的流程图、实际操作规程或普通城市微缩景观。

    225 GitHub stars~824 tokensUpdated 18 days ago
    Auto-check passed

Questions about Native Transparent Imagegen

What does Native Transparent Imagegen do?

Generate new raster assets that must contain native pixel transparency, then verify the untouched PNG or WebP before delivery. Native Transparent Imagegen is an agent skill from ZSeven-W/craft-skills. Generate new raster assets that must contain native pixel transparency, then verify the untouched PNG or WebP before delivery.

When should I use Native Transparent Imagegen?

Native Transparent Imagegen fits situations like: transparent stickers; character cutouts; fine-edged subjects where background removal would be unacceptable; remove a background from an existing opaque image.

How do I install Native Transparent Imagegen in Claude Code?

Run `npx skills add ZSeven-W/craft-skills --skill native-transparent-imagegen -a claude-code`. Or copy the skill folder (skills/native-transparent-imagegen in ZSeven-W/craft-skills) into .claude/skills/native-transparent-imagegen in your project. Claude Code loads it when a task matches its description.

How do I install Native Transparent Imagegen in Codex?

Run `npx skills add ZSeven-W/craft-skills --skill native-transparent-imagegen -a codex`. Or copy the skill folder (skills/native-transparent-imagegen in ZSeven-W/craft-skills) into .agents/skills/native-transparent-imagegen in your project. Codex loads it when a task matches its description.

Can I use Native Transparent Imagegen in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ZSeven-W/craft-skills --skill native-transparent-imagegen -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/native-transparent-imagegen, .gemini/skills/native-transparent-imagegen, .github/skills/native-transparent-imagegen and .opencode/skills/native-transparent-imagegen in your project.

What does Native Transparent Imagegen need to run?

Going by SKILL.md and its folder, Native Transparent Imagegen needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Native Transparent Imagegen access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Native Transparent Imagegen safe to install?

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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Native Transparent Imagegen use?

Native Transparent Imagegen is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Native Transparent Imagegen use?

About 1.1k tokens (SKILL.md is roughly 4.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 797 tokens, read only when the agent opens those files.

What are the alternatives to Native Transparent Imagegen?

Skills that share tags, products or a category with Native Transparent Imagegen: Picture It (geongeorge/picture-it, 132 stars), Generating Images (spencerpauly/awesome-cursor-skills, 844 stars), Canva Designer (asgeirtj/system_prompts_leaks, 69k stars) and Imagegen (nexu-io/open-design, 100k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Native Transparent Imagegen?

ZSeven-W (a GitHub organization) maintains it in ZSeven-W/craft-skills, which has 225 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on September 22, 2026.

Source: ZSeven-W/craft-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.