Litellm
magnus919/agent-skills
Operate, configure, secure, and troubleshoot the LiteLLM AI gateway (proxy) and Python SDK: run the proxy (litellm --config), route to 100+ providers through one OpenAI-compatible API, configure…
Run quantized LLMs locally with llama.cpp — CPU+GPU inference, GGUF format, OpenAI-compatible server, and Python bindings.
$ npx skills add AlexAI-MCP/hermes-CCC --skill llama-cpp -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install AlexAI-MCP/hermes-CCC llama-cpp --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/AlexAI-MCP/hermes-CCC.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/llama-cpp .claude/skills/llama-cpp && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "llama-cpp" agent skill from https://github.com/AlexAI-MCP/hermes-CCC/tree/master/skills/llama-cpp into .claude/skills/llama-cpp/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "llama-cpp", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/AlexAI-MCP/hermes-CCC/tree/master/skills/llama-cppType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add AlexAI-MCP/hermes-CCC --skill llama-cpp -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install AlexAI-MCP/hermes-CCC llama-cpp --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AlexAI-MCP/hermes-CCC.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/llama-cpp .agents/skills/llama-cpp && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "llama-cpp" agent skill from https://github.com/AlexAI-MCP/hermes-CCC/tree/master/skills/llama-cpp into .agents/skills/llama-cpp/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "llama-cpp", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add AlexAI-MCP/hermes-CCC --skill llama-cpp -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install AlexAI-MCP/hermes-CCC llama-cpp --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AlexAI-MCP/hermes-CCC.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/llama-cpp .cursor/skills/llama-cpp && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "llama-cpp" agent skill from https://github.com/AlexAI-MCP/hermes-CCC/tree/master/skills/llama-cpp into .cursor/skills/llama-cpp/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "llama-cpp", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/AlexAI-MCP/hermes-CCC.git --path skills/llama-cpp--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add AlexAI-MCP/hermes-CCC --skill llama-cpp -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install AlexAI-MCP/hermes-CCC llama-cpp --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AlexAI-MCP/hermes-CCC.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/llama-cpp .gemini/skills/llama-cpp && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "llama-cpp" agent skill from https://github.com/AlexAI-MCP/hermes-CCC/tree/master/skills/llama-cpp into .gemini/skills/llama-cpp/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "llama-cpp", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install AlexAI-MCP/hermes-CCC llama-cppInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add AlexAI-MCP/hermes-CCC --skill llama-cpp -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/AlexAI-MCP/hermes-CCC.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/llama-cpp .github/skills/llama-cpp && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "llama-cpp" agent skill from https://github.com/AlexAI-MCP/hermes-CCC/tree/master/skills/llama-cpp into .github/skills/llama-cpp/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "llama-cpp", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add AlexAI-MCP/hermes-CCC --skill llama-cpp -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install AlexAI-MCP/hermes-CCC llama-cpp --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AlexAI-MCP/hermes-CCC.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/llama-cpp .opencode/skills/llama-cpp && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "llama-cpp" agent skill from https://github.com/AlexAI-MCP/hermes-CCC/tree/master/skills/llama-cpp into .opencode/skills/llama-cpp/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "llama-cpp", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
llama-cppRun quantized LLMs locally with llama.cpp — CPU+GPU inference, GGUF format, OpenAI-compatible server, and Python bindings.
Llama Cpp is an agent skill from AlexAI-MCP/hermes-CCC. Run quantized LLMs locally with llama.cpp — CPU+GPU inference, GGUF format, OpenAI-compatible server, and Python bindings.
Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in AI & LLM Engineering, covering LLM inference and serving. It works with llama.cpp, Python and OpenAI. The repository describes itself as: Hermes Agent ported to Claude Code Channel — 46 native skills, no OAuth, no external process. The licence is MIT.
Read from SKILL.md and the folder at commit 8107e89. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
pythonpipFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Llama Cpp loads about 2.3k tokens when it runs. Until then it costs about 33 tokens; SKILL.md has 867 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from AlexAI-MCP/hermes-CCC at commit 8107e89, republished under its MIT licence (© AlexAI-MCP). 867 words, ~2,334 tokens.
.claude/skills/llama-cpp/SKILL.md (or your agent's skills folder).llama.cpp is especially useful for CPU-first deployments, low-cost GPU offload, and offline workflows.llama-cpp-python.pip install llama-cpp-pythonpython -c "from llama_cpp import Llama; print('ok')"llama.cpp primarily uses the GGUF model format.Hugging Face is the standard source for GGUF checkpoints.
Common repos include:
bartowski/*
TheBloke/*
Typical examples:
bartowski/Llama-3.1-8B-Instruct-GGUF
TheBloke/Mistral-7B-Instruct-v0.2-GGUF
bartowski/Qwen2.5-7B-Instruct-GGUF
Store the downloaded file locally, for example:
models/llama-3.1-8b-instruct-q4_k_m.gguf
Q4_K_M: best balance for many local deployments
Q5_K_M: more quality, more RAM or VRAM
Q8_0: highest quality among common quantized options
Q2_K: very small, but quality drops sharply
Start with Q4_K_M unless you already know the task is quality-sensitive.
Move to Q5_K_M or Q8_0 for coding, reasoning, or long-form generation where quality matters more.
Use Q2_K only for extreme memory constraints or experiments.
from llama_cpp import Llama
llm = Llama(
model_path="models/llama-3.1-8b-instruct-q4_k_m.gguf",
n_ctx=8192,
n_threads=8,
n_gpu_layers=0,
)
output = llm(
"Explain why GGUF is useful for local inference.",
max_tokens=256,
temperature=0.7,
)
print(output["choices"][0]["text"])model_path: path to the .gguf file on disk
n_gpu_layers: number of transformer layers to offload to GPU
n_ctx: context size, constrained by the model and available memory
n_threads: CPU worker threads for prompt processing and generation
These four parameters are the first tuning knobs to adjust for almost every deployment.
model_path on a local SSD when possible.n_threads close to the number of performant CPU cores, not necessarily total logical threads.n_ctx only after checking memory pressure.n_gpu_layers gradually if the model fails to load or performance is unstable.result = llm(
"Write a short checklist for running a local LLM service.",
max_tokens=256,
temperature=0.7,
)print(result["choices"][0]["text"])max_tokens bounded for interactive usage.from llama_cpp import Llama
llm = Llama(
model_path="models/qwen2.5-7b-instruct-q4_k_m.gguf",
n_ctx=8192,
n_gpu_layers=20,
n_threads=8,
)
response = llm.create_chat_completion(
messages=[
{"role": "system", "content": "You are concise and technical."},
{"role": "user", "content": "List three tradeoffs of 4-bit quantization."},
],
max_tokens=256,
temperature=0.4,
)
print(response["choices"][0]["message"]["content"])stream = llm.create_chat_completion(
messages=[
{"role": "system", "content": "You are concise."},
{"role": "user", "content": "Describe GPU offload in llama.cpp."},
],
max_tokens=128,
temperature=0.3,
stream=True,
)
for chunk in stream:
delta = chunk["choices"][0].get("delta", {})
text = delta.get("content")
if text:
print(text, end="", flush=True)n_gpu_layers=-1 means full GPU offload when supported by the backend and hardware.N layers:llm = Llama(
model_path="models/mistral-7b-instruct-q5_k_m.gguf",
n_ctx=8192,
n_threads=8,
n_gpu_layers=-1,
)20, 30, or 40.from llama_cpp import Llama
llm = Llama(
model_path="models/phi-3-mini-q4_k_m.gguf",
n_ctx=4096,
n_threads=12,
n_gpu_layers=0,
)n_ctx controls the context window in tokens.4096 or 8192.n_ctx values can degrade throughput significantly.llama-cpp-python includes a server mode:python -m llama_cpp.server --model model.ggufpython -m llama_cpp.server \
--model models/llama-3.1-8b-instruct-q4_k_m.gguf \
--host 0.0.0.0 \
--port 8000 \
--n_ctx 8192from openai import OpenAI
client = OpenAI(
api_key="dummy",
base_url="http://localhost:8000/v1",
)
resp = client.chat.completions.create(
model="local-model",
messages=[
{"role": "system", "content": "You are concise."},
{"role": "user", "content": "Summarize Q4_K_M vs Q8_0."},
],
max_tokens=128,
)
print(resp.choices[0].message.content)Build from source when:
you need CUDA acceleration not available in your wheel
you want Metal on macOS
you need a specific compiler or backend flag
you are packaging for a controlled deployment target
Source builds take more effort but often deliver better hardware utilization.
Llama
Qwen
Mistral
Phi
Gemma
Check the prompt format and tokenizer notes for each family before deploying.
Model will not load:
verify model_path
verify the file is a GGUF checkpoint
verify the quantization is supported by your build
Very slow generation:
increase n_threads
enable GPU offload
reduce n_ctx
use a smaller model
Out-of-memory:
reduce n_ctx
choose Q4_K_M instead of Q8_0
reduce n_gpu_layers or use CPU-only mode
Bad chat formatting:
use create_chat_completion
verify the checkpoint is instruct-tuned
check whether the model expects a specific chat template
pip install llama-cpp-pythonfrom llama_cpp import Llamamodel_path, n_gpu_layers, n_ctx, n_threadsllm("prompt", max_tokens=256, temperature=0.7)llm.create_chat_completion(messages=[...])python -m llama_cpp.server --model model.ggufQ4_K_Mn_gpu_layers=-1© AlexAI-MCP, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/llama-cpp of AlexAI-MCP/hermes-CCC.
Open the folder on GitHubat commit 8107e89
Llama Cpp next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Llama Cpp this skillAlexAI-MCP/hermes-CCC | 135 | — | ~2.3k | Automated safety check: Pass | MIT | |
| Litellmmagnus919/agent-skills | 113 | — | ~4.2k | Automated safety check: Notes | MIT | |
| Llama Cppmagnus919/agent-skills | 113 | — | ~2.3k | Automated safety check: Pass | MIT | |
| Aider DelegateamElnagdy/delegate-skills | 2.3k | 3 repos | ~3k | Automated safety check: Pass | MIT | |
| Qwen Mtp GgufR6410418/Jackrong-llm-finetuning-guide | 1.7k | — | ~1.7k | Automated safety check: Pass | MIT | |
| Model Serving MinefieldBlackwellboy/model-serving-minefield | 135 | — | ~2.1k | Automated safety check: Pass | MIT |
magnus919/agent-skills
Operate, configure, secure, and troubleshoot the LiteLLM AI gateway (proxy) and Python SDK: run the proxy (litellm --config), route to 100+ providers through one OpenAI-compatible API, configure…
magnus919/agent-skills
Operate, configure, benchmark, and troubleshoot llama.cpp across CPU, Metal, CUDA, HIP/ROCm, Vulkan, SYCL, and hybrid or multi-GPU systems.
amElnagdy/delegate-skills
Delegate a coding task to Aider (aider) as a background implementer, then review its diff and land it yourself.
R6410418/Jackrong-llm-finetuning-guide
Complete agent-ready workflow for Qwen-family MTP or nextn GGUF conversion and release.
Blackwellboy/model-serving-minefield
Diagnose OpenAI-compatible model-serving failures from symptoms, endpoint reports, explicit configuration files, or logs while preserving evidence status and requiring confirm/refute checks.
Orchestra-Research/AI-Research-SKILLs
Uses the Outlines library to constrain model output to a JSON schema, Pydantic model, regex or fixed set of choices when running local models.
AlexAI-MCP/hermes-CCC
Review GitHub pull requests with a findings-first engineering mindset.
AlexAI-MCP/hermes-CCC
Run a disciplined GitHub pull request workflow from branch creation through merge.
AlexAI-MCP/hermes-CCC
Manage durable project memory for Claude Code. An agent skill from AlexAI-MCP/hermes-CCC.
AlexAI-MCP/hermes-CCC
Route Claude Code work by complexity, risk, and tool needs. An agent skill from AlexAI-MCP/hermes-CCC.
AlexAI-MCP/hermes-CCC
Create, improve, inventory, and audit Claude Code skills. An agent skill from AlexAI-MCP/hermes-CCC.
AlexAI-MCP/hermes-CCC
Capture Claude Code interaction trajectories in training-friendly formats.
Categories
Run quantized LLMs locally with llama.cpp — CPU+GPU inference, GGUF format, OpenAI-compatible server, and Python bindings. Llama Cpp is an agent skill from AlexAI-MCP/hermes-CCC.cpp — CPU+GPU inference, GGUF format, OpenAI-compatible server, and Python bindings.
Llama Cpp fits situations like: tasks that involve LLM inference and serving.
Run `npx skills add AlexAI-MCP/hermes-CCC --skill llama-cpp -a claude-code`. Or copy the skill folder (skills/llama-cpp in AlexAI-MCP/hermes-CCC) into .claude/skills/llama-cpp in your project. Claude Code loads it when a task matches its description.
Run `npx skills add AlexAI-MCP/hermes-CCC --skill llama-cpp -a codex`. Or copy the skill folder (skills/llama-cpp in AlexAI-MCP/hermes-CCC) into .agents/skills/llama-cpp in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add AlexAI-MCP/hermes-CCC --skill llama-cpp -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/llama-cpp, .gemini/skills/llama-cpp, .github/skills/llama-cpp and .opencode/skills/llama-cpp in your project.
Going by SKILL.md and its folder, Llama Cpp needs the command-line tools its instructions call (python and pip). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Llama Cpp is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.3k tokens (SKILL.md is roughly 9.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Llama Cpp: Litellm (magnus919/agent-skills, 113 stars), Llama Cpp (magnus919/agent-skills, 113 stars), Aider Delegate (amElnagdy/delegate-skills, 2.3k stars) and Qwen Mtp Gguf (R6410418/Jackrong-llm-finetuning-guide, 1.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
AlexAI-MCP (a GitHub user) maintains it in AlexAI-MCP/hermes-CCC, which has 135 GitHub stars. The repository holds 44 skills in this directory. The repository was last updated on April 8, 2026.
Source: AlexAI-MCP/hermes-CCC on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.