본문으로 건너뛰기
Skillpedia
이미지 및 아이콘14k · #11331

mate

하는 일

이 스킬은 MiMo Desktop용 맞춤 애니메이션 데스크톱 동반자를 설계합니다. 데스크톱에 자신만의 펫 캐릭터를 두고 싶은 사람을 위한 스킬입니다.

사용하는 경우

  • ✓맞춤 데스크톱 펫이나 동반자를 설계하고 싶을 때.
  • ✓펫 캐릭터의 애니메이션 프레임을 담은 스프라이트 시트가 필요할 때.
  • ✓펫을 MiMo Desktop의 Mate 설정에 불러오고 싶은 경우.

스킬 링크

https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/mate/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/mate/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“작은 주황색 여우 데스크톱 펫을 만들고 싶어요. 가만히 있는 애니메이션과 손 흔들기 동작을 넣어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 애니메이션 프레임의 WebP 스프라이트 시트와, 각 애니메이션을 설명하는 매니페스트를 만듭니다. 폴더를 MiMo Desktop의 펫 폴더에 넣고 설정에서 새로 고치면 불러옵니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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

Field Type Description
id string Unique identifier (kebab-case)
name string Display name
version number Always 1
spritesheet string Filename of the spritesheet image
frameWidth number Width of each frame in pixels
frameHeight number Height of each frame in pixels
columns number Number of columns in the spritesheet grid
totalFrames number Total number of frames across all animations
animations object At minimum must include idle

Optional Fields

Field Type Description
description string Shown in settings UI
anchorX number Horizontal anchor (0–1, default 0.5) for centering

Animation Definition

Each animation entry:

Field Type Description
row number Row index in the spritesheet (0-based)
frames number Number of frames in this animation
fps number Playback speed (recommended: 6–12)
loop boolean Whether the animation loops

The idle animation is required — it plays by default when the pet is loaded.

Spritesheet Layout

  • Frames are arranged left-to-right, top-to-bottom in a grid.
  • Each row corresponds to one animation (matched by the row field in the animation definition).
  • All frames must have identical dimensions (frameWidth × frameHeight).
  • Transparent background (alpha channel) is required — the pet window has no background.
  • Recommended frame size: 240×240 px (renders well at 1× scale on desktop).
  • Format: WebP with transparency (lossless or near-lossless for crisp pixel art).

Workflow

Step 1: Understand the Character

Ask the user:

  • What animal/creature/character?
  • Art style preference (pixel art, cartoon, flat vector, kawaii)?
  • Any specific colors or features?

Step 2: Generate the Spritesheet

Use the imagegen skill to generate the spritesheet image. Construct the prompt with these guidelines:

  • Request a sprite sheet with specific grid layout (e.g., "8 frames in a single horizontal row, each frame 240×240 pixels")
  • Specify transparent background (alpha channel)
  • Describe the idle animation motion: gentle breathing, blinking, tail wag, bobbing, etc.
  • Keep the character centered in each frame with consistent sizing
  • Style: match the user's preference; default to cute/kawaii if unspecified

If the generated image is already WebP, use it directly. If it is PNG or another format, convert to WebP:

# Convert to lossless WebP preserving transparency
cwebp -lossless -q 100 spritesheet.png -o spritesheet.webp

If cwebp is not available, check for sips (macOS Ventura+ supports WebP export):

sips -s format webp spritesheet.png --out spritesheet.webp

If neither tool is available, instruct the user to install one:

brew install webp   # provides cwebp

Do NOT silently rename a PNG to .webp — the file must have valid WebP encoding (RIFF/WEBP header). If conversion genuinely cannot be performed, fail explicitly and tell the user what tool to install.

If imagegen is unavailable (skill not enabled or image generation fails), fall back to generating pixel-art frames directly as SVG, then rasterize. Compute dimensions from the manifest:

# Calculate actual spritesheet dimensions from manifest
WIDTH=$((frameWidth * columns))
HEIGHT=$((frameHeight * rows))  # rows = max animation row index + 1

# Rasterize SVG to PNG, then convert to WebP
rsvg-convert -w $WIDTH -h $HEIGHT spritesheet.svg -o spritesheet.png
cwebp -lossless spritesheet.png -o spr
자주 묻는 질문

펫에는 어떤 파일이 필요한가요?

manifest.json 파일과 spritesheet.webp 이미지가 있는 펫 폴더가 필요합니다.

펫은 어떻게 불러오나요?

폴더를 맞춤 펫 폴더에 넣은 뒤, 설정의 Mate 항목에서 새로 고침을 누릅니다.

펫에 가만히 있는 애니메이션이 꼭 필요한가요?

네. 매니페스트에는 최소한 대기 애니메이션(idle)이 있어야 합니다.

상세 정보

작성자의 원본 설명

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.

repo: XiaomiMiMo/MiMo-Code

인기도

GitHub 스타
14k
순위
#11331
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬