Generate a deterministic SVG avatar by running @bitmappunks/avatar-generator@0.0.5 via npx. Same seed → same avatar.
Version is locked to 0.0.5. Do not upgrade or drop the version pin without explicit user instruction.
.svg file is saved. If the user gave a directory, join it with .svg . If no path was given, default to ./.svg in the current working directory and tell the user what path you used.Ask only if the output path is ambiguous.
npx -y @bitmappunks/avatar-generator@0.0.5 --out "<output-path>" --seed "<seed>"
-y auto-accepts the npx install prompt.@0.0.5 pin is required — never run it unpinned (@latest or bare). to the user-provided seed, otherwise use the current Unix timestamp in seconds.Render the generated SVG inline in the terminal using the bundled scripts/svg-tui.js (resolve its path from this skill's base directory, shown in the skill-load message):
node "<skill-base-dir>/scripts/svg-tui.js" "<output-path>"
It parses the avatar's pixel stripes and prints them as ANSI truecolor blocks — works in any terminal transcript that supports 24-bit color, with no external dependency beyond node (already required by npx).
Tell the user the absolute output path and the seed. One sentence.
rsvg-convert, sharp) — don't silently change format.npx errors (network, registry, install), surface the error — don't retry silently or fall back to a different version.共 1 个版本