openbmb/minicpm/minicpm5-deploy-lmstudio
Claude Code and agent skill by openbmb/minicpm
- community
Checking that the SKILL.md file is still in the repository.
Run MiniCPM5-1B or MiniCPM5-2B in LM Studio (desktop GUI) using either the GGUF runtime (cross-platform) or the MLX runtime (Apple Silicon, faster). Includes OpenAI-compatible local server. Use when the user mentions "LM Studio", desktop GUI inference, "lms" CLI, or wants a no-code chat UI for MiniCPM5.
Install
npx vskill@latest install openbmb/minicpm/minicpm5-deploy-lmstudioSKILL.md
The same SKILL.md was published earlier as openbmb/minicpm/minicpm5-deploy-lmstudio.
Deploy MiniCPM5-1B and MiniCPM5-2B with LM Studio
Desktop GUI + OpenAI-compatible local server. On Apple Silicon ships two runtimes:
| Runtime | Format | When to use | |
|---|---|---|---|
| GGUF (llama.cpp engine) | F16 / Q8_0 / Q4_K_M | cross-platform, same artifact as Ollama; Q4_K_M build | |
| MLX (Apple Silicon only) | bf16 / 4-bit | ~60 % faster, automatic think/answer split via reasoning_content; Q4 build |
Required input
| Var | Example | Default | |
|---|---|---|---|
| Runtime | gguf or mlx | mlx on Apple Silicon, gguf elsewhere | |
QUANT | Q4_K_M (GGUF) or 4bit (MLX) | Q4_K_M / 4bit | |
MODEL_NAME | minicpm5-2b | minicpm5-2b |
Steps
1. Install LM Studio + complete onboarding
⚠️ The first launch MUST be GUI —lms(CLI) refuses withCannot find LM Studio installationuntil LM Studio has run interactively at least once.
2A. GGUF runtime path
2B. MLX runtime path (Apple Silicon, recommended on Mac)
The MLX runtime needs an MLX-format checkpoint. The published MiniCPM5-2B MLX repo is `openbmb/MiniCPM5-2B-MLX` (4-bit affine); there is no separate -bf16 / -4bit variant. Either drop that one in as-is, or convert locally from openbmb/MiniCPM5-2B (see minicpm5-deploy-mlx). Then:
3. Validate
Expected: "2" in the reply.
For the MLX runtime, a think prompt produces output split into message.reasoning_content (the <think> block) and message.content (the final answer) automatically — that's an MLX-runtime feature, not a model setting.
Think vs nothink (MiniCPM5-1B)
LM Studio 0.4.13's chat-completion endpoint does not propagate chat_template_kwargs.enable_thinking to the GGUF runtime. Instead:
- Default = think mode for both runtimes.
- For nothink with the GGUF runtime, prepend the closing think block manually:
``json "messages": [ {"role":"user","content":"1+1=?"}, {"role":"assistant","content":"<think>\n\n</think>\n\n"} ] `` and the model continues from there.
- MLX runtime: think/answer are auto-split, you don't need to do anything.
Common pitfalls
- MLX runtime not available: only on Apple Silicon. On Intel Mac / Windows / Linux LM Studio, only the GGUF runtime works.
When NOT to use
- Just want CLI / scripted runs →
minicpm5-deploy-ollamais leaner - Production server →
minicpm5-deploy-vllm - No GUI desired →
minicpm5-deploy-llama-cpp(llama-server)
Reference
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/minicpm5-deploy-lmstudio/SKILL.md
Popularity
- Repository stars
- 9,518
- Repository forks
- 625
- 7-day trend score
- 46
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/openbmb/minicpm/minicpm5-deploy-lmstudio)