/local-ai:local-ai-setupfrom Local AI
Guides users from zero to a working local AI setup by scanning their machine, asking what they need, recommending a model and app, and installing with approval. Also configures Claude Code to use the local model. Non-technical entry point that never installs without showing download sizes first.
Ships in Local AI. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The front door. Takes someone with no local AI setup to a working one, in one pass, without making them choose between tools they cannot evaluate yet.
Do not make the user pick a sub-skill. Run the flow.
Run the check in references/environment-check.md first. These skills need a shell on the user's own machine. If the environment is a sandbox or container, stop and tell the user to run this in Claude Code on the computer they want to set up. Do not report detected specs from a sandbox: wrong specs are worse than none.
Track progress:
Task Progress:
- [ ] 1. Scan
- [ ] 2. Ask what it is for
- [ ] 3. Recommend, with sizes
- [ ] 3b. Offer the browser choice, if one applies
- [ ] 4. Confirm
- [ ] 5. Install
- [ ] 6. Prove it and hand over
- [ ] 6b. Offer Claude Code on the local model, if it applies
- [ ] 7. Render the handover report
Invoke scan-my-machine. Report what the machine can run in plain language. Nothing is installed at this step, so say that.
Invoke pick-my-harness to ask its four questions. If the user already said what they want in their opening message, pass that through rather than re-asking.
Combine both results into one recommendation: one model, one app, the total download in gigabytes, and roughly how long it will take. One option, not a menu. Say in one line what this setup will not do, so the limit is known before they commit.
Only when step 3 landed on a browser-based harness, meaning Open WebUI or Odysseus. Skip this entirely for LM Studio, Goose, AnythingLLM and OpenWork: those are not interchangeable with anything and a question there is noise.
The two are genuinely close. Both run in a browser, both have a real login, both sit on Ollama, and allow-team tunnels either one. So ask rather than decide, using an AskUserQuestion with two options:
Default to Open WebUI. If the user does not care or does not answer, take Open WebUI and say so rather than asking twice.
Name the one real trade-off in a line each: Open WebUI's branding clause applies above 50 users, and Odysseus is AGPL, so modifying it and serving it over a network obliges you to publish your changes. Do not turn this into a licence lecture.
Stop. Wait for an explicit yes. Nothing has been installed or downloaded up to this point, and the user should be told that plainly.
If they say no, offer the smaller option (a lighter model, or LM Studio alone) and re-confirm.
Check first, install second. If the chosen app is already present and serving, do not reinstall it; say it is already there and move to step 6. references/install-odysseus.md section 1 and install-openwebui's preflight both do this check.
Route by the chosen app:
| App | Do this |
|---|---|
| Open WebUI | Invoke install-openwebui |
| Odysseus | Read references/install-odysseus.md |
| LM Studio | Read references/install-other.md |
| Goose | Read references/install-other.md |
| AnythingLLM | Read references/install-other.md |
| OpenWork | Read references/install-other.md |
Send one real prompt through the finished setup and show the reply. An HTTP 200 is not proof.
Then give the user: the URL or app to open, how to restart it later, and the one thing most likely to confuse them next, from references/handover.md. Stop there. Do not keep configuring.
The chat window is the deliverable and it is finished. This is a separate offer on top of it, so make it an offer and not a step the user is walked through by default.
Two conditions, both required. The backend is Ollama, on its own or under Open WebUI or Odysseus, because Ollama serves the Anthropic Messages API and the others do not. And the installed model is roughly 7B or larger, because Claude Code is a tool calling agent and a smaller model returns confident fabrications instead of tool calls. If either fails, skip this silently rather than explaining what the user cannot have.
When both hold, ask in one line whether they also want Claude Code running on this model, saying plainly that it is slower and less capable than the hosted one and the win is privacy, offline work and no per token cost. On a yes, read references/claude-code-wiring.md and follow it.
What the user gets is a three line block they paste in order, ending in ollama launch claude --model <their model>, not a wall of environment variables. Ollama configures and starts Claude Code itself, and it does not touch the user's ~/.claude/settings.json, which means there is almost nothing to undo. The manual export block is in section 5 of that file as a fallback, not the default.
Read that file before touching anything, because launch on its own does not cover the one gate that decides the outcome. Ollama sizes its default context from available memory, so a machine under 24 GB gets 4,096 tokens, Claude Code's prompt is far larger, and Ollama truncates instead of refusing. Both launch paths then return fluent invented answers with exit code 0 and no error anywhere. That is why the server line carrying OLLAMA_CONTEXT_LENGTH and OLLAMA_NUM_PARALLEL=1 is part of the block the user keeps, not a one time fix, and why a 200 from the endpoint is not proof.
Prove the whole block, in order, as section 7 specifies: the headless launch must return the sentinel and the server log must show zero truncating input prompt lines at the n_ctx that was asked for. Both signals or it is not a pass. Then hand over the block itself, and the way back to the hosted model.
If the machine is too small for a useful local model, do not ship a disappointment. Section 4 carries the cloud option, ollama launch claude --model qwen3.5:cloud, along with the line the user needs to hear: that route is no longer local or private.
Deliver the final handover as a rendered HTML page, not as chat text. Build it from references/report-template.md using the setup layout in section 4. Roll up the scan result, the chosen app, the real prompt and reply, the restart command, and the pre-empted confusions from references/handover.md. Save it to the Desktop and open it.
If step 6b ran and passed, add its card to the page, as specified in the setup layout. Do not add the card on the strength of the command being correct: it goes on the page only after the headless launch returned the sentinel and the server log showed zero truncation.
ollama serve to apply the context variables interrupts anything already using it, including a chat window this skill just set up, so say that and get a yes first. ollama launch claude needs no config file, so do not volunteer one: never write ~/.claude/settings.json or a shell profile without asking, because either one makes the local model the default for work the user expects the hosted Claude to do.This skill is never finished. Improve it as you use it.
references/report-template.md proves unclear for a real result, fix the layout there rather than working around it in chat.references/install-other.md, or references/install-odysseus.md for Odysseus.pick-my-harness's matrix, so both skills say the same thing./v1/messages, when ollama launch changes its flags or starts handling the context itself, or when a Claude Code variable in the manual block changes, fix references/claude-code-wiring.md sections 1, 2, 3 and 5 and record the Ollama version it was verified against. Never widen that table on a release note alone: run the curl and the headless launch test first, and check the log for truncation.references/handover.md.references/examples/ as a model.| Step | Reference |
|---|---|
| before all steps | references/environment-check.md |
| 1 | skill scan-my-machine |
| 2 | skill pick-my-harness |
| 3b | this file, browser choice |
| 5, Open WebUI | skill install-openwebui |
| 5, Odysseus | references/install-odysseus.md |
| 5, other apps | references/install-other.md |
| 6 | references/handover.md |
| 6b | references/claude-code-wiring.md |
| 7 | references/report-template.md |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
local-ai, ollama, open-webui, odysseus, lm-studio, goose, anythingllm, openwork
npx claudepluginhub benaios/skills --plugin local-ai6 skills in this plugin
/allow-teamPuts a running Open WebUI or Odysseus on a shareable public URL through an ngrok tunnel, so a teammate can sign in and use the local models without installing anything. Use when the user says "share Open WebUI with my team", "share Odysseus with my team", "let my colleague use my local AI", "expose Open WebUI", "share localhost:8080", "share localhost:7860", "give someone access to my models", "set up an ngrok tunnel", "make my local AI reachable from another machine", or asks how to let someone else try their setup. Checks the harness's own login is on and enforced before it opens anything, installs ngrok if missing, then proves the URL works from outside. Requires Claude Code with shell access on the user's own machine; refuses to run in a sandbox./install-openwebuiInstalls and wires up Open WebUI end to end, so a non-technical user gets a working local AI chat in the browser instead of setup instructions. Use when the user says "install Open WebUI", "set up Open WebUI", "get Open WebUI running", "connect Open WebUI to Ollama", "Open WebUI shows no models", "localhost:8080 refused to connect", "does not support tools", or asks for help finishing a local AI setup. Installs Ollama if missing, pulls a model that fits, starts the server, connects them, and proves it works with a real reply. Requires Claude Code with shell access on the user's own machine; refuses to run in a sandbox./pick-my-harnessAsks a few plain questions about the work, then names the one desktop app to run local AI models in, from LM Studio, Goose, Open WebUI, AnythingLLM, OpenWork or Odysseus. Use when the user asks "which app should I use for local AI", "LM Studio or Ollama", "what is the best local AI interface", "do I need Open WebUI", "Open WebUI or Odysseus", "which one supports MCP", "which supports skills", "pick a harness for me", or is comparing local AI desktop apps. Names one tool and states what it cannot do. Never installs anything. Requires Claude Code with shell access on the user's own machine; refuses to run in a sandbox./rented-server-setupRuns an open model in the cloud two ways, and makes the user choose with real numbers. Route A is OVHcloud AI Endpoints, an EU-owned per-token API with zero idle cost, for spiky usage and EU jurisdiction. Route B rents one single-tenant RunPod GPU pod in a region the user picks, serving the model on vLLM behind a generated API key, with Open WebUI behind its own login and a URL Claude Code can use directly, for sustained use, unlisted models, or single tenancy. Use when the user says "rent a GPU", "run a big model in the cloud", "my machine cannot run this model", "deploy an open model", "host Qwen or DeepSeek or GLM myself", "put Open WebUI online", "give my team a private ChatGPT", "private AI for my business", "GDPR compliant LLM hosting", "data must stay in the EU", "EU AI API", "pay per token", "OVHcloud", "AI Endpoints", "RunPod", or "cloud GPU". Asks which build fits, never picks a region, and always shows cost before spending. Requires shell and internet access; refuses to run in a sandbox./scan-my-machineScans the user's actual hardware and tells them exactly which local AI models they can run, by name, with expected speed. Use when the user asks "what models can my computer run", "can I run a local LLM", "how much VRAM do I have", "which model should I download", "is my Mac good enough for local AI", "scan my machine", or shares hardware specs and asks what fits. Reads real memory and GPU rather than asking the user to know their own specs. Never installs anything. Requires Claude Code with shell access on the user's own machine; refuses to run in a sandbox.2 plugins ship this exact skill · first indexed Sep 18, 2026
Other plugins' skills for the same job