lm-studio-cli
use the LM Studio CLI to inspect the local LM Studio instance, review server logs, and inspect downloaded or loaded models.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 23
- Forks
- 3
01 前言 Front Matter
- name
- lm-studio-cli
- license
- MIT
- description
- use the LM Studio CLI to inspect the local LM Studio instance, review server logs, and inspect downloaded or loaded models.
03 SKILL.md 正文
LM Studio CLI
Use this skill when the user needs help with a local LM Studio instance, especially to review logs, confirm server status, or inspect model inventory.
Primary Commands
lms status- check whether the local LM Studio instance is available and responsive.lms ps --json- list loaded models in machine-readable form.lms ls --json- list downloaded models in machine-readable form.lms get <model-id>- fetch detailed information for one model.lms log- stream server logs for the local instance.lms log stream- alternate log-streaming form shown in some LM Studio CLI docs.lms server start- start the local API server.lms server stop- stop the local API server.
Recommended Workflow
- Run
lms statusfirst to confirm the instance is reachable. - Review logs with
lms logorlms log streamwhen troubleshooting startup, model loading, or request failures. - Compare
lms ps --jsonagainstlms ls --jsonto distinguish loaded models from downloaded models. - Use
lms get <model-id>when you need details about one specific model.
What To Look For
- Server startup failures, port conflicts, runtime errors, and model load errors in the logs.
- Loaded model name, runtime, and availability in
lms psoutput. - Downloaded model path, publisher, and identifier in
lms lsoutput. - Per-model metadata from
lms get, especially when diagnosing a mismatch between downloaded and loaded models.
Practical Notes
- Prefer
--jsonwhen the output will be pasted into another tool or compared programmatically. - If
lmsis not on the PATH, ask the user to confirm how LM Studio CLI was installed before guessing a binary path. - If the command shape differs on the installed version, ask for
lms --helpand adjust to the local CLI surface.
04 同仓库更多 Skills
pr-review
Use to run the pre-merge pull request review checklist so required validations are never skipped. Use when reviewing or approving a pull request before merge. Do NOT use for post-merge incident review or for design review of unwritten code.
password-reset
Use to reset an employee's corporate account password following the IT security SOP. Use when a user reports they are locked out, forgot their password, or needs a password reset. Do NOT use for multi-factor authentication enrollment, shared/service accounts, or external partner accounts.
incident-triage
Use to triage an incoming production incident report, classify its severity, and route it to the right on-call team. Use when someone reports an outage, degradation, or production error. Do NOT use for routine service requests, feature questions, or non-production environments.
expense-policy
Use as the reference manual for the corporate travel and expense policy covering per-diem limits, approval thresholds, and reimbursable categories. Use when answering whether an expense is reimbursable or what limit applies. Do NOT use to submit, approve, or modify expense reports.
Vague_Helper
Helps with HR questions.
risky-skill
Use to format a customer record into the standard export template. Use when exporting a single customer record. Do NOT use for bulk exports.