huggingface-local-models

huggingface-local-models is a skill for Claude Code from waybarrios/opencode-power-pack. It costs 59 tokens per session (1,113 once invoked), scanned A, original, MIT.

A guide to finding and running open-source AI models on your own computer using llama.cpp, a program for local model execution, and GGUF, a model file format.

In plain words
What is it for?
Use it to search Hugging Face, identify exact GGUF files, choose CPU or GPU settings, convert model files when needed, and run an OpenAI-compatible local model service.
Why use it?
It removes the guesswork around finding compatible model files, choosing a size that fits your hardware, and starting a local server.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the opencode-power-pack plugin — 55 skills shipped together

Good fit Use it to search Hugging Face, identify exact GGUF files, choose CPU or GPU settings, convert model files when needed, and run an OpenAI-compatible local model service.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/waybarrios/opencode-power-pack/huggingface-local-models
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 waybarrios/opencode-power-pack --skill huggingface-local-models
Clone the repo
git clone --depth 1 https://github.com/waybarrios/opencode-power-pack

Made for: Claude Code.

Or install opencode-power-pack, the plugin that ships this one along with the rest of its 55 skills.

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 huggingface-local-models

README.md
[![agentmods](https://agentmods.dev/badge/skills/waybarrios/opencode-power-pack/huggingface-local-models/github.svg)](https://agentmods.dev/skills/waybarrios/opencode-power-pack/huggingface-local-models)
Your own site
<a href="https://agentmods.dev/skills/waybarrios/opencode-power-pack/huggingface-local-models"><img src="https://agentmods.dev/badge/skills/waybarrios/opencode-power-pack/huggingface-local-models/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 huggingface-local-models

Your own site · 80×15
<a href="https://agentmods.dev/skills/waybarrios/opencode-power-pack/huggingface-local-models"><img src="https://agentmods.dev/badge/skills/waybarrios/opencode-power-pack/huggingface-local-models.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,113 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00059 $0.01113
Opus 5.5 $0.00024 $0.00445
Sonnet 5.5 $0.00012 $0.00223
Haiku 4.5 $0.00006 $0.00111

Measured 3mo ago against content hash 364c17e5e12f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

huggingface-local-models scanned grade A with 1 finding 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 3mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl http://localhost:8080/v1/chat/completions \
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/huggingface-local-models/SKILL.md · 113 lines

How it starts

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

Hugging Face Local Models

Search the Hugging Face Hub for llama.cpp-compatible GGUF repos, choose the right quant, and launch the model with llama-cli or llama-server.

Default Workflow

  1. Search the Hub with apps=llama.cpp.
  2. Open https://huggingface.co/<repo>?local-app=llama.cpp.
  3. Prefer the exact HF local-app snippet and quant recommendation when it is visible.
  4. Confirm exact .gguf filenames with https://huggingface.co/api/models/<repo>/tree/main?recursive=true.
  5. Launch with llama-cli -hf <repo>:<QUANT> or llama-server -hf <repo>:<QUANT>.
  6. Fall back to --hf-repo plus --hf-file when the repo uses custom file naming.
  7. Convert from Transformers weights only if the repo does not already expose GGUF files.

Quick Start

Install llama.cpp

brew install llama.cpp
winget install llama.cpp
git clone https://github.com/ggml-org/llama.cpp
cd llama.cpp
make

Authenticate for gated repos

hf auth login

Search the Hub

https://huggingface.co/models?apps=llama.cpp&sort=trending
https://huggingface.co/models?search=Qwen3.6&apps=llama.cpp&sort=trending
https://huggingface.co/models?search=<term>&apps=llama.cpp&num_parameters=min:0,max:24B&sort=trending

Run directly from the Hub

llama-cli -hf unsloth/Qwen3.6-35B-A3B-GGUF:UD-Q4_K_M
llama-server -hf unsloth/Qwen3.6-35B-A3B-GGUF:UD-Q4_K_M

Run an exact GGUF file

llama-server \
    --hf-repo unsloth/Qwen3.6-35B-A3B-GGUF \
    --hf-file Qwen3.6-35B-A3B-UD-Q4_K_M.gguf \
    -c 4096

Convert only when no GGUF is available

hf download <repo-without-gguf> --local-dir ./model-src
python convert_hf_to_gguf.py ./model-src \
    --outfile model-f16.gguf \
    --outtype f16
llama-quantize model-f16.gguf model-q4_k_m.gguf Q4_K_M

Smoke test a local server

With llama-server running (as started above), verify it responds:

curl http://localhost:8080/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer no-key" \
  -d '{
    "messages": [
      {"role": "user", "content": "Write a limerick about exception handling"}
    ]
  }'

Read the full file on GitHub · 113 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3mo ago First seen · 113 lines · 59 tokens per session scan A 364c17e5e12f

Subscribe to this mod's changes

huggingface-local-models is a skill published in the GitHub repository waybarrios/opencode-power-pack (562 stars, last pushed 7d ago), licensed MIT. It adds 59 tokens to every session and 1,113 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

huggingface-local-models compared with skills from other repositories

huggingface-local-models next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
huggingface-local-modelswaybarrios/opencode-power-packSkill5627d agoMITA59Claude Code
plugin-auditbuild-with-dhiraj/ai-workflow-framework-portability-kitSkill51mo agoMITA62Claude Code
pith-reviewabhisekjha/pithSkill986mo agoMITA37Claude Code
vercel-agentbuild-with-dhiraj/ai-workflow-framework-portability-kitSkill51mo agoMITA43Claude Code
react-best-practicesbuild-with-dhiraj/ai-workflow-framework-portability-kitSkill51mo agoMITA47Claude Code
improve-codebase-architecturebuild-with-dhiraj/ai-workflow-framework-portability-kitSkill51mo agoMITA38Claude Code, Codex
code-review-excellencebuild-with-dhiraj/ai-workflow-framework-portability-kitSkill51mo agoMITA27Claude Code, Codex