跳过主要内容
ASE
Skill免费

pixelwright

/pixelwright

Three agent skills and a numpy + Pillow CLI that turn AI renders into true pixel art (grid snap, palette lock, cleanup, tiles) and animate stills in code inside masks, with gates that prove every result.

GitHub 星数
0
(GitHub 星数,统计于 2026-10-25)
许可证
MIT
最近提交
2026/10/25
作者
m4bwav

信息来自作者的 README。 GameSkill 还没完整跑过。支持的 Agent 和安装步骤以作者文档为准。

安装

Claude Code
claude plugin marketplace add m4bwav/pixelwright
claude plugin install pixelwright@pixelwright
Other agents
python -m pip install numpy pillow
python skills/pixelwright/scripts/pxw.py doctor

Point the agent at the skills/ folder.

命令照搬项目 README。在本机运行前,请先看一眼仓库。

包含内容

  • pixelwright (hub, holds pxw.py), pixelwright-make and pixelwright-animate
  • make: snap to the true grid (fractional scales too), clear background, palette lock (PICO-8, .hex, .gpl or neighbour sprites), orphan and outline cleanup, crop, wrap tiles
  • animate: frames made in code from the still inside region masks; the rest frame equals the still byte for byte
  • Gates: palette, budget, binary alpha, size, tile seam, loop seam, outside-mask changes
  • Sheets, previews and a click page for human review

适合

  • Cleaning up image-model output into usable game sprites
  • Idle animations for buildings, machines and props

不适合

  • Generating the original art (use ComfyUI or PixelLab)

关于这个 Skill

Image models paint things that look like pixel art: thousands of colours, a wandering block size, soft edges. pixelwright fixes that deterministically. pxw.py make finds the real grid, locks the palette, removes stray pixels and doubled outlines, and crops to an engine size; pxw.py tile makes edges wrap with no new colours.

Animation works from the still: you describe what moves, and frames are generated in code inside masks, so nothing outside them changes and every colour comes from the original palette.

It is new (formerly spritewright) with 22 commits and a small, dependency-light toolchain.

环境要求

  • Python 3.9+ with numpy and Pillow

相关主题

常见问题

搭配使用

作者标注的相关 Skills,或更适合相邻任务的 Skills。

相似 skills