omh-sprite-forge
Skill này làm gì
Skill cắt các sprite sheet nhân vật do AI tạo thành các khung hoạt ảnh được căn chỉnh cho trò chơi 2D. Dành cho người làm game cần nhân vật pixel chuyển động mượt trong lúc chơi.
Khi nào nên dùng
- ✓Khi bạn có một nhân vật pixel từ công cụ tạo hình ảnh và cần các khung hoạt ảnh.
- ✓Khi các khung sprite bị giật hoặc lệch kích thước và cần được căn chỉnh.
- ✓Khi bạn muốn kiểm tra chất lượng từng khung trước khi dùng trong game.
Liên kết skill
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-sprite-forge/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tạo một sprite sheet pixel cho nhân vật game của tôi và cắt nó thành các khung hoạt ảnh được căn chỉnh.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent lấy sprite sheet dạng lưới từ công cụ tạo hình ảnh, ghi lại định hướng nghệ thuật, và chạy một công cụ hỗ trợ để căn chỉnh các khung. Agent kiểm tra từng khung và yêu cầu ảnh mới nếu chất lượng kém.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Sprite Forge
This is an OMH sprite-forge workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
Why This Exists
Image models return character poses at drifting scales and offsets, so frames cut by hand jitter in play. This skill couples a grid-sheet contract to a fail-closed processor whose numeric QC decides whether to regenerate the source.
First Steps
- Read
toolkit/README.mdandreferences/execution-and-qa.mdbefore executingtoolkit/scripts/forge.py; installation and skill discovery never run it. - Obtain the raw sheet from the host's own image tool as a grid on flat #FF00FF; OMH generates no images, and a 1xN strip is regenerated as a grid, never processed.
- Record identity elements, rejected drafts, cell size and baseline in
references/character-art-direction.mdform before cutting frames.
Do Not Use When
- Create a product showcase video for a launch, with narration and subtitles; use
omh-show-reel. - The task is judging already-rendered UI screenshots or layout captures; use
omh-visual-qa. - The output is an image card or visual prompt card summarizing source material; use
omh-image-cards.
Examples
Good example:
- Prompt: Make a pixel sprite sheet for my game character.
- Expected behavior: Get a 2x3 #FF00FF grid from the host image tool, record art direction, run the helper, then read back frames and qc.json and regenerate on a REGENERATE verdict.
- Why: Animation frames need measured scale and baseline consistency, not a single illustration.
Bad example:
- Prompt: Tighten the CSS pixel spacing on this sheet of settings cards.
- Expected behavior: Answer as a front-end styling question; do not run a sprite processor.
- Why: Pixel and sheet vocabulary alone does not establish game-character frames.
Completion Checklist
- The source sheet is a host-generated grid on #FF00FF with a source record; real-person sources carry consent.
- The actual helper command and exit were observed; frames, sheet and qc.json were read back and hashed, or the blocker is stated.
- body_scale_cv and anchor_y_std are quoted from qc.json; a REGENERATE verdict led to a new sheet, not frame edits.
Recovery Notes
- If the sheet is a 1xN strip or packs a wide effect, ask the host image tool for a grid and a separate effect sheet; do not slice it by hand.
- If Pillow is missing, return the refusal and an explicit optional-environment setup recipe; never synthesize frames.
- If QC returns REGENERATE, regenerate the source with tighter pose and scale instructions and rerun into a new output directory.
When to Use
Use when a game character needs animation frames cut from an image-model grid sheet, with measured scale and baseline QC rather than hand-edited frames.
Strong routing signals: `sprite-forge`, `sprite sheet`, `pixel sprite`, `pixel art character`, `game sprite frames`, `2d sprite animation`, `도트 캐릭터`, `스프라이트 시트`, `도트 스프라이트`
Catalog Metadata
Category: analysis
Phase: sprite-production
Quality tier: execution-evidence-gated
Reasoning demand: heavy
Quality bar:
- Require a grid sheet on flat #FF00FF with exact cell division; strips and packed wide effects are regenerated, not cropped.
- Record the real interpreter, Pillow version, command, exit and output hashes; QC numbers come from qc.json, not from inspection by eye.
- Gate on body_scale_cv <= 0.08 and anchor_y_std <= 0.05, and keep technical PASS distinct from art-direction approval.
Required inputs:
- grid sheet from the host image tool on flat #FF00FF
- declared rows x cols, cell size and feet baseline
- new output directory and execution budget
Expert clarification questions:
grid sheet from the host image tool on flat #FF00FF- English: Which host image tool produces the sheet, which grid (2x2, 2x3, ...) holds which pose, and is the background flat #FF00FF?
- Korean: Which host image tool produces the sheet, which grid (2x2, 2x3, ...) holds which pose, and is the background flat #FF00FF?
Expected outputs:
- aligned equal-size frames and sheet
- sprite_forge_qc/v1 receipt
- character art-direction record
Artifact expectations:
- Actual
frame_000.png... equal-size RGBA frames with feet on one sharedbaseline_y, plus the re-composited alignedsheet.png. - Authored
sprite_forge_qc/v1inqc.json: frame count, grid, cell/frame size, per-frame bbox, body_scale_cv, anchor_y_std, thresholds, verdict, hashes and argv. - A character art
Câu hỏi thường gặp
Skill có tự tạo hình ảnh nhân vật không?
Không. Bạn lấy sheet từ công cụ tạo hình ảnh, và skill xử lý nó.
Skill có thể làm hoạt ảnh cho video hoặc banner không?
Không. Skill dành cho khung hoạt ảnh sprite 2D, không dùng cho video hay banner nói chung.
Khi nào công cụ hỗ trợ được chạy?
Công cụ hỗ trợ chỉ chạy trong các bước mà skill mô tả, không chạy trong lúc cài đặt.
Chi tiết
Mô tả gốc của tác giả
[omh] Character art to animate in a game: turn image-model sprite sheets into aligned, QC-gated frames with a fail-closed Pillow helper. Use when the user says: sprite-forge, sprite sheet, pixel sprite, pixel art character, game sprite frames, 2d sprite animation, 도트 캐릭터, 스프라이트 시트.
repo: rlaope/oh-my-hermes
Độ phổ biến
- Sao GitHub
- 5.1k
- Vị trí xếp hạng
- #15169
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
omh-accessibility-audit
5.1kGiúp agent của bạn kiểm tra màn hình hoặc luồng có khoảng trống về khả năng truy cập không, như dùng bàn phím, nhãn trình đọc màn hình, tương phản và vùng chạm.
omh-adversarial-consensus
5.1kGiúp agent của bạn tấn công một đề xuất kỹ thuật từ nhiều góc độ độc lập trước khi bạn cam kết, rồi tổng hợp những gì còn đứng vững.
omh-agent-debug
5.1kGiúp agent của bạn tìm hiểu vì sao một agent AI khác bị kẹt, lặp vòng hoặc trôi khỏi nhiệm vụ, và gợi ý cách phục hồi nhỏ nhất an toàn.
omh-agent-instructions
5.1kGiúp agent của bạn viết hoặc cập nhật tệp hướng dẫn, như AGENTS.md hoặc CLAUDE.md, để nói cho các công cụ AI cách làm việc trong một dự án.
Skill tương tự
gifgrep
394kCho phép agent của bạn tìm thư viện GIF, xem trước kết quả, tải một GIF, và lấy một khung hình tĩnh hoặc bảng ghép nhiều khung hình.
meme-maker
394kCho phép agent của bạn chọn một mẫu meme, thêm chú thích của riêng bạn và tạo meme dưới dạng ảnh SVG hoặc PNG.
ios-icon-gen
280kGiúp agent tạo biểu tượng cho ứng dụng iOS. Dùng biểu tượng của Apple hoặc từ các nguồn khác để tạo đúng định dạng tệp.