zikon

SKILL.md

Generate a logo or icon SVG from a plain-English description. Zikon runs the full pipeline — text prompt → PNG via diffusion → SVG via imagetracerjs — and returns a JSON object you can use directly in code or markup.

Usage

Minimal invocation:

/zikon "rocket icon"

With optional parameters:

/zikon "rocket icon" --model sdxl --style flat --output-dir ./assets/icons

Output Contract

A single JSON object is written to stdout on success:

{
  "prompt": "rocket icon",
  "model": "z-image-turbo",
  "seed": 3471829104,
  "png_path": "/absolute/path/to/output.png",
  "svg_path": "/absolute/path/to/output.svg",
  "svg_inline": "<svg xmlns=\"http://www.w3.org/2000/svg\" ...>...</svg>"
}
Field Type Description
prompt string Original prompt — unchanged from input.
model string Model used for generation.
seed integer Deterministic seed (SHA-256 of prompt, or caller-supplied).
png_path string Absolute path to the generated PNG raster.
svg_path string Absolute path to the generated SVG vector.
svg_inline string Ready-to-embed SVG markup starting with <svg.

Exit Codes

Code Meaning
0 Success
1 PNG generation error
2 SVG tracing error
3 Invalid or missing arguments

Examples

Minimal — generate with defaults

/zikon "rocket icon"

Returns JSON with svg_inline containing a vector rocket icon, PNG and SVG saved to the current working directory.

With style hint

/zikon "coffee cup logo" --style "flat minimal"

Custom output directory

/zikon "mountain landscape" --output-dir ./dist/icons

Specific model

/zikon "abstract letter A" --model sdxl

Notes

  • All log/diagnostic output goes to stderr; stdout contains only the JSON result.
  • svg_inline can be pasted directly into HTML without any post-processing.
  • The style parameter influences generation quality but is not reflected in the prompt output field, which always preserves the original input.
Weekly Installs
3
First Seen
Mar 16, 2026
Installed on
amp3
cline3
opencode3
cursor3
kimi-cli3
codex3