Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

huggingface-local-models

Skill by sickn33

Selects and runs local models with llama.cpp and GGUF files from the Hugging Face Hub. Built for developers running open models on CPU, Mac Metal, CUDA, or ROCm hardware.

  • Score 90
  • 51k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install huggingface-local-models

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/huggingface-local-models ~/.claude/skills/huggingface-local-models

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install huggingface-local-models in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill guides an assistant through choosing and running models locally with llama.cpp and GGUF files from the Hugging Face Hub. It covers searching for llama.cpp-compatible GGUF repos, choosing a quant, and launching the model with llama-cli or llama-server. It also covers looking up exact .gguf filenames, converting Transformers weights when no GGUF exists, and serving an OpenAI-compatible endpoint locally.

The workflow starts with a Hub search using apps=llama.cpp, then checks the model page's local-app snippet and quant recommendation. Before downloads or builds, the skill says to verify the model license, repository identity, the full commit, file hashes, and the disk and memory budget. It also says to review converter and build code as executable code and to serve on loopback by default. It is aimed at developers who want to run open models on CPU, Mac Metal, CUDA, or ROCm hardware.

Written from the project's SKILL.md and checked against it.

What it can do

  • Find GGUF reposSearch the Hub for llama.cpp-compatible GGUF model repositories.
  • Choose a quantPick a quantization level such as Q4_K_M based on the repo page and hardware budget.
  • Run with llama.cppLaunch a model with llama-cli or llama-server using -hf or a local file.
  • Look up exact GGUF filesList repo files through the Hub tree API to confirm exact .gguf filenames.
  • Convert Transformers weightsConvert a repo without GGUF files to GGUF and quantize it with llama-quantize.
  • Serve locallyRun an OpenAI-compatible local server and smoke test it with a chat request.

What you need

  • llama.cpp installed via Homebrew, winget, or a source build with CMake
  • Hugging Face account and hf auth login for gated repos
  • Enough disk space and memory for the chosen model and quant

Try asking

  • Find a GGUF model on the Hub that fits 16 GB of RAM and suggest a quant.
  • Show me the exact llama-server command to run a specific GGUF file locally.
  • Convert this Transformers repo to GGUF and quantize it to Q4_K_M.

Good to know

  • The local endpoint example has no authentication and should not be exposed to a network.
  • Shorthand -hf examples resolve moving content, so the skill asks for a pinned commit for reproducible runs.
  • Converter and build code must be reviewed before running, and trust_remote_code should not be enabled without review.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/huggingface-local-models/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md6 KB
  • references/hardware.md1 KB
  • references/hub-discovery.md5 KB
  • references/quantization.md7 KB

Alternatives to huggingface-local-models

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

huggingface-local-models: common questions

Which hardware backends does this skill cover?

The source says it covers CPU, Mac Metal, CUDA, and ROCm, with separate hardware notes for Metal, CUDA, ROCm, and CPU builds.

What does the skill recommend for quant choice?

It prefers the quant marked compatible on the Hugging Face local-app page and defaults to Q4_K_M unless the repo or hardware suggests otherwise.

Is the local server safe to expose publicly?

No. The source says to serve on loopback by default and that public serving needs authentication, TLS, request limits, and a deployment plan.

How do I install huggingface-local-models?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is huggingface-local-models free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is huggingface-local-models safe to use?

It scores 90 of 100. Grades: maintenance A, licence A, quality A. 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 huggingface-local-models?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

huggingface-local-models Install

Add to stack

Loading.