character-sprite by paulrobello/claude-office
npx skills add https://github.com/paulrobello/claude-office --skill character-sprite使用 Nano Banana MCP 和 ImageMagick 为 Claude Office Visualizer 智能体创建完整的、动画化的角色精灵表。
角色是以复古 16 位像素艺术风格渲染的办公室职员。每个角色需要多个用于不同动作和方向的动画精灵表。
艺术风格:复古 16 位像素艺术(SNES/Genesis 时代),像素清晰,颜色有限。
关键 - 无抗锯齿:所有精灵必须具有锐利、清晰的像素边缘,无抗锯齿、无平滑、无像素间混合。每个像素都应是具有硬边的纯色。抗锯齿的精灵在游戏中看起来模糊不清。
角色限制:
游戏引擎通过将总图像划分为固定网格来解析精灵表。所有单元格必须大小统一,单元格之间零填充/间距。
┌──────────────────────────────────────────────────────────────────────────────┐
│ 单元格之间无间隙、边框或填充。单元格计算方式为: │
│ cell_width = sheet_width / columns │
│ cell_height = sheet_height / rows │
│ 位于 (col, row) 的帧起始于像素 (col × cell_width, row × cell_height) │
└──────────────────────────────────────────────────────────────────────────────┘
禁止事项:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 表类型 | 总尺寸 | 网格 | 单元格大小 | 帧数 |
|---|---|---|---|---|
| 待机 | 928 × 1152 px | 8 列 × 8 行 | 116 × 144 px | 总计 64 |
| 行走 | 928 × 1152 px | 8 列 × 8 行 | 116 × 144 px | 总计 64 |
| 打字 | 928 × 144 px | 8 列 × 1 行 | 116 × 144 px | 8 帧 |
| 交接 | 928 × 1152 px | 4 列 × 1 行 | 232 × 411 px* | 4 帧 |
| 咖啡 | 928 × 1152 px | 4 列 × 1 行 | 232 × 699 px* | 4 帧 |
*交接/咖啡表的内容有偏移 - 见下方帧位置映射。
网格表(待机/行走)- 8 列 × 8 行:
Row 0 (y=0-143): 南(正面) - 帧 0-7 位于 x: 0, 116, 232, 348, 464, 580, 696, 812
Row 1 (y=144-287): 西南 - 帧 0-7
Row 2 (y=288-431): 西(左侧轮廓) - 帧 0-7
Row 3 (y=432-575): 西北 - 帧 0-7
Row 4 (y=576-719): 北(背面视图) - 帧 0-7
Row 5 (y=720-863): 东北 - 帧 0-7
Row 6 (y=864-1007): 东(右侧轮廓) - 帧 0-7
Row 7 (y=1008-1151): 东南 - 帧 0-7
条带表(单行):
Typing: Row 0, 8 帧位于 x: 0, 116, 232, 348, 464, 580, 696, 812 (y=0-143)
Handoff: Row 0, 4 帧位于 x: 0, 232, 464, 696 (内容 y=343-753)
Coffee: Row 0, 4 帧位于 x: 0, 232, 464, 696 (内容 y=0-698)
| 动画 | 帧数 | 持续时间 | 是否循环 | 备注 |
|---|---|---|---|---|
| 待机 | 8 帧 × 8 方向 | 2000ms | 是 | 轻微的呼吸/重心转移 |
| 行走 | 8 帧 × 8 方向 | 800ms | 是 | 完整的行走周期,手臂摆动 |
| 打字 | 8 帧 | 400ms | 是 | 背面视图,双手放在键盘上 |
| 交接 | 4 帧 | 600ms | 否 | 侧面视图,递送文件夹 |
| 咖啡 | 4 帧 | 400ms | 是 | 正面视图,喝水动作 |
8 个方向(行顺序):S, SW, W, NW, N, NE, E, SE
创建正面待机姿势以确定角色的外观:
mcpl call nanobanana generate_image '{
"prompt": "16-bit pixel art game sprite of a [CHARACTER DESCRIPTION], front view facing camera, [CLOTHING DESCRIPTION], simple friendly face, small character suitable for top-down office game, retro SNES/Genesis style pixel art, standing idle pose with arms at sides, isolated on solid magenta background #FF00FF, SHARP CRISP PIXEL EDGES WITH ABSOLUTELY NO ANTI-ALIASING NO SMOOTHING NO BLENDING, each pixel is a solid color with hard edges, centered composition, no text, no shadows on background, 64x80 pixels scale",
"output_path": "/Users/probello/Repos/claude-office/frontend/public/sprites/[NAME]_front_idle_raw.png",
"model_tier": "pro"
}'
提示词变量:
[CHARACTER DESCRIPTION]:例如,"男性办公室职员"、"女性开发者"、"机器人助手"[CLOTHING DESCRIPTION]:例如,"穿着蓝色衬衫和领带,棕色裤子,黑色鞋子,棕色短发"[NAME]:角色标识符(例如,"agent1"、"agent2"、"boss")关键:在生成所有精灵表之前获得用户批准。
复制生成的图像:
cp "/Users/probello/nanobanana-images/[FILENAME].png" \
"/Users/probello/Repos/claude-office/frontend/public/sprites/[NAME]_front_idle_raw.png"
使用 Read 工具查看图像并向用户展示
请用户验证:
如果被拒绝:根据反馈调整提示词重新生成
如果批准:继续步骤 3
为每次生成使用两个参考图像:
技术要求:
总尺寸:928 × 1152 像素
网格:8 列 × 8 行(总计 64 个单元格)
单元格大小:每个 116 × 144 像素
单元格之间无边框、填充或间距
帧必须填满整个单元格区域
mcpl call nanobanana generate_image '{ "prompt": "16-bit pixel art sprite sheet, EXACTLY 928x1152 pixels total, divided into 8 columns and 8 rows grid, each cell is EXACTLY 116x144 pixels with NO borders NO padding NO gaps between cells, character is [CHARACTER DESCRIPTION] (EXACTLY as shown in first reference image), 8 DIRECTIONS IN EXACT ORDER from top to bottom: ROW 0 south facing toward camera, ROW 1 south-west diagonal, ROW 2 west facing left profile, ROW 3 north-west diagonal, ROW 4 north facing away back view, ROW 5 north-east diagonal, ROW 6 east facing right profile, ROW 7 south-east diagonal, each row has 8 frames of subtle idle breathing animation, cells touch edge-to-edge with no visible grid lines, retro SNES Genesis 16-bit pixel art, SHARP CRISP PIXEL EDGES WITH ABSOLUTELY NO ANTI-ALIASING NO SMOOTHING NO BLENDING, each pixel is a solid color with hard edges, consistent character in every cell matching reference, solid magenta #FF00FF background fills all empty space in each cell, game sprite sheet asset, no text no watermarks", "input_image_path_1": "/Users/probello/Repos/claude-office/frontend/public/sprites/[NAME]_front_idle_raw.png", "input_image_path_2": "/Users/probello/Repos/claude-office/frontend/public/sprites/agent1_idle_sheet.png", "output_path": "/Users/probello/Repos/claude-office/frontend/public/sprites/[NAME]_idle_sheet_raw.png", "model_tier": "pro", "aspect_ratio": "4:5", "negative_prompt": "blurry, 3D, realistic, anti-aliasing, anti-aliased edges, smoothing, blending, soft edges, gradients, shadows on background, inconsistent character, different characters, text, watermark, grid lines, cell borders, padding between frames, gaps between cells" }'
技术要求:
总尺寸:928 × 1152 像素
网格:8 列 × 8 行(总计 64 个单元格)
单元格大小:每个 116 × 144 像素
单元格之间无边框、填充或间距
mcpl call nanobanana generate_image '{ "prompt": "16-bit pixel art sprite sheet for WALKING animation, EXACTLY 928x1152 pixels total, divided into 8 columns and 8 rows grid, each cell is EXACTLY 116x144 pixels with NO borders NO padding NO gaps between cells, character is [CHARACTER DESCRIPTION] (EXACTLY as shown in first reference image), 8 DIRECTIONS IN EXACT ORDER from top to bottom: ROW 0 walking south toward camera, ROW 1 walking south-west diagonal, ROW 2 walking west left profile, ROW 3 walking north-west diagonal, ROW 4 walking north away back view, ROW 5 walking north-east diagonal, ROW 6 walking east right profile, ROW 7 walking south-east diagonal, each row has 8 frames of walk cycle with alternating legs and natural arm swing, cells touch edge-to-edge with no visible grid lines, retro SNES Genesis 16-bit pixel art, SHARP CRISP PIXEL EDGES WITH ABSOLUTELY NO ANTI-ALIASING NO SMOOTHING NO BLENDING, each pixel is a solid color with hard edges, consistent character in every cell matching reference, solid magenta #FF00FF background fills all empty space in each cell, game sprite sheet asset, no text no watermarks", "input_image_path_1": "/Users/probello/Repos/claude-office/frontend/public/sprites/[NAME]_front_idle_raw.png", "input_image_path_2": "/Users/probello/Repos/claude-office/frontend/public/sprites/agent1_walk_sheet.png", "output_path": "/Users/probello/Repos/claude-office/frontend/public/sprites/[NAME]_walk_sheet_raw.png", "model_tier": "pro", "aspect_ratio": "4:5", "negative_prompt": "blurry, 3D, realistic, anti-aliasing, anti-aliased edges, smoothing, blending, soft edges, gradients, shadows on background, inconsistent character, different characters, text, watermark, standing still, static pose, grid lines, cell borders, padding between frames, gaps between cells" }'
技术要求:
总尺寸:928 × 144 像素(单行)
网格:8 列 × 1 行
单元格大小:每个 116 × 144 像素
单元格之间无边框、填充或间距
仅角色 - 无桌子、椅子或键盘(这些是单独的游戏资源)
mcpl call nanobanana generate_image '{ "prompt": "16-bit pixel art sprite sheet for TYPING animation, EXACTLY 928x144 pixels total, horizontal strip with 8 equal cells of EXACTLY 116x144 pixels each with NO borders NO padding NO gaps between cells, character is [CHARACTER DESCRIPTION] (EXACTLY as shown in first reference image), character seen from behind (back view) in seated typing pose with arms extended forward making typing motions, CHARACTER ONLY no desk no chair no keyboard no furniture, 8 frame typing animation showing hands and arms making typing movements, frames show subtle arm position changes as if typing, cells touch edge-to-edge with no visible grid lines, retro SNES Genesis 16-bit pixel art, SHARP CRISP PIXEL EDGES WITH ABSOLUTELY NO ANTI-ALIASING NO SMOOTHING NO BLENDING, each pixel is a solid color with hard edges, consistent character across all 8 frames matching reference, solid magenta #FF00FF background fills all empty space in each cell, game sprite sheet asset, no text no watermarks", "input_image_path_1": "/Users/probello/Repos/claude-office/frontend/public/sprites/[NAME]_front_idle_raw.png", "input_image_path_2": "/Users/probello/Repos/claude-office/frontend/public/sprites/agent1_typing_sheet.png", "output_path": "/Users/probello/Repos/claude-office/frontend/public/sprites/[NAME]_typing_sheet_raw.png", "model_tier": "pro", "aspect_ratio": "21:9", "negative_prompt": "blurry, 3D, realistic, anti-aliasing, anti-aliased edges, smoothing, blending, soft edges, gradients, shadows on background, inconsistent character, different characters, text, watermark, front view, standing, grid lines, cell borders, padding between frames, gaps between cells, desk, chair, keyboard, furniture, computer, monitor" }'
技术要求:
总尺寸:928 × 1120 像素(但内容在一行中)
网格:4 列 × 1 行(可用内容区域)
单元格大小:每个 232 × 411 像素
内容起始于 y=343(垂直偏移)
单元格之间无边框、填充或间距
mcpl call nanobanana generate_image '{ "prompt": "16-bit pixel art sprite sheet for HANDING FOLDER animation, EXACTLY 928 pixels wide, horizontal strip with 4 equal cells of EXACTLY 232 pixels wide each with NO borders NO padding NO gaps between cells, character is [CHARACTER DESCRIPTION] (EXACTLY as shown in first reference image), character seen from side profile holding and handing over a manila folder document, 4 frame animation sequence: frame 1 holding folder at waist, frame 2 extending arm with folder, frame 3 arm fully extended offering folder, frame 4 releasing folder hand open, cells touch edge-to-edge with no visible grid lines, retro SNES Genesis 16-bit pixel art, SHARP CRISP PIXEL EDGES WITH ABSOLUTELY NO ANTI-ALIASING NO SMOOTHING NO BLENDING, each pixel is a solid color with hard edges, consistent character across all 4 frames matching reference, solid magenta #FF00FF background fills all empty space in each cell, game sprite sheet asset, no text no watermarks", "input_image_path_1": "/Users/probello/Repos/claude-office/frontend/public/sprites/[NAME]_front_idle_raw.png", "input_image_path_2": "/Users/probello/Repos/claude-office/frontend/public/sprites/agent1_handoff_sheet.png", "output_path": "/Users/probello/Repos/claude-office/frontend/public/sprites/[NAME]_handoff_sheet_raw.png", "model_tier": "pro", "aspect_ratio": "21:9", "negative_prompt": "blurry, 3D, realistic, anti-aliasing, anti-aliased edges, smoothing, blending, soft edges, gradients, shadows on background, inconsistent character, different characters, text, watermark, back view, grid lines, cell borders, padding between frames, gaps between cells" }'
技术要求:
总尺寸:928 × 1120 像素(但内容在一行中)
网格:4 列 × 1 行(可用内容区域)
单元格大小:每个 232 × 699 像素
内容起始于 y=0
单元格之间无边框、填充或间距
mcpl call nanobanana generate_image '{ "prompt": "16-bit pixel art sprite sheet for DRINKING COFFEE animation, EXACTLY 928 pixels wide, horizontal strip with 4 equal cells of EXACTLY 232 pixels wide each with NO borders NO padding NO gaps between cells, character is [CHARACTER DESCRIPTION] (EXACTLY as shown in first reference image), character seen from front holding and drinking from a coffee cup mug, 4 frame animation sequence: frame 1 holding coffee cup at chest, frame 2 raising cup toward face, frame 3 cup at lips drinking, frame 4 lowering cup with satisfied expression, cells touch edge-to-edge with no visible grid lines, retro SNES Genesis 16-bit pixel art, SHARP CRISP PIXEL EDGES WITH ABSOLUTELY NO ANTI-ALIASING NO SMOOTHING NO BLENDING, each pixel is a solid color with hard edges, consistent character across all 4 frames matching reference, solid magenta #FF00FF background fills all empty space in each cell, game sprite sheet asset, no text no watermarks", "input_image_path_1": "/Users/probello/Repos/claude-office/frontend/public/sprites/[NAME]_front_idle_raw.png", "input_image_path_2": "/Users/probello/Repos/claude-office/frontend/public/sprites/agent1_coffee_sheet.png", "output_path": "/Users/probello/Repos/claude-office/frontend/public/sprites/[NAME]_coffee_sheet_raw.png", "model_tier": "pro", "aspect_ratio": "21:9", "negative_prompt": "blurry, 3D, realistic, anti-aliasing, anti-aliased edges, smoothing, blending, soft edges, gradients, shadows on background, inconsistent character, different characters, text, watermark, back view, sitting, grid lines, cell borders, padding between frames, gaps between cells" }'
关键:生成每个精灵表后:
复制到 sprites 文件夹:
cp "/Users/probello/nanobanana-images/[FILENAME].png" \
"/Users/probello/Repos/claude-office/frontend/public/sprites/[NAME]_[TYPE]_sheet_raw.png"
验证尺寸是否符合规格:
cd /Users/probello/Repos/claude-office/frontend/public/sprites
# 检查表尺寸
magick "[NAME]_[TYPE]_sheet_raw.png" -format "Size: %wx%h" info:
# 预期尺寸:
# idle/walk 表:928x1152
# typing 表:928x144(裁剪后)或 928x1152(完整生成)
# handoff/coffee 表:928x1152
使用 Read 工具查看以验证:
检查常见问题:
如果发现问题,重新生成该特定表
使用改进的多遍工作流程从所有表中移除洋红色背景:
cd /Users/probello/Repos/claude-office/frontend/public/sprites
# 使用共享脚本处理所有表
SCRIPT="/Users/probello/Repos/claude-office/.claude/skills/shared/scripts/remove_magenta.sh"
for sheet in [NAME]_idle_sheet [NAME]_walk_sheet [NAME]_typing_sheet [NAME]_handoff_sheet [NAME]_coffee_sheet; do
INPUT="${sheet}_raw.png"
OUTPUT="${sheet}.png"
# 使用多遍移除(--skip-trim 保留精灵表尺寸)
"$SCRIPT" "$INPUT" "$OUTPUT" --skip-trim
echo "Processed: $OUTPUT"
magick "$OUTPUT" -format " Size: %wx%h, Opaque: %[opaque]" info:
done
多遍工作流程:
同时处理基础角色精灵:
INPUT="[NAME]_front_idle_raw.png"
OUTPUT="[NAME]_front_idle.png"
"$SCRIPT" "$INPUT" "$OUTPUT"
备用方案(如果脚本不可用):
magick "$INPUT" \
-fuzz 40% -transparent "#FF00FF" \
-fuzz 15% -transparent "#CC00CC" \
-fuzz 15% -transparent "#880088" \
-strip \
"$OUTPUT"
查看每个处理后的精灵表以确认:
如果处理后仍有粉色边缘:
-fuzz 45% 或 -fuzz 50%(但注意超过 50% 可能会侵蚀角色边缘)以下 Agent #1 精灵表用作布局参考:
| 表 | 位置 |
|---|---|
| Idle | /frontend/public/sprites/agent1_idle_sheet.png |
| Walking | /frontend/public/sprites/agent1_walk_sheet.png |
| Typing | /frontend/public/sprites/agent1_typing_sheet.png |
| Handoff | /frontend/public/sprites/agent1_handoff_sheet.png |
| Coffee | /frontend/public/sprites/agent1_coffee_sheet.png |
所有精灵输出到:/Users/probello/Repos/claude-office/frontend/public/sprites/
[name]_front_idle_raw.png - 原始角色设计(保留作为参考)[name]_front_idle.png - 处理后的角色设计(带透明度)[name]_[type]_sheet_raw.png - 原始精灵表(保留作为备份)[name]_[type]_sheet.png - 处理后的精灵表,准备用于游戏用于多样性的角色描述示例:
| 角色 | 描述 |
|---|---|
| Agent 2 | 女性开发者,紫色衬衫,黑色裤子,眼镜,马尾辫 |
| Agent 3 | 男性高级开发人员,灰色毛衣,卡其裤,胡须,发际线后移 |
| Agent 4 | 非二元实习生,绿色连帽衫,牛仔裤,彩色头发 |
| Boss/Claude | 杰出人物,橙色/棕褐色配色方案(匹配 Claude 品牌) |
禁止事项:
常见的生成错误应拒绝:
禁止事项:
如何检测抗锯齿:
常见的抗锯齿错误应拒绝:
禁止事项:
-transparent)应做事项:
每周安装数
101
仓库
GitHub 星标数
246
首次出现
2026年1月24日
安全审计
安装于
opencode97
gemini-cli93
codex93
cursor87
github-copilot85
amp79
Create complete, animated character sprite sheets for Claude Office Visualizer agents using Nano Banana MCP and ImageMagick.
Characters are office workers rendered in retro 16-bit pixel art style. Each character requires multiple animation sprite sheets for different actions and directions.
Art Style : Retro 16-bit pixel art (SNES/Genesis era), clean pixels, limited colors.
CRITICAL - NO ANTI-ALIASING : All sprites must have sharp, crisp pixel edges with NO anti-aliasing, NO smoothing, NO blending between pixels. Each pixel should be a solid color with hard edges. Anti-aliased sprites look blurry and muddy in the game.
Character Constraints :
The game engine parses sprite sheets by dividing the total image into a fixed grid. All cells must be uniform with ZERO padding/spacing between them.
┌──────────────────────────────────────────────────────────────────────────────┐
│ NO gaps, borders, or padding between cells. Cells are calculated as: │
│ cell_width = sheet_width / columns │
│ cell_height = sheet_height / rows │
│ Frame at (col, row) starts at pixel (col × cell_width, row × cell_height) │
└──────────────────────────────────────────────────────────────────────────────┘
DO NOT:
| Sheet Type | Total Size | Grid | Cell Size | Frames |
|---|---|---|---|---|
| Idle | 928 × 1152 px | 8 cols × 8 rows | 116 × 144 px | 64 total |
| Walking | 928 × 1152 px | 8 cols × 8 rows | 116 × 144 px | 64 total |
| Typing | 928 × 144 px | 8 cols × 1 row | 116 × 144 px | 8 frames |
| Handoff | 928 × 1152 px | 4 cols × 1 row | 232 × 411 px* | 4 frames |
| Coffee | 928 × 1152 px | 4 cols × 1 row | 232 × 699 px* |
*Handoff/coffee sheets have content offset - see Frame Location Map below.
Grid Sheets (Idle/Walk) - 8 columns × 8 rows:
Row 0 (y=0-143): South (front-facing) - Frames 0-7 at x: 0, 116, 232, 348, 464, 580, 696, 812
Row 1 (y=144-287): South-West - Frames 0-7
Row 2 (y=288-431): West (left profile) - Frames 0-7
Row 3 (y=432-575): North-West - Frames 0-7
Row 4 (y=576-719): North (back view) - Frames 0-7
Row 5 (y=720-863): North-East - Frames 0-7
Row 6 (y=864-1007): East (right profile) - Frames 0-7
Row 7 (y=1008-1151): South-East - Frames 0-7
Strip Sheets (Single row):
Typing: Row 0, 8 frames at x: 0, 116, 232, 348, 464, 580, 696, 812 (y=0-143)
Handoff: Row 0, 4 frames at x: 0, 232, 464, 696 (content y=343-753)
Coffee: Row 0, 4 frames at x: 0, 232, 464, 696 (content y=0-698)
| Animation | Frames | Duration | Looped | Notes |
|---|---|---|---|---|
| Idle | 8 frames × 8 directions | 2000ms | Yes | Subtle breathing/weight shift |
| Walking | 8 frames × 8 directions | 800ms | Yes | Full walk cycle with arm swing |
| Typing | 8 frames | 400ms | Yes | Back view, hands on keyboard |
| Handoff | 4 frames | 600ms | No | Side view, handing folder |
| Coffee | 4 frames | 400ms | Yes |
8 Directions (row order): S, SW, W, NW, N, NE, E, SE
Create a front-facing idle pose to establish the character's look:
mcpl call nanobanana generate_image '{
"prompt": "16-bit pixel art game sprite of a [CHARACTER DESCRIPTION], front view facing camera, [CLOTHING DESCRIPTION], simple friendly face, small character suitable for top-down office game, retro SNES/Genesis style pixel art, standing idle pose with arms at sides, isolated on solid magenta background #FF00FF, SHARP CRISP PIXEL EDGES WITH ABSOLUTELY NO ANTI-ALIASING NO SMOOTHING NO BLENDING, each pixel is a solid color with hard edges, centered composition, no text, no shadows on background, 64x80 pixels scale",
"output_path": "/Users/probello/Repos/claude-office/frontend/public/sprites/[NAME]_front_idle_raw.png",
"model_tier": "pro"
}'
Prompt Variables:
[CHARACTER DESCRIPTION]: e.g., "male office worker", "female developer", "robot assistant"[CLOTHING DESCRIPTION]: e.g., "wearing blue dress shirt and tie, brown pants, black shoes, short brown hair"[NAME]: Character identifier (e.g., "agent1", "agent2", "boss")CRITICAL : Get user approval before generating all sprite sheets.
Copy the generated image:
cp "/Users/probello/nanobanana-images/[FILENAME].png" \
"/Users/probello/Repos/claude-office/frontend/public/sprites/[NAME]_front_idle_raw.png"
View the image using the Read tool and present to user
Ask user to validate:
If rejected : Regenerate with adjusted prompt based on feedback
If approved : Proceed to Step 3
Use BOTH reference images for each generation:
Technical Requirements:
Total size: 928 × 1152 pixels
Grid: 8 columns × 8 rows (64 cells total)
Cell size: 116 × 144 pixels each
NO borders, padding, or spacing between cells
Frames must fill entire cell area
mcpl call nanobanana generate_image '{ "prompt": "16-bit pixel art sprite sheet, EXACTLY 928x1152 pixels total, divided into 8 columns and 8 rows grid, each cell is EXACTLY 116x144 pixels with NO borders NO padding NO gaps between cells, character is [CHARACTER DESCRIPTION] (EXACTLY as shown in first reference image), 8 DIRECTIONS IN EXACT ORDER from top to bottom: ROW 0 south facing toward camera, ROW 1 south-west diagonal, ROW 2 west facing left profile, ROW 3 north-west diagonal, ROW 4 north facing away back view, ROW 5 north-east diagonal, ROW 6 east facing right profile, ROW 7 south-east diagonal, each row has 8 frames of subtle idle breathing animation, cells touch edge-to-edge with no visible grid lines, retro SNES Genesis 16-bit pixel art, SHARP CRISP PIXEL EDGES WITH ABSOLUTELY NO ANTI-ALIASING NO SMOOTHING NO BLENDING, each pixel is a solid color with hard edges, consistent character in every cell matching reference, solid magenta #FF00FF background fills all empty space in each cell, game sprite sheet asset, no text no watermarks", "input_image_path_1": "/Users/probello/Repos/claude-office/frontend/public/sprites/[NAME]_front_idle_raw.png", "input_image_path_2": "/Users/probello/Repos/claude-office/frontend/public/sprites/agent1_idle_sheet.png", "output_path": "/Users/probello/Repos/claude-office/frontend/public/sprites/[NAME]_idle_sheet_raw.png", "model_tier": "pro", "aspect_ratio": "4:5", "negative_prompt": "blurry, 3D, realistic, anti-aliasing, anti-aliased edges, smoothing, blending, soft edges, gradients, shadows on background, inconsistent character, different characters, text, watermark, grid lines, cell borders, padding between frames, gaps between cells" }'
Technical Requirements:
Total size: 928 × 1152 pixels
Grid: 8 columns × 8 rows (64 cells total)
Cell size: 116 × 144 pixels each
NO borders, padding, or spacing between cells
mcpl call nanobanana generate_image '{ "prompt": "16-bit pixel art sprite sheet for WALKING animation, EXACTLY 928x1152 pixels total, divided into 8 columns and 8 rows grid, each cell is EXACTLY 116x144 pixels with NO borders NO padding NO gaps between cells, character is [CHARACTER DESCRIPTION] (EXACTLY as shown in first reference image), 8 DIRECTIONS IN EXACT ORDER from top to bottom: ROW 0 walking south toward camera, ROW 1 walking south-west diagonal, ROW 2 walking west left profile, ROW 3 walking north-west diagonal, ROW 4 walking north away back view, ROW 5 walking north-east diagonal, ROW 6 walking east right profile, ROW 7 walking south-east diagonal, each row has 8 frames of walk cycle with alternating legs and natural arm swing, cells touch edge-to-edge with no visible grid lines, retro SNES Genesis 16-bit pixel art, SHARP CRISP PIXEL EDGES WITH ABSOLUTELY NO ANTI-ALIASING NO SMOOTHING NO BLENDING, each pixel is a solid color with hard edges, consistent character in every cell matching reference, solid magenta #FF00FF background fills all empty space in each cell, game sprite sheet asset, no text no watermarks", "input_image_path_1": "/Users/probello/Repos/claude-office/frontend/public/sprites/[NAME]_front_idle_raw.png", "input_image_path_2": "/Users/probello/Repos/claude-office/frontend/public/sprites/agent1_walk_sheet.png", "output_path": "/Users/probello/Repos/claude-office/frontend/public/sprites/[NAME]_walk_sheet_raw.png", "model_tier": "pro", "aspect_ratio": "4:5", "negative_prompt": "blurry, 3D, realistic, anti-aliasing, anti-aliased edges, smoothing, blending, soft edges, gradients, shadows on background, inconsistent character, different characters, text, watermark, standing still, static pose, grid lines, cell borders, padding between frames, gaps between cells" }'
Technical Requirements:
Total size: 928 × 144 pixels (single row)
Grid: 8 columns × 1 row
Cell size: 116 × 144 pixels each
NO borders, padding, or spacing between cells
CHARACTER ONLY - no desk, chair, or keyboard (those are separate game assets)
mcpl call nanobanana generate_image '{ "prompt": "16-bit pixel art sprite sheet for TYPING animation, EXACTLY 928x144 pixels total, horizontal strip with 8 equal cells of EXACTLY 116x144 pixels each with NO borders NO padding NO gaps between cells, character is [CHARACTER DESCRIPTION] (EXACTLY as shown in first reference image), character seen from behind (back view) in seated typing pose with arms extended forward making typing motions, CHARACTER ONLY no desk no chair no keyboard no furniture, 8 frame typing animation showing hands and arms making typing movements, frames show subtle arm position changes as if typing, cells touch edge-to-edge with no visible grid lines, retro SNES Genesis 16-bit pixel art, SHARP CRISP PIXEL EDGES WITH ABSOLUTELY NO ANTI-ALIASING NO SMOOTHING NO BLENDING, each pixel is a solid color with hard edges, consistent character across all 8 frames matching reference, solid magenta #FF00FF background fills all empty space in each cell, game sprite sheet asset, no text no watermarks", "input_image_path_1": "/Users/probello/Repos/claude-office/frontend/public/sprites/[NAME]_front_idle_raw.png", "input_image_path_2": "/Users/probello/Repos/claude-office/frontend/public/sprites/agent1_typing_sheet.png", "output_path": "/Users/probello/Repos/claude-office/frontend/public/sprites/[NAME]_typing_sheet_raw.png", "model_tier": "pro", "aspect_ratio": "21:9", "negative_prompt": "blurry, 3D, realistic, anti-aliasing, anti-aliased edges, smoothing, blending, soft edges, gradients, shadows on background, inconsistent character, different characters, text, watermark, front view, standing, grid lines, cell borders, padding between frames, gaps between cells, desk, chair, keyboard, furniture, computer, monitor" }'
Technical Requirements:
Total size: 928 × 1120 pixels (but content in one row)
Grid: 4 columns × 1 row (usable content area)
Cell size: 232 × 411 pixels each
Content starts at y=343 (vertical offset)
NO borders, padding, or spacing between cells
mcpl call nanobanana generate_image '{ "prompt": "16-bit pixel art sprite sheet for HANDING FOLDER animation, EXACTLY 928 pixels wide, horizontal strip with 4 equal cells of EXACTLY 232 pixels wide each with NO borders NO padding NO gaps between cells, character is [CHARACTER DESCRIPTION] (EXACTLY as shown in first reference image), character seen from side profile holding and handing over a manila folder document, 4 frame animation sequence: frame 1 holding folder at waist, frame 2 extending arm with folder, frame 3 arm fully extended offering folder, frame 4 releasing folder hand open, cells touch edge-to-edge with no visible grid lines, retro SNES Genesis 16-bit pixel art, SHARP CRISP PIXEL EDGES WITH ABSOLUTELY NO ANTI-ALIASING NO SMOOTHING NO BLENDING, each pixel is a solid color with hard edges, consistent character across all 4 frames matching reference, solid magenta #FF00FF background fills all empty space in each cell, game sprite sheet asset, no text no watermarks", "input_image_path_1": "/Users/probello/Repos/claude-office/frontend/public/sprites/[NAME]_front_idle_raw.png", "input_image_path_2": "/Users/probello/Repos/claude-office/frontend/public/sprites/agent1_handoff_sheet.png", "output_path": "/Users/probello/Repos/claude-office/frontend/public/sprites/[NAME]_handoff_sheet_raw.png", "model_tier": "pro", "aspect_ratio": "21:9", "negative_prompt": "blurry, 3D, realistic, anti-aliasing, anti-aliased edges, smoothing, blending, soft edges, gradients, shadows on background, inconsistent character, different characters, text, watermark, back view, grid lines, cell borders, padding between frames, gaps between cells" }'
Technical Requirements:
Total size: 928 × 1120 pixels (but content in one row)
Grid: 4 columns × 1 row (usable content area)
Cell size: 232 × 699 pixels each
Content starts at y=0
NO borders, padding, or spacing between cells
mcpl call nanobanana generate_image '{ "prompt": "16-bit pixel art sprite sheet for DRINKING COFFEE animation, EXACTLY 928 pixels wide, horizontal strip with 4 equal cells of EXACTLY 232 pixels wide each with NO borders NO padding NO gaps between cells, character is [CHARACTER DESCRIPTION] (EXACTLY as shown in first reference image), character seen from front holding and drinking from a coffee cup mug, 4 frame animation sequence: frame 1 holding coffee cup at chest, frame 2 raising cup toward face, frame 3 cup at lips drinking, frame 4 lowering cup with satisfied expression, cells touch edge-to-edge with no visible grid lines, retro SNES Genesis 16-bit pixel art, SHARP CRISP PIXEL EDGES WITH ABSOLUTELY NO ANTI-ALIASING NO SMOOTHING NO BLENDING, each pixel is a solid color with hard edges, consistent character across all 4 frames matching reference, solid magenta #FF00FF background fills all empty space in each cell, game sprite sheet asset, no text no watermarks", "input_image_path_1": "/Users/probello/Repos/claude-office/frontend/public/sprites/[NAME]_front_idle_raw.png", "input_image_path_2": "/Users/probello/Repos/claude-office/frontend/public/sprites/agent1_coffee_sheet.png", "output_path": "/Users/probello/Repos/claude-office/frontend/public/sprites/[NAME]_coffee_sheet_raw.png", "model_tier": "pro", "aspect_ratio": "21:9", "negative_prompt": "blurry, 3D, realistic, anti-aliasing, anti-aliased edges, smoothing, blending, soft edges, gradients, shadows on background, inconsistent character, different characters, text, watermark, back view, sitting, grid lines, cell borders, padding between frames, gaps between cells" }'
CRITICAL : After generating each sprite sheet:
Copy to sprites folder:
cp "/Users/probello/nanobanana-images/[FILENAME].png" \
"/Users/probello/Repos/claude-office/frontend/public/sprites/[NAME]_[TYPE]_sheet_raw.png"
Verify dimensions match specifications:
cd /Users/probello/Repos/claude-office/frontend/public/sprites
# Check sheet dimensions
magick "[NAME]_[TYPE]_sheet_raw.png" -format "Size: %wx%h" info:
# Expected dimensions:
# idle/walk sheets: 928x1152
# typing sheet: 928x144 (after cropping) or 928x1152 (full generation)
# handoff/coffee sheets: 928x1152
View using Read tool to verify:
Remove magenta backgrounds from all sheets using the improved multi-pass workflow:
cd /Users/probello/Repos/claude-office/frontend/public/sprites
# Process all sheets using the shared script
SCRIPT="/Users/probello/Repos/claude-office/.claude/skills/shared/scripts/remove_magenta.sh"
for sheet in [NAME]_idle_sheet [NAME]_walk_sheet [NAME]_typing_sheet [NAME]_handoff_sheet [NAME]_coffee_sheet; do
INPUT="${sheet}_raw.png"
OUTPUT="${sheet}.png"
# Use multi-pass removal (--skip-trim preserves sprite sheet dimensions)
"$SCRIPT" "$INPUT" "$OUTPUT" --skip-trim
echo "Processed: $OUTPUT"
magick "$OUTPUT" -format " Size: %wx%h, Opaque: %[opaque]" info:
done
The multi-pass workflow:
Also process the base character sprite:
INPUT="[NAME]_front_idle_raw.png"
OUTPUT="[NAME]_front_idle.png"
"$SCRIPT" "$INPUT" "$OUTPUT"
Fallback (if script unavailable):
magick "$INPUT" \
-fuzz 40% -transparent "#FF00FF" \
-fuzz 15% -transparent "#CC00CC" \
-fuzz 15% -transparent "#880088" \
-strip \
"$OUTPUT"
View each processed sprite sheet to confirm:
If pink edges remain after processing:
-fuzz 45% or -fuzz 50% (but watch for character edge erosion above 50%)The following Agent #1 sprite sheets serve as layout references:
| Sheet | Location |
|---|---|
| Idle | /frontend/public/sprites/agent1_idle_sheet.png |
| Walking | /frontend/public/sprites/agent1_walk_sheet.png |
| Typing | /frontend/public/sprites/agent1_typing_sheet.png |
| Handoff | /frontend/public/sprites/agent1_handoff_sheet.png |
| Coffee | /frontend/public/sprites/agent1_coffee_sheet.png |
All sprites go to: /Users/probello/Repos/claude-office/frontend/public/sprites/
[name]_front_idle_raw.png - Original character design (keep as reference)[name]_front_idle.png - Processed character design with transparency[name]_[type]_sheet_raw.png - Raw sprite sheets (keep as backup)[name]_[type]_sheet.png - Processed sprite sheets ready for gameExample character descriptions for variety:
| Character | Description |
|---|---|
| Agent 2 | Female developer with purple blouse, black pants, glasses, ponytail |
| Agent 3 | Male senior dev with gray sweater, khakis, beard, receding hairline |
| Agent 4 | Non-binary intern with green hoodie, jeans, colorful hair |
| Boss/Claude | Distinguished figure with orange/tan color scheme (matches Claude branding) |
DO NOT:
Common Generation Mistakes to Reject:
DO NOT:
How to Detect Anti-Aliasing:
Common Anti-Aliasing Mistakes to Reject:
DO NOT:
-transparent for sprite sheets)DO:
Weekly Installs
101
Repository
GitHub Stars
246
First Seen
Jan 24, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode97
gemini-cli93
codex93
cursor87
github-copilot85
amp79
通过 LiteLLM 代理让 Claude Code 对接 GitHub Copilot 运行 | 高级变通方案指南
44,900 周安装
| 4 frames |
| Front view, drinking motion |
Check for common issues:
If issues found, regenerate that specific sheet