English | 简体中文
A Codex skill for creating coherent raster sticker packs as separate transparent PNG files. It combines image generation with deterministic chroma-key extraction, normalization, packaging, and QA.
- Hand-drawn character and object sticker packs
- Clean UI glyph stickers with colored tile silhouettes
- Original slogan decals with exact short-form typography
- Mascot and reference-derived sticker collections
- Transparent square PNG assets with consistent padding
- A manifest with names, dimensions, style metadata, and checksums
- A checkerboard contact sheet and structured QA report
The skill resolves two independent choices: a template for the visual family and a finish for surface treatment. Built-in template IDs are orbit-task-crew, pop-slogan-decals, colorful-hand-drawn, monochrome-doodle, retro-print, soft-crayon, and soft-ui-glyphs; reference-derived uses supplied images. Finish IDs are clean-flat (the default), marker-grain, ink-doodle, retro-screen-print, and soft-crayon.
npx skills@latest add xzhih/sticker-gen-skill --skill creating-sticker-packsAsk Codex to use the skill with a subject list, style, and output location:
Use $creating-sticker-packs with the colorful-hand-drawn template and clean-flat finish to make six productivity mascots. Deliver separate 512×512 transparent PNGs.
Use $creating-sticker-packs to turn these references into a coherent sticker collection while preserving their line weight, palette, and rim treatment.
Use $creating-sticker-packs with the monochrome-doodle template and ink-doodle finish to create presentation stickers: idea, research, draft, review, publish, and celebrate.
Use $creating-sticker-packs with the orbit-task-crew template and clean-flat finish to make three colorful content-workflow mascots plus six celestial and work-object stickers.
Use $creating-sticker-packs with the pop-slogan-decals template and retro-screen-print finish to make six original action stickers: MAKE WAVES, STAY CURIOUS, GO CREATE, KEEP MOMENTUM, BRIGHT IDEA, and PLAY MORE.
Use $creating-sticker-packs with the soft-ui-glyphs template and clean-flat finish to make six product-action icons: focus mode, quick note, upload ready, link flow, search space, and tune controls. Use confident rounded monoline glyphs, generous airy negative space, restrained matte colored tile silhouettes, and no exterior die-cut rim or shadow.
Provide as much or as little as you have:
- Sticker names or subjects
- Character, object, or mixed pack direction
- Template, finish, or reference images
- Palette, canvas size, and output location
- Desired count and any traits that must be preserved or avoided
The skill asks a question only when a missing choice would materially change the visual direction or output contract.
A completed run retains:
run/
├── sticker_request.json
├── final/
│ ├── <sticker>.png
│ └── manifest.json
└── qa/
├── contact-sheet.png
└── qa-report.json
Every accepted sticker is a square RGBA PNG with transparent corners and consistent padding. The manifest and QA report record template and finish separately while retaining the compatible style field. Packaging is withheld when subject count, clipping, request data, or source validation fails.
The workflow establishes one canonical visual anchor, generates source groups on a persistent chroma-key background, and uses the bundled processor for the final cleanup pass. The processor:
- suppresses chroma spill;
- separates subjects using real blank gaps;
- preserves aspect ratio and normalizes padding;
- blocks clipped or count-mismatched groups;
- writes SHA-256 checksums to the manifest;
- produces a checkerboard contact sheet and machine-readable QA report.
For multi-sheet packs, later groups remain grounded in the canonical anchor. Failed groups are regenerated independently while passing groups are preserved.
Each template defines line, palette roles, silhouette, face and prop language, rim, and composition. Finish is a separate optional surface treatment. clean-flat is the default: smooth opaque fills with no visible grain, hatching, halftone, wax, paper texture, or 3D lighting.
Some template previews intentionally demonstrate their optional texture finish. They are not the default rendering mode for a new pack.
The comparison below keeps the same colorful-hand-drawn star character, palette, and composition while changing only the finish. Read left to right to compare smooth flat color, hand-colored pencil, ink hatching, vintage ink printing, and wax crayon on paper.
Use any image-generation capability available in the current agent environment. The skill does not require a particular provider, model, API, CLI, or sub-skill. Animated Codex pets and sprite atlases belong to $hatch-pet instead.
The bundled processor requires Python 3 with:
- Pillow
- NumPy
During a Codex run, the skill uses load_workspace_dependencies to locate the bundled Python runtime.
From the repository root:
python3 -m unittest discover -s tests/creating-sticker-packs -p 'test_*.py' -vskills/creating-sticker-packs/— installable Codex skillskills/creating-sticker-packs/scripts/— deterministic extraction and packaging processorskills/creating-sticker-packs/references/— style presets and workflow contracttests/creating-sticker-packs/— processor unit testsassets/— bilingual posters, template previews, and validated showcase packsassets/templates-gallery/— README preview images for the seven built-in presetsassets/examples/— final PNGs, manifests, QA reports, and contact sheets for each showcased pack












