/install bmp-avatar-generator
Avatar Generator
Generate a deterministic SVG avatar by running @bitmappunks/[email protected] 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.
Inputs required
- seed — the string that deterministically produces the avatar. Optional: if omitted, default to the current Unix timestamp in seconds so the result changes each time, and report the exact seed used back to the user.
- output path — where the
.svgfile is saved. If the user gave a directory, join it with\x3Cseed>.svg. If no path was given, default to./\x3Cseed>.svgin the current working directory and tell the user what path you used.
Ask only if the output path is ambiguous.
Run
npx -y @bitmappunks/[email protected] --out "\x3Coutput-path>" --seed "\x3Cseed>"
-yauto-accepts the npx install prompt.- The
@0.0.5pin is required — never run it unpinned (@latestor bare). - Resolve
\x3Cseed>to the user-provided seed, otherwise use the current Unix timestamp in seconds.
Preview
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 "\x3Cskill-base-dir>/scripts/svg-tui.js" "\x3Coutput-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).
Confirm
Tell the user the absolute output path and the seed. One sentence.
Notes
- Output is SVG only. For PNG or resizing, convert separately (e.g.
rsvg-convert,sharp) — don't silently change format. - One seed per invocation. For multiple seeds, loop the command.
- If
npxerrors (network, registry, install), surface the error — don't retry silently or fall back to a different version.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install bmp-avatar-generator - 安装完成后,直接呼叫该 Skill 的名称或使用
/bmp-avatar-generator触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
avatar-generator 是什么?
Generate a deterministic pixel-art avatar SVG from a seed string using the @bitmappunks/avatar-generator npm package (version 0.0.5, run via npx), and save i... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 149 次。
如何安装 avatar-generator?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install bmp-avatar-generator」即可一键安装,无需额外配置。
avatar-generator 是免费的吗?
是的,avatar-generator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
avatar-generator 支持哪些平台?
avatar-generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 avatar-generator?
由 tt-u(@tt-u)开发并维护,当前版本 v0.1.2。