Coding agent · Skill · Xiaomi

PCafe × MiMo CodeThe HTML slide deck skill for MiMo Code

MiMo Code is Xiaomi’s coding agent. It loads skills from ~/.config/mimocode/skills/ and also reads ~/.claude/skills/, ~/.agents/skills/ and similar folders. With pcafe installed and a MiMo model, it makes complete decks.

Step one

Install PCafe in MiMo Code

  1. Run the command below to unpack the skill into ~/.config/mimocode/skills/.
  2. Already in ~/.agents/skills/ or ~/.claude/skills/? MiMo Code reads it there.

Afterwards, open a new chat and ask what the pcafe skill does. If it can tell you, the skill is loaded.

mkdir -p ~/.config/mimocode/skills && curl -fsSL https://p.cafe/downloads/pcafe-skill.zip -o /tmp/pcafe-skill.zip && unzip -oq /tmp/pcafe-skill.zip -d ~/.config/mimocode/skills

Step two

Working with MiMo Code once it is installed

  • Say “make a deck with pcafe”; MiMo Code follows the skill’s steps and checks.
  • With two skills of the same name the last one loaded wins; keep one copy.
  • Put .mimocode/skills/pcafe in a project so the whole team uses one version.

A prompt to copy

Using the pcafe skill, turn this month’s operating data into an 8-slide business review in the editorial style, citing every number. Build once npx pcafe check prints PASS.

Naming the file, the audience, the length and what counts as done helps far more than “make it look nice”.

Results

Decks made with PCafe

All sample decks →

Why PCafe

Why use PCafe for slides in MiMo Code

Fixed templates that hold their layout

MiMo Code only writes your content into PCafe’s 270-plus open-source templates; layout, type sizes and colour come from the template, so the deck doesn’t change shape every time.

Delivered only at PASS

Every slide has text limits. Overflow, overlap and tiny type fail the check, and MiMo Code trims or splits slides and checks again until PASS.

One offline HTML file

The result is one HTML file that presents with a double-click and no network; it also exports to PDF and editable PowerPoint.

Questions

PCafe × MiMo Code: questions

MiMo Desktop?

Some users report MiMo Desktop scans only its own folder. If pcafe isn’t found, put it in ~/.config/mimocode/skills/.

Is PCafe free?

The open-source version is free for personal and commercial work and keeps a “Made with PCafe” credit. Pro adds 11 paid template packs and lets you remove the credit.

Can I get a PowerPoint file?

Yes. Have MiMo Code run npx pcafe pptx <name>; the text comes out as editable text boxes. PDF export works too.

Do I need Node.js?

Building the HTML needs Node.js 20.19 or later, and MiMo Code runs the npx commands. Without it, the skill falls back to a storyline and a slide-by-slide outline.

How do I install on Windows?

The npx skills command works in PowerShell too. The unzip one-liners are for macOS and Linux; on Windows, download pcafe-skill.zip and extract it into the matching skills folder under your user folder, for example %USERPROFILE%\.agents\skills.

Other tools

PCafe also works in

All skills and plugins →See the Pro templates →