Index of every page on this site: llms.txt
All skills
Run it yourself

Split a character onto named layers — head, torso, arms, legs — so it can be animated by moving cels instead of redrawing pixels. Use before animating anything, or when limbs are baked into one layer.

Use this Skill: https://skilld.dev/gh/with-pebbly/aseprite-ai-artist/rig

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈52 tokens for metadata: the name and description. ≈590 when used: this file.

Description uses 2.6% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈206 characters, or 2.6%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Rig a character for animation

Pixels baked into a single layer cannot be animated without redrawing them. Rig first; separating a finished sprite later is more work than building it split.

The standard rig

Bottom to top, so nearer parts draw over farther ones:

arm-near     ← camera-side arm
leg-near
head
torso
arm-far      ← partly hidden by the torso; this is what sells depth
leg-far
shadow       ← ground contact, if the style has one

Add weapon, cape, hair-front, hair-back as the design needs. Keep names stable — every later call refers to them by name.

Two limbs with the same name — arm-near inside two different groups, say — make later calls ambiguous: passing just the name fails, naming every match, until you pass a group/child path (e.g. torso/arm-near) instead.

Building it fresh

One batch, one undo step:

layer batch=[
  {op:"create", name:"shadow"},
  {op:"create", name:"leg-far"},
  {op:"create", name:"arm-far"},
  {op:"create", name:"torso"},
  {op:"create", name:"head"},
  {op:"create", name:"leg-near"},
  {op:"create", name:"arm-near"},
]

Then draw each part on its own layer from the start.

Splitting an existing sprite

When the art is already baked into one layer:

  1. sprite_info to see what you have, and look op="ascii" to find exact part boundaries. Guessing at coordinates here is how limbs get clipped.
  2. Create the rig layers (above).
  3. For each part, in one draw call per target layer:
    draw layer="head" ops=[{ kind:"blit", from:{x:12,y:4,width:8,height:8}, to:{x:12,y:4} }]
    blit copies from the source layer; skipTransparent keeps the copy clean.
  4. Clear the copied region from the original layer, or rename the original to flat-original and hide it. Prefer hiding — if a boundary was wrong you want the original still there.
  5. look op="preview" with the original hidden. The sprite should look unchanged. If a limb lost pixels, the boundary was wrong.

Overlap matters

A limb needs a pixel or two of overlap with the torso, or a gap appears the moment it rotates. Copy generously and let the stacking order hide the excess.

Then

aseprite:animate.

Related

rules://06-layers-and-rigging, rules://03-silhouette-and-form, rules://31-anatomy-and-pose for where the joints really are.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    This skill provides instructions and examples for rigging a character for animation by organizing artwork into layers. It describes best practices for layer naming and stacking, and provides examples for creating layers and moving pixel data. No security risks were detected.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: LOW · No issues

Signed by skilld at 9def814. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 weeks ago.

Activeupdated 2 months ago
title
Rig a character for animation

README badge

README badge for with-pebbly/aseprite-ai-artist/rig