local-llm-expert
Skill by lingxling
local-llm-expert guides an AI assistant through running open-weight LLMs on local hardware, covering model selection, VRAM sizing and deployment. It is for developers who want privacy-first, offline inference with Ollama, llama.cpp, vLLM or LM Studio.
Install local-llm-expert
Built from the published package, never by AI.
git clone --depth 1 https://github.com/lingxling/awesome-skills-cn /tmp/awesome-skills-cn && mkdir -p ~/.claude/skills && cp -r /tmp/awesome-skills-cn/antigravity-awesome-skills/skills/local-llm-expert ~/.claude/skills/local-llm-expertRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/lingxling/awesome-skills-cn /tmp/awesome-skills-cn && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/awesome-skills-cn/antigravity-awesome-skills/skills/local-llm-expert ~/.gemini/antigravity-cli/skills/local-llm-expertAntigravity 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
local-llm-expert is an agent skill that gives an AI assistant guidance on running open-weight large language models on local hardware. It asks for the user's VRAM, RAM and CPU or GPU details first, then recommends a model size and quantization format such as GGUF, EXL2 or AWQ. It also covers VRAM math, context size limits and exact commands for Ollama, llama.cpp, vLLM and LM Studio.
The skill also gives chat template formats such as ChatML, Llama-3 Inst, Zephyr and Alpaca, and warns about gibberish caused by wrong templates. It stresses privacy and offline use, and it avoids pointing users to closed API services unless they ask for a hybrid setup. It is aimed at developers who want to deploy open models such as Llama 3, DeepSeek, Mistral and Qwen2 securely on their own machines. It does not cover cloud-only APIs, computer vision, traditional NLP or training from scratch.
Written from the project's SKILL.md and checked against it.
What it can do
- Hardware sizingEstimates VRAM needs from parameters, bits per weight and KV cache, and suggests context limits.
- Model and quantization adviceRecommends model size and formats such as Q4_K_M, Q5_K_M or EXL2 4.0bpw for a given GPU.
- Engine setupWrites Ollama Modelfiles and gives llama.cpp, vLLM and LM Studio deployment guidance.
- Chat templatesProvides exact prompt templates such as ChatML, Llama-3 Inst, Zephyr and Alpaca.
- OpenAI-compatible servingExplains serving open models through vLLM or Ollama with an OpenAI-compatible API.
- Inference tuningSuggests tips for num_ctx, GPU layers (-ngl) and flash attention.
What you need
- Hardware details: VRAM, RAM and CPU or GPU architecture
- One of Ollama, llama.cpp, vLLM or LM Studio
Try asking
- I have a 16GB Mac M2. How do I run Llama 3 8B locally with Ollama?
- Which quantization fits Mixtral 8x7B on my 24GB RTX 4090?
- Build a ChatML prompt wrapper for Qwen2 with a system message.
Good to know
- Not for cloud-exclusive APIs such as OpenAI or Anthropic directly
- Not for computer vision or traditional NLP
- Not for training models from scratch
- Output is no substitute for environment-specific testing or expert review
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: antigravity-awesome-skills/skills/local-llm-expert/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to local-llm-expert
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
local-llm-expert: common questions
Which inference engines does it cover?
The source names Ollama, llama.cpp, vLLM, LM Studio and GPT4All, along with GGUF, EXL2, AWQ and GPTQ formats.
Does it send requests to cloud APIs?
The source says it avoids cloud-exclusive endpoints such as OpenAI or Anthropic APIs unless a hybrid solution is explicitly requested.
What information does it need before recommending a model?
It asks for available VRAM, RAM and CPU or GPU architecture before suggesting a model size and quantization format.
How do I install local-llm-expert?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is local-llm-expert free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is local-llm-expert safe to use?
It scores 72 of 100. Grades: maintenance B, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to local-llm-expert?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
