llama-patch-changes

Manage llama.cpp patch queues and upstream pins for Mesh-LLM builds.

3.1k|376|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/Mesh-LLM/mesh-llm --skill llama-patch-changes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: llama-patch-changes
Source: https://github.com/Mesh-LLM/mesh-llm/tree/main/.agents/skills/llama-patch-changes
Command: npx skills add https://github.com/Mesh-LLM/mesh-llm --skill llama-patch-changes

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps maintain the llama.cpp patch queue and upstream pin consistency during Mesh-LLM development, preventing drift between local patches and upstream changes.

Core Features & Use Cases

  • Patch queue maintenance and patch editing for llama.cpp under third_party/llama.cpp/patches/*.patch.
  • Upstream pin management with LLAMA_CPP_SHA and third_party/llama.cpp/upstream.txt.
  • Patch queue regeneration and validation workflows for clean checkouts.

Quick Start

Prepare and update the pinned llama.cpp patch queue by running the designated preparation workflow.

Frequently Asked Questions about llama-patch-changes

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage the llama.cpp patch queue for local builds?

To manage the llama.cpp patch queue, you maintain durable patches under third_party/llama.cpp/patches and update build scripts that consume the patched llama.cpp source to ensure changes remain focused and reviewable.

What is the best way to update the pinned upstream SHA for llama.cpp?

Updating the upstream llama.cpp pin requires modifying the LLAMA_CPP_SHA and the third_party/llama.cpp/upstream.txt file to prevent drift between your local patches and upstream changes.

How do I refresh patches from a llama.cpp checkout without using submodules?

You can refresh patches from a llama.cpp checkout by regenerating and validating the patch queue while avoiding submodules, keeping all changes focused and reviewable under third_party/llama.cpp/patches.

Why does my llama.cpp patch queue drift after updating the upstream pin?

Patch queue drift occurs when local patches under third_party/llama.cpp/patches are not synchronized with the pinned upstream SHA, requiring you to run patch regeneration and validation workflows for clean checkouts.

Can I edit build scripts that consume patched llama.cpp without breaking the patch queue?

Yes, you can alter build scripts that consume patched llama.cpp alongside patch editing, provided you maintain durable patches under third_party/llama.cpp/patches and keep changes focused and reviewable.