minicpm5-deploy-lmstudio

minicpm5-deploy-lmstudio is a skill for Claude Code, Codex from OpenBMB/MiniCPM. It costs 93 tokens per session (1,342 once invoked), scanned A, original, Apache-2.0.

Instructions for running the MiniCPM5-1B language model in LM Studio, a desktop app for downloading and chatting with AI models locally. It supports either the GGUF runtime on multiple platforms or the MLX runtime on Apple Silicon computers.

In plain words
What is it for?
Use it to install LM Studio, download MiniCPM5-1B, start its OpenAI-compatible local server, and choose GGUF or MLX based on your computer.
Why use it?
It turns model setup into a defined sequence and explains the runtime and model-format choices needed for local use.

Skill for Claude CodeCodex

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

Good fit Use it to install LM Studio, download MiniCPM5-1B, start its OpenAI-compatible local server, and choose GGUF or MLX based on your computer.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openbmb/minicpm/minicpm5-deploy-lmstudio
About the project

MiniCPM is a family of compact language models, including MiniCPM5-1B, designed to run locally on devices with limited resources. Developers use it for on-device assistants, reasoning, code, tool use, deployment, and fine-tuning, while the repository also includes a desktop-pet example. The catalogue entries support deployment and fine-tuning workflows for the models.

OpenBMB/MiniCPM · 10,673 stars · on GitHub

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 OpenBMB/MiniCPM --skill minicpm5-deploy-lmstudio
Clone the repo
git clone --depth 1 https://github.com/OpenBMB/MiniCPM

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 minicpm5-deploy-lmstudio

README.md
[![agentmods](https://agentmods.dev/badge/skills/openbmb/minicpm/minicpm5-deploy-lmstudio/github.svg)](https://agentmods.dev/skills/openbmb/minicpm/minicpm5-deploy-lmstudio)
Your own site
<a href="https://agentmods.dev/skills/openbmb/minicpm/minicpm5-deploy-lmstudio"><img src="https://agentmods.dev/badge/skills/openbmb/minicpm/minicpm5-deploy-lmstudio/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 minicpm5-deploy-lmstudio

Your own site · 80×15
<a href="https://agentmods.dev/skills/openbmb/minicpm/minicpm5-deploy-lmstudio"><img src="https://agentmods.dev/badge/skills/openbmb/minicpm/minicpm5-deploy-lmstudio.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,342 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 37
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Data Exfiltration · line 67
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
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.00093 $0.01342
Opus 5 $0.00046 $0.00671
Sonnet 5 $0.00019 $0.00268
Haiku 4.5 $0.00009 $0.00134

Measured yesterday against content hash 24c8769e3bb9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

minicpm5-deploy-lmstudio scanned grade A with 1 finding 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 yesterday.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl http://127.0.0.1:1234/v1/chat/completions \
skills/minicpm5-deploy-lmstudio/SKILL.md · 108 lines

How it starts

The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

brew install --cask lm-studio
open -a "LM Studio"     # accept EULA + pick model source

⚠️ The first launch MUST be GUI — lms (CLI) refuses with Cannot find LM Studio installation until LM Studio has run interactively at least once.

2A. GGUF runtime path

mkdir -p ~/.lmstudio/models/openbmb/MiniCPM5-2B-GGUF
huggingface-cli download openbmb/MiniCPM5-2B-GGUF MiniCPM5-2B-${QUANT}.gguf \
    --local-dir ~/.lmstudio/models/openbmb/MiniCPM5-2B-GGUF/

LMS="/Applications/LM Studio.app/Contents/Resources/app/.webpack/lms"
"$LMS" server start                              # binds 127.0.0.1:1234
"$LMS" load minicpm5-2b --gpu max --context-length 8192 -y
"$LMS" ps                                        # verify the model is loaded

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:

# Option A — use the official pre-quantized repo
huggingface-cli download openbmb/MiniCPM5-2B-MLX \
    --local-dir ~/.lmstudio/models/openbmb/MiniCPM5-2B-MLX

# Option B — drop a locally converted directory in
mkdir -p ~/.lmstudio/models/openbmb/MiniCPM5-2B-MLX-${QUANT}
cp -r ./minicpm5-mlx-${QUANT}/* ~/.lmstudio/models/openbmb/MiniCPM5-2B-MLX-${QUANT}/

"$LMS" server start
"$LMS" load minicpm5-2b-mlx${QUANT:+-${QUANT}} --gpu max -y

Read the full file on GitHub · 108 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. yesterday Changed · +8 tokens per session 24c8769e3bb9
  2. 10d ago First seen · 108 lines · 85 tokens per session scan A 17e4e68497ed

Subscribe to this mod's changes

minicpm5-deploy-lmstudio is a skill published in the GitHub repository OpenBMB/MiniCPM (10,673 stars, last pushed yesterday), licensed Apache-2.0. It adds 93 tokens to every session and 1,342 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

agent-platform-rag-engine-management

Manage and query Agent Platform RAG Engine Corpora and retrieve grounded contexts using the Google GenAI SDK. Use when listing RAG corpora or files, inspecting a corpus, retrieving contexts, or generating content grounded in a RAG corpus. Do not use for standard database queries (use SQL/Spanner skills), Google…

google/skills · 85 tokens

agent-platform-model-registry

Agent Platform Model Registry Management. Use when you need to upload, list, describe, update, or delete machine learning models (and their versions) in the Agent Platform Model Registry. Don't use for model training, model deployment to endpoints, or managing non-Agent Platform models.

google/skills · 60 tokens

foundry-config-setup

Resolve missing setup caused by a hardcoded Foundry project endpoint or model in a sample. Use when a sample fails because it uses a placeholder/hardcoded projectendpoint (for example "https://your-project.services.ai.azure.com") or a hardcoded model instead of reading them from the environment.

microsoft/agent-framework · 65 tokens

google-cloud-solution-agentic-analytics-spark-knowledge-catalog

Discovers requirements and generates guidance to design and deploy a governed, secure agentic-analytics solution for data that's distributed across Google Cloud, other cloud providers, or on-premises. Data that's outside Google Cloud (such as data from Databricks, Snowflake, Salesforce, SAP, or Oracle systems) is…

google/skills · 138 tokens

training-check

Interactively monitor training metrics from the current Codex session, periodically checking WandB or fallback logs for NaN, divergence, plateaus, and broken runs.

wanshuiyin/Auto-claude-code-research-in-sleep · 35 tokens

nemo-automodel-launcher-config

Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.

NVIDIA/skills · 30 tokens