local-llm-expert

local-llm-expert is a skill for Claude Code, Codex from hybridlabor-api/bdb-dev-optimized-agent-skills. It costs 56 tokens per session (1,509 once invoked), scanned A, original, Apache-2.0.

A guide to running large language models on your own computer using tools such as Ollama, llama.cpp, vLLM, or LM Studio.

In plain words
What is it for?
Use it to plan local AI hardware, compare compressed model formats, configure inference software, and troubleshoot prompt templates.
Why use it?
It helps choose suitable models and settings while balancing memory use, speed, hardware needs, and privacy.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to plan local AI hardware, compare compressed model formats, configure inference software, and troubleshoot prompt templates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hybridlabor-api/bdb-dev-optimized-agent-skills/local-llm-expert
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add hybridlabor-api/bdb-dev-optimized-agent-skills --skill local-llm-expert
Clone the repo
git clone --depth 1 https://github.com/hybridlabor-api/bdb-dev-optimized-agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for local-llm-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/hybridlabor-api/bdb-dev-optimized-agent-skills/local-llm-expert/github.svg)](https://agentmods.dev/skills/hybridlabor-api/bdb-dev-optimized-agent-skills/local-llm-expert)
Your own site
<a href="https://agentmods.dev/skills/hybridlabor-api/bdb-dev-optimized-agent-skills/local-llm-expert"><img src="https://agentmods.dev/badge/skills/hybridlabor-api/bdb-dev-optimized-agent-skills/local-llm-expert/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for local-llm-expert

Your own site · 80×15
<a href="https://agentmods.dev/skills/hybridlabor-api/bdb-dev-optimized-agent-skills/local-llm-expert"><img src="https://agentmods.dev/badge/skills/hybridlabor-api/bdb-dev-optimized-agent-skills/local-llm-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,509 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00056 $0.01509
Opus 5 $0.00028 $0.00754
Sonnet 5 $0.00011 $0.00302
Haiku 4.5 $0.00006 $0.00151

Measured 6d ago against content hash d13fb4eb0889, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

local-llm-expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/global_config/local-llm-expert/SKILL.md · 89 lines

How it starts

The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are an expert AI engineer specializing in local Large Language Model (LLM) inference, open-weight models, and privacy-first AI deployment. Your domain covers the entire local AI ecosystem from 2024/2025.

Purpose

Expert AI systems engineer mastering local LLM deployment, hardware optimization, and model selection. Deep knowledge of inference engines (Ollama, vLLM, llama.cpp), efficient quantization formats (GGUF, EXL2, AWQ), and VRAM calculation. You help developers run state-of-the-art models (like Llama 3, DeepSeek, Mistral) securely on local hardware.

Use this skill when

  • Planning hardware requirements (VRAM, RAM) for local LLM deployment
  • Comparing quantization formats (GGUF, EXL2, AWQ, GPTQ) for efficiency
  • Configuring local inference engines like Ollama, llama.cpp, or vLLM
  • Troubleshooting prompt templates (ChatML, Zephyr, Llama-3 Inst)
  • Designing privacy-first offline AI applications

Do not use this skill when

  • Implementing cloud-exclusive endpoints (OpenAI, Anthropic API directly)
  • You need help with non-LLM machine learning (Computer Vision, traditional NLP)
  • Training models from scratch (focus on inference and fine-tuning deployment)

Instructions

  1. First, confirm the user's available hardware (VRAM, RAM, CPU/GPU architecture).
  2. Recommend the optimal model size and quantization format that fits their constraints.
  3. Provide the exact commands to run the chosen model using the preferred inference engine (Ollama, llama.cpp, etc.).
  4. Supply the correct system prompt and chat template required by the specific model.
  5. Emphasize privacy and offline capabilities when discussing architecture.

Capabilities

Inference Engines

  • Ollama: Expert in writing Modelfiles, customizing system prompts, parameters (temperature, num_ctx), and managing local models via CLI.
  • llama.cpp: High-performance inference on CPU/GPU. Mastering command-line arguments (-ngl, -c, -m), and compiling with specific backends (CUDA, Metal, Vulkan).
  • vLLM: Serving models at scale. PagedAttention, continuous batching, and setting up an OpenAI-compatible API server on multi-GPU setups.
  • LM Studio & GPT4All: Guiding users on deploying via UI-based platforms for quick offline deployment and API access.

Read the full file on GitHub · 89 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 89 lines · 56 tokens per session scan A d13fb4eb0889

Subscribe to this mod's changes

local-llm-expert is a skill published in the GitHub repository hybridlabor-api/bdb-dev-optimized-agent-skills (6 stars, last pushed 5d ago), licensed Apache-2.0. It adds 56 tokens to every session and 1,509 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

spark-environment-setup

Set up a working ML training/inference environment on NVIDIA DGX Spark (GB10, aarch64, CUDA 13). Use when installing PyTorch/Unsloth/TRL/vLLM on DGX Spark, hitting libcudart or wheel-ABI errors on aarch64, or choosing between NGC containers and bare pip installs.

wshobson/agents · 76 tokens

spark-memory-thermal-ops

Manage unified memory and thermals during long-running ML jobs on NVIDIA DGX Spark. Use when planning memory headroom for a training run on GB10, when a job OOMs on unified memory, or when monitoring temperature and power during multi-hour training.

wshobson/agents · 59 tokens

amc-run-rtsp-calibration

Calibrate a new dataset from live RTSP camera streams via the AutoMagicCalib REST API. Use when the user provides RTSP URLs or asks to calibrate live cameras; VIOS records clips, AMC ingests them, then runs calibration.

NVIDIA/skills · 59 tokens

deepstream-generate-pipeline

Build DeepStream GStreamer pipelines interactively. Use when the user asks about pipelines for video/image inference, detection, tracking, or streaming — including natural phrases like 'pipeline to infer on image', 'run inference on video', 'detect objects in stream', 'save inference output', 'deepstream pipeline'…

NVIDIA/skills · 108 tokens

deepstream-import-vision-model

Use this skill to bring a supported object-detection vision model from HuggingFace or NVIDIA NGC into an NVIDIA DeepStream pipeline with end-to-end automation: ONNX download, SafeTensors export, TRT engine build, custom nvinfer bbox parser, multi-stream benchmark, and PDF report. Object detection models only.

NVIDIA/skills · 72 tokens

jetson-inference-mem-tune

Pick the serving stack and per-runtime memory flags (vLLM, SGLang, llama.cpp, TensorRT Edge-LLM) for an LLM/VLM workload on any NVIDIA Jetson.

NVIDIA/skills · 50 tokens