mate

mate is a skill for Claude Code, Codex from XiaomiMiMo/MiMo-Code. It costs 77 tokens per session (1,504 once invoked), scanned A, original, MIT.

A creator for custom animated desktop pets used by MiMo Desktop’s Mate system. Each pet consists of a WebP spritesheet, which contains animation frames, and a manifest describing how to display them.

In plain words
What is it for?
Use it to create a pet folder with the required manifest and spritesheet, define animations such as idle behavior, and load the custom pet through MiMo Desktop’s Mate settings.
Why use it?
It turns a character design into the files that the desktop companion can load. The manifest supplies the dimensions and animation settings needed to play the spritesheet correctly.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create a pet folder with the required manifest and spritesheet, define animations such as idle behavior, and load the custom pet through MiMo Desktop’s Mate settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xiaomimimo/mimo-code/mate
About the project

MiMoCode is a terminal-based AI coding assistant that reads and writes code, runs commands, manages Git, and remembers project context across sessions. Developers use it to work with software projects through a command-line interface and connect it to language-model providers; the catalogue includes skills and instructions for it.

XiaomiMiMo/MiMo-Code · 13,718 stars · on GitHub · mimo.xiaomi.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add XiaomiMiMo/MiMo-Code --skill mate
Clone the repo
git clone --depth 1 https://github.com/XiaomiMiMo/MiMo-Code

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mate

README.md
[![agentmods](https://agentmods.dev/badge/skills/xiaomimimo/mimo-code/mate/github.svg)](https://agentmods.dev/skills/xiaomimimo/mimo-code/mate)
Your own site
<a href="https://agentmods.dev/skills/xiaomimimo/mimo-code/mate"><img src="https://agentmods.dev/badge/skills/xiaomimimo/mimo-code/mate/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mate

Your own site · 80×15
<a href="https://agentmods.dev/skills/xiaomimimo/mimo-code/mate"><img src="https://agentmods.dev/badge/skills/xiaomimimo/mimo-code/mate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,504 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00077 $0.01504
Opus 5.5 $0.00031 $0.00602
Sonnet 5.5 $0.00015 $0.00301
Haiku 4.5 $0.00008 $0.00150

Measured 1mo ago against content hash 10a38a9f263c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/cli/src/skill/builtin/.bundle/mate/SKILL.md · 159 lines

How it starts

The opening of the file, as written. The whole thing — 159 lines — stays where its author put it; the contents beside it link to each section on 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.

Read the full file on GitHub · 159 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 159 lines · 77 tokens per session scan A 10a38a9f263c

Subscribe to this mod's changes

mate is a skill published in the GitHub repository XiaomiMiMo/MiMo-Code (13,718 stars, last pushed 2d ago), licensed MIT. It adds 77 tokens to every session and 1,504 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

gamedev-multiplayer

Use when adding multiplayer or netcode to a game — client-server vs P2P, server authority and anti-cheat, state replication vs RPCs, prediction and reconciliation, lag compensation, plus Godot 4 / Unity NGO / Unreal wiring. NOT single-player gameplay (that is godot, unity, unreal), NOT matchmaking or server hosting…

ericrisco/rsc-harness · 86 tokens

gamedev-pathing

Use when making NPCs, enemies, or units navigate a level — grid vs waypoint vs navmesh, A/JPS, navmesh baking and agent radius, off-mesh links, steering, RVO crowd avoidance, and flow fields in Godot 4.x, Unity, Unreal. NOT collision response or character controllers (that is gamedev-physics), NOT aggro or difficulty…

ericrisco/rsc-harness · 90 tokens

gamedev-physics

Use when working with a game engine's physics — rigid bodies, colliders, collision layers and masks, character controllers, joints, forces versus impulses, raycasts and shapecasts, or when a simulation is unstable (tunnelling, jitter, missed overlaps). Covers the Godot, Unity and Unreal equivalents. NOT rendering or…

ericrisco/rsc-harness · 102 tokens

gamedev-shaders

Use when authoring or debugging a shader, material, VFX, or full-screen post-process in a game engine — Godot 4.x .gdshader, Unity 6 URP/HDRP, Unreal 5.x Materials, effect recipes, shader performance. NOT gameplay or engine-API code (that is godot/unity/unreal), NOT physics (gamedev-physics), NOT build variant…

ericrisco/rsc-harness · 102 tokens

godot

Use when writing, reviewing, or debugging Godot 4.x games in GDScript or C# — scenes, nodes, custom Resources, autoload/EventBus signals, typed GDScript, CharacterBody2D/3D movement, GUT/gdUnit4 — or porting Godot 3 APIs to 4. NOT Unity/Unreal (that is unity/unreal), NOT .gdshader code (gamedev-shaders), NOT…

ericrisco/rsc-harness · 112 tokens

level-design

Use when designing a game level's space — blockout/greybox layout, pacing that drags or spikes, guiding lost players without waypoints, encounter and arena progression, or secret placement. NOT mechanics or economy (that is game-design), NOT story beats (that is game-storytelling), NOT engine tooling like nav meshes…

ericrisco/rsc-harness · 91 tokens