local-llm-ops
Original:🇺🇸 English
Translated
Local LLM operations with Ollama on Apple Silicon, including setup, model pulls, chat launchers, benchmarks, and diagnostics.
28installs
Added on
NPX Install
npx skill4agent add bobmatnyc/claude-mpm-skills local-llm-opsTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Local LLM Ops (Ollama)
Overview
Your repo provides a full local LLM toolchain on Apple Silicon: setup scripts, a rich CLI chat launcher, benchmarks, and diagnostics. The operational path is: install Ollama, ensure the service is running, initialize the venv, pull models, then launch chat or benchmarks.
localLLMQuick Start
bash
./setup_chatbot.sh
./chatllmIf no models are present:
bash
ollama pull mistralSetup Checklist
- Install Ollama:
brew install ollama - Start the service:
brew services start ollama - Run setup:
./setup_chatbot.sh - Verify service:
curl http://localhost:11434/api/version
Chat Launchers
- (primary launcher)
./chatllm - or
./chat(alternate launchers)./chat.py - Aliases: then
./install_aliases.sh,llm,llm-codellm-fast
Task modes:
bash
./chat -t coding -m codellama:70b
./chat -t creative -m llama3.1:70b
./chat -t analyticalBenchmark Workflow
Benchmarks are scripted in :
scripts/run_benchmarks.shbash
./scripts/run_benchmarks.shThis runs with:
bench_ollama.pybenchmarks/prompts.yamlbenchmarks/models.yaml- Multiple runs and max token limits
Diagnostics
Run the built-in diagnostic script when setup fails:
bash
./diagnose.shCommon fixes:
- Re-run
./setup_chatbot.sh - Ensure is in PATH
ollama - Pull at least one model:
ollama pull mistral
Operational Notes
- Virtualenv lives in
.venv - Chat configs and sessions live under
~/.localllm/ - Ollama API runs at
http://localhost:11434
Related Skills
toolchains/universal/infrastructure/docker