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.
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-modelsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install huggingface-local-models in Claude Code
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/huggingface-local-models ~/.gemini/antigravity-cli/skills/huggingface-local-modelsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install huggingface-local-models in Antigravity CLI
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
ANo 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 →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
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.
