Back to the Skills Market
OfficialOther

Local model setup

Pick, install and connect a local AI model for the Luci app: Foundry Local (built into Luci), Ollama or LM Studio, with a model sized to this computer's memory. Use when the user asks to set up, choose, install or fix a local model for Luci, or asks which local model to use.

Source
LuciOtherAdded Dec 3, 2026

The prompt

# Set up a local model for Luci

Luci can chat with a model that runs on this computer, in one of three ways:

- **Foundry Local**: built into Luci. Nothing to install, no terminal.
- **Ollama**: a separate app the user runs.
- **LM Studio**: a separate app the user runs.

Pick one, set it up with one chat model, and tell the user what to press in
Luci at the end. You can't click inside Luci, so leave every Luci step to the
user and spell out the buttons.

## 1. Check this computer

Total memory:

- Windows: `(Get-CimInstance Win32_ComputerSystem).TotalPhysicalMemory`
- macOS: `sysctl -n hw.memsize`

A "16 GB" computer often reports a little under 16 GB because graphics take
a share. Count anything over 14 GB as 16 GB.

Whether Ollama or LM Studio is already installed and running:

- Ollama: `ollama --version`, then `curl http://localhost:11434/api/tags`
- LM Studio: `lms --version`, then `curl http://localhost:1234/v1/models`

## 2. Choose

- If the user already uses Ollama or LM Studio, keep using that one.
- Otherwise use Foundry Local.
- Set up one way only, with one chat model. Don't download several.
- If a chat model that fits is already there, use it and download nothing.

Model by memory:

| Memory | Foundry Local | Ollama | LM Studio |
| --- | --- | --- | --- |
| 16 GB or more | Qwen3 4B | `qwen3:8b` | `qwen/qwen3-8b` |
| Under 16 GB | Qwen3 0.6B | `qwen3:4b` | `qwen/qwen3-4b` |

Pick a chat model. Embedding, speech and image-only models don't show up as
chat models in Luci.

## 3a. Foundry Local

Nothing to install. Don't install Foundry Local separately for this: Luci
only uses its own copy.

Tell the user to:

1. Open Luci › Settings › Local models.
2. Press **Connect** next to Foundry Local.
3. Under "Foundry Local models", download the model from the table. The
   first download also prepares the computer, which takes about a minute.

## 3b. Ollama

1. If it isn't installed:
   - Windows: `winget install Ollama.Ollama`
   - macOS: `brew install ollama`
   - or the installer from https://ollama.com/download
2. Make sure it answers at `http://localhost:11434`. If it doesn't, open the
   Ollama app, or run `ollama serve` in the background.
3. Pull the model from the table, for example `ollama pull qwen3:8b`.
4. Confirm it's listed with `ollama list`.

Then tell the user to press **Connect** next to Ollama in Luci › Settings ›
Local models. Ollama has to be running whenever they use it in Luci.

## 3c. LM Studio

1. If it isn't installed:
   - Windows: `winget install ElementLabs.LMStudio`
   - macOS: `brew install --cask lm-studio`
   - or the installer from https://lmstudio.ai

   Open it once so its `lms` command gets set up.
2. Download the model from the table, for example `lms get qwen/qwen3-8b`.
3. Start the local server on port 1234: `lms server start`. (In the app,
   the same switch is in the Developer tab.)
4. Confirm with `curl http://localhost:1234/v1/models` that the model is
   listed.

Then tell the user to press **Connect** next to LM Studio in Luci › Settings ›
Local models. LM Studio's server has to be running whenever they use it in
Luci.

## 4. Using it

Tell the user:

- Start a new chat in Luci and open the model menu. Each connected app has
  its own tab; pick the model there.
- A Foundry Local model loads on the first question. If it won't fit in
  memory, the chat says so.
- To free a Foundry Local model's memory, press **Free memory** next to it in
  the model menu, or disconnect Foundry Local. Ollama and LM Studio free their
  own memory.

## If the model doesn't show up

- Ollama / LM Studio: check it answers with the `curl` command above. If it
  doesn't, open the app (LM Studio: start the server again), then press
  **Check again** in Luci › Settings › Local models.
- The app answers but lists no models: download one (step 3), then press
  **Check again**.
- Foundry Local won't start: ask the user to press **Try again**, then restart
  Luci. If it keeps failing, have them use **Report a problem** at the bottom
  of the Local models page.

## Rules

- Don't change ports or other settings of Ollama or LM Studio.
- Don't delete models the user already has.
- When done, tell the user which way you chose, which model, and the exact
  buttons to press in Luci.

Use it with your agent

Install the plugin. It brings every official LUCI skill and updates when we ship.

claude plugin marketplace add Memories-ai-labs/Luci-skills
claude plugin install luci-skills
View on GitHub — Memories-ai-labs/Luci-skills

This skill works best with your own memory

LUCI gives your agent the context behind the prompt.
Free on Mac & Windows. Your memory stays on your device.

New to LUCI? Read the quick start