Agent skill

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.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill huggingface --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 7 KB
Bundled scripts: none
Path: skills/ai-ml/huggingface/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Overview
  2. Quick Reference
  3. Model Naming Format
  4. Common Quantizations
  5. Pull Model from HuggingFace
  6. With Progress Tracking
  7. Simple Pull
  8. Verify Installation
  9. Show Model Details
  10. Use Imported Model
  11. Generate Text
  12. Chat Completion
  13. Delete Imported Model
  14. Popular HuggingFace Models
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
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.

Keep going