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 plugin marketplace add m4bwav/pixelwright
claude plugin install pixelwright@pixelwrightpython -m pip install numpy pillow
python skills/pixelwright/scripts/pxw.py doctorPoint 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.
Related
- SPA: Aseprite Automation for native .aseprite files.
- Sprite Gen for generating sprites.
环境要求
- Python 3.9+ with numpy and Pillow
相关主题
常见问题
搭配使用
作者标注的相关 Skills,或更适合相邻任务的 Skills。
SPA: Aseprite Automation
Aseprite automation for AI agents as a CLI, an agent skill and an MCP server: create, edit, verify and export pixel art, animations, tilesets and sprite sheets in batch mode, keeping editable .aseprite sources.
Aseprite AI Artist
Your coding agent paints pixel art in the Aseprite window you already have open: draws, checks its work, animates and exports.
sprite-gen
Generate clean 2D game sprites and animation atlases: state rows, alpha cleanup, frame extraction, runtime atlases.
相似 skills
Universal Modder
Skills, tools and a fal MCP that let Claude Code mod PC games you own: recon, reverse engineering, generated assets, in-game testing.
Create Game Assets
Plan, generate, source, normalize, and validate cohesive visual game assets.
Shader Programming
Write game shaders from cross-engine fundamentals — the vertex→fragment pipeline, coordinate spaces, UV math, and common 2D/3D effects (tint, UV scroll, dissolve, outline, fresnel rim, vignette) in GLSL with HLSL equivalents.
Scenario Skills
Production-ready images, video, audio and 3D from any agent through the Scenario MCP, plus expert teams for Blender, Unreal and Unity.