mate
Was er macht
Dieser Skill entwirft einen eigenen animierten Desktop-Begleiter für MiMo Desktop. Er richtet sich an Menschen, die eine eigene Figur auf dem Desktop wollen.
Wann du ihn nutzt
- ✓Wenn du einen eigenen Desktop-Begleiter oder ein Maskottchen entwerfen willst.
- ✓Wenn du ein Spritesheet mit Animationsbildern für eine Figur brauchst.
- ✓Wenn du deine Figur in die Mate-Einstellungen von MiMo Desktop laden willst.
Link zum Skill
https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/mate/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Ich möchte einen Desktop-Begleiter in Form eines kleinen orangefarbenen Fuchses mit einer Ruheanimation und einer Winkbewegung erstellen.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Agent erstellt ein WebP-Spritesheet mit Animationsbildern und ein Manifest, das jede Animation beschreibt. Du legst den Ordner in den Pets-Ordner von MiMo Desktop und lädst die Einstellungen neu.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von 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
Häufige Fragen
Welche Dateien braucht ein Begleiter?
Ein Begleiterordner braucht eine Datei manifest.json und ein Bild spritesheet.webp.
Wie lade ich meinen Begleiter?
Lege den Ordner in den Ordner für eigene Pets und klicke in den Einstellungen unter Mate auf Aktualisieren.
Braucht ein Begleiter eine Ruheanimation?
Ja. Das Manifest muss mindestens eine Ruheanimation enthalten.
Details
Originalbeschreibung des Autors
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
Beliebtheit
- GitHub-Sterne
- 14k
- Platz im Ranking
- #11331
- Lizenz
- MIT
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
effect
14kHilft deinem Agenten, Fragen zum TypeScript-Framework Effect zu beantworten, indem er Quellcode und Doku prüft, statt sich auf sein Gedächtnis zu verlassen.
arxiv
14kHilft deinem Agenten, akademische Paper auf arXiv zu suchen, zu lesen, zu zitieren und zu verfolgen, mit Zusammenfassungen, BibTeX-Zitaten, PDF-Downloads und Zitierverbindungen.
claude-code
14kHilft deinem Agenten, eine Coding-Aufgabe an das Kommandozeilenwerkzeug Claude Code zu übergeben, als einmaligen Lauf, interaktive Sitzung oder Hintergrundjob.
codex
14kHilft deinem Agenten, das Kommandozeilenwerkzeug OpenAI Codex ohne Chat-Fenster auszuführen, für Coding-Aufgaben, Skripte und automatisierte Abläufe.
Ähnliche Skills
gifgrep
394kLässt deinen Agenten GIF-Bibliotheken durchsuchen, Ergebnisse vorab ansehen, ein GIF herunterladen und ein Einzelbild oder ein Kontaktblatt mit Bildern herausziehen.
meme-maker
394kLässt deinen Agenten eine Vorlage für ein Meme auswählen, eigene Beschriftungen hinzufügen und das Meme als SVG- oder PNG-Bild erstellen.
ios-icon-gen
280kHilft deinem Agenten, Icons für iOS-Apps zu erstellen. Er nutzt Apple-Symbole oder Icons aus anderen Quellen und erzeugt die richtigen Dateien.