Chuyển đến nội dung
Skillpedia
Hình ảnh và biểu tượng5.1k · #15169

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.md

Sao 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

Hãy dùng skill này để giúp tôi: https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-sprite-forge/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

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.md and references/execution-and-qa.md before executing toolkit/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.md form 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 shared baseline_y, plus the re-composited aligned sheet.png.
  • Authored sprite_forge_qc/v1 in qc.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

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự