mate
O que ela faz
Esta skill desenha um companheiro de desktop animado e personalizado para o MiMo Desktop. Ela é para quem quer o seu próprio personagem de pet na área de trabalho.
Quando usar
- ✓Quando você quiser desenhar um pet ou companheiro de desktop personalizado.
- ✓Quando quiser um spritesheet com quadros de animação para um personagem de pet.
- ✓Quando quiser o seu pet carregado nas configurações Mate do MiMo Desktop.
Link da skill
https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/mate/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Quero criar um pet de desktop com uma pequena raposa laranja, com uma animação de repouso e um aceno.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente cria um spritesheet WebP com os quadros de animação e um manifesto que descreve cada animação. Você coloca a pasta na pasta de pets do MiMo Desktop e atualiza as configurações para carregá-lo.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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
rowfield 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
Perguntas frequentes
Quais arquivos um pet precisa?
Uma pasta de pet precisa de um arquivo manifest.json e de uma imagem spritesheet.webp.
Como carrego o meu pet?
Coloque a pasta na pasta de pets personalizados e clique em Atualizar em Configurações, em Mate.
Um pet precisa de uma animação de repouso?
Sim. O manifesto deve incluir pelo menos uma animação de repouso.
Detalhes
Descrição original do autor
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
Popularidade
- Estrelas no GitHub
- 14 mil
- Posição no ranking
- #11331
- Licença
- MIT
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
effect
14 milAjuda seu agente a responder perguntas sobre o framework TypeScript Effect verificando o código-fonte e a documentação, em vez de confiar na memória.
arxiv
14 milAjuda seu agente a pesquisar, ler, citar e acompanhar artigos acadêmicos no arXiv, incluindo resumos, citações BibTeX, downloads de PDF e links de citação.
claude-code
14 milAjuda seu agente a passar uma tarefa de programação para a ferramenta de linha de comando do Claude Code, como uma execução única, uma sessão interativa ou um trabalho em segundo plano.
codex
14 milAjuda seu agente a rodar a ferramenta de linha de comando do OpenAI Codex sem uma janela de chat, para tarefas de programação, scripts e pipelines automatizados.
Skills parecidas
gifgrep
394 milPermite que seu agente pesquise bibliotecas de GIFs, visualize resultados, baixe um GIF e extraia um quadro fixo ou uma folha de quadros.
meme-maker
394 milPermite que seu agente escolha um modelo de meme, adicione suas próprias legendas e crie o meme como imagem SVG ou PNG.
ios-icon-gen
280 milFaz seu agente gerar ícones para aplicativos iOS. Ele usa símbolos da Apple ou ícones de outras fontes para criar os arquivos corretos.