[开发者向] 帮 contributor / 开发者从源码 dev 模式跑通 MiniCPM-Desk-Pet。 普通用户应直接下载 dmg 安装包,跟着 Onboarding 引导走,不应触发本 skill。 Use when a developer clones the repo and wants to run it from source, or asks to "部署桌宠 (从源码)", "跑起来 MiniCPM dev 模式", or hits errors during go.sh / npm start / uv sync.
[开发者向] 帮 contributor / 开发者从源码 dev 模式跑通 MiniCPM-Desk-Pet。 普通用户应直接下载 dmg 安装包,跟着 Onboarding 引导走,不应触发本 skill。 Use when a developer clones the repo and wants to run it from source, or asks to "部署桌宠 (从源码)", "跑起来 MiniCPM dev 模式", or hits errors during go.sh / npm start / uv sync.
This skill walks the agent through deploying the MiniCPM-Desk-Pet project on a colleague's machine from source. The project has 3 moving parts that need to come up in the right order: llama-server (compiled from vendored llama.cpp), the FastAPI gateway, and the Electron clawd-on-desk app.
Quick assessment first
Before doing anything, check what state the colleague's machine is in:
# Are we in the repo root?ls README.md go.sh clawd-on-desk minicpm-sidecar 2>&1 | head -5
# What's already installed?command -v node && node -v # need 18+command -v uv && uv --version # go.sh installs if missingcommand -v cmake && cmake --version # go.sh installs if missing (needed for llama-server)
If the user isn't in the repo root, cd to wherever they cloned it first.
Critical prerequisite: GGUF model
The model weight (~600 MB – 1 GB GGUF) is NOT in the repo. Without it, the gateway boots in "waiting for model" mode and Onboarding prompts the user to download one.
Check first:
ls -la models/*.gguf 2>&1
If missing, three ways to obtain it:
Already have a .gguf locally (most likely if the colleague worked on MiniCPM before):