Local AI Coding Stack — AI skill for Claude Code
Scripts and configs for running Claude Code against local LLMs (Ollama, LM Studio, llama.cpp, vLLM).
How to install Local AI Coding Stack
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open renezander030/local-ai-coding-stack and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Local AI Coding Stack does
Scripts and configs for running Claude Code against local LLMs (Ollama, LM Studio, llama.cpp, vLLM). Companion to the local-LLM gist.
Alternatives in AI
- Repomix — 📦 Repomix is a powerful tool that packs your entire repository into a single, AI-friendly file 22.7k ★
- Inference Serving — ai-research-skills vLLM, SGLang, TensorRT-LLM, llama.cpp 5.4k ★
- Minuet Ai.nvim — Code completion as-you-type from popular LLMs including OpenAI, Gemini, Claude, Ollama 1.1k ★
README
local-ai-coding-stack
A growing collection of scripts, configs, and notes for running Claude Code (and other coding agents) against **local LLMs** on Apple Silicon and Linux.
Companion to the gist:
[Claude Code with local LLMs and ANTHROPIC_BASE_URL: Ollama, LM Studio, llama.cpp, vLLM](https://gist.github.com/renezander030/39249215616a095d74fe6c66b0348641)
What's here
scripts/
└── start-claude-code-local.sh — drop-in starter for Ollama + Claude Code with sane defaults (32K context, Gemma 4 26B-A4B)
More to come — LM Studio launchers, llama.cpp build presets, LiteLLM router configs, VS Code workspace settings.
Quick start
git clone https://github.com/renezander030/local-ai-coding-stack
cd local-ai-coding-stack/scripts
chmod +x start-claude-code-local.sh
./start-claude-code-local.sh
Override defaults via env:
OLLAMA_CONTEXT_LENGTH=65536 \
ANTHROPIC_DEFAULT_OPUS_MODEL=qwen3-coder \
./start-claude-code-local.sh
Recommended starting point
- Backend: Ollama (≥ v0.14.0) or LM Studio (≥ 0.4.1)
- Model:
gemma4:26b-a4b(Gemma 4 26B-A4B-it Q4) - Context: 32K on a MacBook Air, 64K on a MacBook Pro M5 Pro/Max
- Machine: 32 GB+ RAM strongly preferred
The gist has the full hardware × model × context × backend matrix and the debug flow when something breaks.
Contributing
PRs welcome for additional scripts, alternate backends, or hardware presets. Comment on the gist if you've verified a config on a different Mac/RAM/model combo.
License
MIT — see LICENSE.
Related Skills
Octoroute
Smart HTTP router for local LLMs (Ollama, LM Studio, llama.cpp). Rule-based + LLM-powered routing, health chec
Quackd
🦆🧠 Give your Microduck a brain. Tell a small robot with two legs what you want in plain language. An LLM (Cl
Lm
Point hamster's local-model slot at whatever you run — oMLX, LM Studio, Ollama, llama.cpp, or any OpenAI-compa
Expert Mentor
Turn any LLM — Claude, ChatGPT, Gemini, or a local Ollama/llama.cpp model — into a calibrated expert mentor fo
Superfluid
One serving daemon for local LLM agents: durable sessions, QoS scheduling and OpenAI, Anthropic and Ollama API
AIonDemandCluster
Spin up any open LLM on rented GPUs (vast.ai/RunPod), serve it with vLLM or llama.cpp, and drive it from Claud
Related Agents
Local Worker
Coding worker on a local model (Ollama, LM Studio, vLLM) served by the multi-model gateway's upstream. Use whe
Incident Investigator
Investigates an LLM-serving incident (vLLM or SGLang) in an isolated context. Reads long runtime logs, runs th
Delegate
Expert LLM delegation specialist that seamlessly connects to external language models including GPT-4, GPT-3.5