MyClaw
HomeProductsUse CasesPricingSkillsResourcesCompany
HomeUse CasesPricingSkills
Sign In
Home
ProductsOpenClaw HostingHermes Agent Hosting
Use CasesPricingSkills
ResourcesCompareTutorialLearnBlogUpdatesResourcesCommunity
CompanyAboutSupport
Sign In
MyClaw.ai

Your AI agent, already running.

Product

OpenClaw HostingHermes Agent HostingUse CasesPricingCompareAlibaba Cloud

Resources

BlogUpdatesSkillsModelsSupportCommunityCapybara

Legal

TermsPrivacyCookieGDPRContact

© 2023 Cubo World Inc. All rights reserved.

← Back to Skills
AI & LLMs
🦙

Llama.cpp GGUF

Run local GGUF models with llama.cpp on any hardware — CPU, Apple Silicon, CUDA, ROCm, or Intel GPU — and discover models on Hugging Face Hub.

by NousResearchv1.0.0
Connecting to VM...
Connecting to VM...
npx clawhub@latest install llama-cpp
896Stars
1.7kDownloads
1Current Installs
📦
v1.0.0Version
View Source

Llama.cpp GGUF Skill Overview

The llama.cpp skill gives your assistant deep expertise in local GGUF inference and Hugging Face model discovery. It finds the right model and quantization for your hardware, generates exact launch commands, and supports both CLI and Python workflows — letting you run open-weight LLMs on CPU, Apple Silicon, CUDA, ROCm, or Intel GPUs without any cloud dependency.

How to Use It

Step 1: Run in your terminal or install this skill on MyClaw

npx clawhub@latest install llama-cpp
or

Click the Install button at the top of this page for one-click setup

When to Use Llama.cpp GGUF

Best Fit

  • You want to run an open-weight LLM locally and need help picking the right GGUF quantization for your RAM or VRAM.
  • You are searching the Hugging Face Hub for llama.cpp-compatible models and want exact filenames and launch commands.
  • You are building a local OpenAI-compatible server with llama-server for app development or private inference.
  • You need Python integration via llama-cpp-python for generation, chat, streaming, or embeddings.

When Not to Use

  • You are working exclusively with cloud-hosted model APIs (OpenAI, Anthropic, etc.) and have no interest in local inference.
  • Your hardware has less than ~4 GB of available RAM, making even the smallest GGUF quantizations impractical.

Key Features

URL-first Hugging Face Hub Discovery

Searches and reads HF model pages directly using structured URL patterns, extracting hardware-specific quant recommendations from the ?local-app=llama.cpp view before falling back to generic guidance.

Exact GGUF File Enumeration

Queries the HF tree API to list every .gguf file in a repo with exact filename, byte size, and quant label. Separates main model checkpoints from multimodal projector files and BF16 shards.

Ready-to-Run Command Generation

Produces complete llama-server and llama-cli commands using -hf shorthand or explicit --hf-repo/--hf-file flags. Commands are tailored to the confirmed files in the repo, not generic templates.

Hardware-Aware Quantization Guidance

Recommends Q4/Q5/Q6/IQ quant variants based on the user's available memory and task type. Preserves repo-native labels (e.g. UD-Q4_K_M) rather than normalizing them.

Python Bindings Integration

Provides llama-cpp-python code snippets for basic generation, chat completion with streaming, and embeddings — including GPU build flags for CUDA (GGML_CUDA) and Metal (GGML_METAL).

OpenAI-Compatible Local Server

Supports launching llama-server as a drop-in OpenAI API endpoint, enabling local chat completions for app prototyping without any external API keys or cloud costs.

Use Cases

Local Private Inference

Run open-weight models entirely on your own hardware. The skill finds a suitable GGUF, confirms it exists in the repo, and gives you the exact command to start serving it — no API keys, no data leaving your machine.

Model Selection by Hardware Budget

Given a hardware profile (e.g. "16 GB unified memory M2"), the skill reads the HF local-app page and tree API to recommend the best quantization and report the exact file size before you download anything.

Prototype with a Local OpenAI API

Spin up llama-server and point your existing OpenAI-SDK code at http://localhost:8080 to develop and test against a local model before committing to a cloud API.

Multimodal Model Setup

For vision-language repos, the skill separately identifies the main GGUF and the mmproj-*.gguf projector file, providing the correct combined launch command for multimodal inference.

Requirements

  • llama.cpp binary (llama-server, llama-cli) installed via Homebrew, winget, or built from source
  • llama-cpp-python >= 0.2.0 for Python binding workflows
  • Internet access to query the Hugging Face Hub (model search, local-app pages, tree API)
  • Sufficient RAM/VRAM for the target GGUF quantization (minimum ~4 GB for the smallest quants)
Connecting to VM...
npx clawhub@latest install llama-cpp
896Stars
1.7kDownloads
1Current Installs
📦
v1.0.0Version
View Source

Reviews

0 reviews

Log in to write a review

No reviews yet. Be the first to share your experience!