huggingface
Import GGUF models from HuggingFace into Ollama. Pull models directly using the hf.co/ prefix, track download progress, and use imported models for inference.
npx skills add majiayu000/claude-skill-registry --skill huggingface --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# HuggingFace Model Import ## Overview Ollama can directly pull GGUF models from HuggingFace using the `hf.co/` prefix. This enables access to thousands of quantized models beyond the official Ollama library. ## Quick Reference | Action | Syntax | |--------|--------| | Pull model | `hf.co/{org}/{repo}:{quantization}` | | List models | `ollama.list()` | | Use model | Same as any Ollama model | | Delete model | `ollama.delete("hf.co/...")` | ## Model Naming Format ``` hf.co/{organization}/{repository}-GGUF:{quantization} ``` **Examples:** ``` hf.co/NousResearch/Nous-Hermes-2-Mistral-7B-DPO-GGUF:Q4_K_M hf.co/TheBloke/Llama-2-7B-Chat-GGUF:Q4_K_M hf.co/microsoft/Phi-3-mini-4k-instruct-gguf:Q4_K_M ``` ## Common Quantizations | Quantization | Size | Quality | Use Case | |--------------|------|---------|----------| | Q2_K | Smallest | Lowest | Testing only | | Q4_K_M | Medium | Good | Recommended default | | Q5_K_M | Larger | Better | Quality-focused | | Q6_K | Large | High | Near-original quality | | Q8_0 | Largest | Highest | Maximum quality | ## Pull Model from HuggingFace ### With Progress Tracking ```python import ollama HF_MODEL = "hf.co/NousResearch/Nous-Hermes-2-Mistral-7B-DPO-GGUF
- Overview
- Quick Reference
- Model Naming Format
- Common Quantizations
- Pull Model from HuggingFace
- With Progress Tracking
- Simple Pull
- Verify Installation
- Show Model Details
- Use Imported Model
- Generate Text
- Chat Completion
- Delete Imported Model
- Popular HuggingFace Models
What does the huggingface skill do?
Import GGUF models from HuggingFace into Ollama. Pull models directly using the hf.co/ prefix, track download progress, and use imported models for inference.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill huggingface --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
