Lm studio

From clawic/skills · View interactive version

Lm studio is an AI agent skill from the GitHub repository clawic/skills. Run and integrate LM Studio with local model lifecycle control, OpenAI-compatible APIs, embeddings, and MCP-aware workflows.

How to use this skill

Skill file

When to Use

User wants to run local models with LM Studio, connect an app to its local server, or debug weak local inference behavior.

Use this for server readiness, model loading, OpenAI-compatible API integration, embeddings, MCP setup, and local-first operating decisions.

Architecture

Memory lives in ~/Clawic/data/lm-studio/. If ~/Clawic/data/lm-studio/ does not exist, run setup.md. See memory-template.md for structure.

~/Clawic/data/lm-studio/
├── memory.md         # Activation, preferred port, known-good defaults
├── server-notes.md   # Reachability checks and server mode notes
├── model-profiles.md # Verified models by workload
└── incidents.md      # Repeated failures and confirmed fixes

Quick Reference

| Topic | File |

|-------|------|

| Setup behavior and activation boundaries | setup.md |

| Memory schema and status states | memory-template.md |

| Server startup and smoke tests | server-workflows.md |

| Download, load, unload, and swap models | model-lifecycle.md |

| OpenAI-compatible request patterns | api-recipes.md |

| MCP connection patterns and guardrails | mcp-playbooks.md |

| Symptom-based debugging | troubleshooting.md |

Requirements

Core Rules

1. Prove the server is reachable before changing client code

2. Separate downloaded, listed, loaded, and active models

3. Prefer OpenAI-compatible endpoints for app integration

4. Match model size and context to machine limits

5. Validate after every runtime change

6. Treat MCP as a separate risk layer

7. Escalate beyond local when the task exceeds the local setup

Common Traps

Security & Privacy

Data that leaves your machine:

Data that stays local:

This skill does NOT:

Related Skills

More Clawic skills, get them at https://clawic.com/skills/<slug> (install if the user confirms):

Feedback

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.