setup-ollama-local
Skill by receptron
Guides setup of the standalone Claude Code CLI to use a local Ollama LLM on Mac. It covers Ollama install, model pull, environment variable switching, and verification. It is not for MulmoClaude, which the source says does not currently support Ollama.
Install setup-ollama-local
Built from the published package, never by AI.
git clone --depth 1 https://github.com/receptron/mulmoclaude /tmp/mulmoclaude && mkdir -p ~/.claude/skills && cp -r /tmp/mulmoclaude/.claude/skills/setup-ollama-local ~/.claude/skills/setup-ollama-localRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/receptron/mulmoclaude /tmp/mulmoclaude && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/mulmoclaude/.claude/skills/setup-ollama-local ~/.gemini/antigravity-cli/skills/setup-ollama-localAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill walks a user through connecting the standalone claude CLI to a local Ollama server on macOS. It checks that Ollama is version 0.14.0 or later and that the server is running, confirms Claude Code is installed, and recommends a model based on the user's RAM. It then covers starting Ollama with an extended 64k context window, warming up the model, and pointing Claude Code at the local server with environment variables.
The skill also explains how to switch back to cloud Claude, offers an optional shell alias so cloud usage is not affected, and lists log signals to check during a session. The source says it is for users who want to run Claude Code against a local model on a Mac. It is not for MulmoClaude, which the source says does not currently support Ollama.
Written from the project's SKILL.md and checked against it.
What it can do
- Ollama install checkChecks whether Ollama is installed and at version 0.14.0 or later, and suggests an upgrade if not.
- Server verificationChecks that the Ollama server responds on localhost port 11434 and explains how to start it.
- Claude Code install checkChecks for the claude CLI and lists npm, script and Homebrew install options.
- Model recommendationsSuggests Ollama models by RAM size, with notes on which models the source says were verified or should be avoided.
- Context window setupShows how to start Ollama with OLLAMA_CONTEXT_LENGTH=65536 for Claude Code.
- Environment variable setupSets ANTHROPIC_AUTH_TOKEN, ANTHROPIC_API_KEY and ANTHROPIC_BASE_URL to route Claude Code to Ollama.
- Log signal checksLists Ollama log lines that show whether the context size and turns are working.
- Cloud switch backExplains how to return to cloud Claude by closing the terminal or unsetting the variables.
- Optional shell aliasProvides a claude-local alias in zshrc so local and cloud usage can coexist.
What you need
- macOS (the source covers Mac only)
- Ollama v0.14.0 or later
- Claude Code CLI (claude)
- Enough RAM for a supported model, such as 32GB for the recommended models
Try asking
- Help me connect Claude Code to a local Ollama model on my Mac.
- Which Ollama model should I pull for a Mac with 32GB of RAM?
- Create a claude-local alias that uses Ollama without changing normal claude.
Good to know
- Not supported in MulmoClaude, which the source says does not currently support Ollama.
- 3B-class models cannot reliably drive Claude Code, according to the source.
- The first turn can take 10+ minutes on a MacBook Air.
- Claude Code needs a context window of at least 64k tokens.
Security check
C- Downloads a script from the internet and runs itIn
.claude/skills/setup-ollama-local/SKILL.md:curl -fsSL https://claude.ai/install.sh | sh - Allowed to use Bash without limitsIn
SKILL.md
Checked automatically: .claude/skills/setup-ollama-local/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadBashGlobGrep
Alternatives to setup-ollama-local
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
setup-ollama-local: common questions
Does this work with MulmoClaude?
No. The source says the skill is for the standalone claude CLI and that MulmoClaude does not currently support Ollama as a backend.
Which Ollama version is required?
The source says Ollama v0.14.0 or later is required, because that version added Anthropic Messages API compatibility.
Why is the first reply so slow?
The source says the first turn can take 10+ minutes on a MacBook Air. Later turns drop to 1 to 3 minutes once the KV cache is warm.
How do I install setup-ollama-local?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is setup-ollama-local free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is setup-ollama-local safe to use?
It scores 72 of 100. Grades: maintenance A, licence A, quality B. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.
What are alternatives to setup-ollama-local?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
