Skills

Mate

Create custom desktop pet (Mate) characters with spritesheet and manifest.

Install

npx skills add XiaomiMiMo/MiMo-Code --skill mate -g -a claude-code -y
Repository
XiaomiMiMo/MiMo-Code13.7k
Category
Design
Updated
3d ago
License
MIT
Context cost
Lightabout 1,428 tokens
Runs scripts
No, instructions only

What it does

Create custom desktop pet (Mate) characters with spritesheet and manifest. Use when the user asks to 'create a pet', 'make a desktop companion', 'design a mate character', 'generate a spritesheet for my pet', or wants to customize their desktop buddy. Generates a WebP spritesheet + manifest.json that can be loaded by MiMo Desktop's Mate system.

Mate Pet Creator

Create animated desktop pet characters for MiMo Desktop's Mate (桌面伙伴) system.

Output Structure

A valid custom pet lives in a folder with this structure:

<pet-id>/
├── manifest.json     # Required, animation metadata
└── spritesheet.webp  # Required, all animation frames in a grid

The user places this folder in their MiMo Desktop custom pets directory (userData/pets/<pet-id>/), then clicks "Refresh" in Settings → Mate to load it.

Manifest Schema

{
  "id": "my-pet",
  "name": "My Pet",
  "description": "A cute custom pet",
  "version": 1,
  "spritesheet": "spritesheet.webp",
  "frameWidth": 240,
  "frameHeight": 240,
  "columns": 8,
  "totalFrames": 16,
  "animations": {
    "idle": { "row": 0, "frames": 8, "fps": 8, "loop": true }
  }
}

Required Fields

FieldTypeDescription
idstringUnique identifier (kebab-case)
namestringDisplay name
versionnumberAlways 1
spritesheetstringFilename of the spritesheet image
frameWidthnumberWidth of each frame in pixels
frameHeightnumberHeight of each frame in pixels
columnsnumberNumber of columns in the spritesheet grid
totalFramesnumberTotal number of frames across all animations
animationsobjectAt minimum must include idle

Optional Fields

FieldTypeDescription
descriptionstringShown in settings UI
anchorXnumberHorizontal anchor (0, 1, default 0.5) for centering

Animation Definition

Each animation entry:

FieldTypeDescription
rownumberRow index in the spritesheet (0-based)
framesnumberNumber of frames in this animation
fpsnumberPlayback speed (recommended: 6, 12)
loopbooleanWhether the animation loops
Read the whole SKILL.md on GitHub

More in Design