flyingriverhorse

Llama Kit — Development skill for Claude Code

Development community

Offload coding-agent busywork to a local llama.cpp server; zero cloud tokens.

How to install Llama Kit

This entry records only its repository, not the path inside it, so there is no exact command to give. Open flyingriverhorse/llama-kit and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Llama Kit does

Offload coding-agent busywork to a local llama.cpp server; zero cloud tokens. Toolkit + Qoder/copilot/claude CLI skill/agent integration.

Alternatives in Development

  • Ccusage — CLI for analyzing Claude Code/Codex usage from local JSONL files 11.8k ★
  • What's New In Copilot MCP! — Sponsored by Cloud MCP - Try out Cloud MCP's Router Mode 481 ★
  • Mcptoon — Listing 255 MCP tools costs 71,929 tokens 195 ★

README

llama_kit — local LLM offload toolkit for coding agents

A Qoder-CLI skill + standalone toolkit that routes routine, token-heavy coding work (boilerplate, docstrings, refactors, test scaffolding, translations, file summarization, code edits) to a **local [llama.cpp](https://github.com/ggml-org/llama.cpp) server** instead of cloud models. Zero cloud tokens for delegated work.

Tested only with Qoder CLI so far — the toolkit itself is agent-agnostic (plain Python + shell), but the Claude Code and GitHub Copilot integrations are untested templates.

Requirements

  • Python 3.10+ (standard library only — no pip installs)
  • A running (or auto-startable) llama-server with the OpenAI-compatible API

Quick start

  1. Copy this folder to `~/.qoder/skills/local/` (or anywhere).

  2. Create your machine-private `config.json` from the template and edit it:

    cp config.example.json config.json
    {
      "url": "http://localhost:8080",
      "workdir": "C:/path/to/llama.cpp",
      "start_command": "build/bin/Release/llama-server.exe -m models/your-model.gguf --port 8080 -ngl 99 -c 80000 -np 1 --cache-prompt",
      "startup_timeout_s": 300
    }

    `config.json` is gitignored; never commit your own paths/model names.

  3. Call the delegate:

    py -3 bin/llama_delegate.py "your task prompt"

    If the server is down it is launched automatically from `start_command`.

Usage

All commands run through one script: `bin/llama_delegate.py` (Windows: `py -3`, Linux/macOS: `python3`).

# Ask the local model a task
py -3 bin/llama_delegate.py "write a docstring for: def f(x): return x * 2"

# Give it a file — the script reads it itself, cloud context stays empty
py -3 bin/llama_delegate.py "find the bug in this file" --file src/utils.py

# Big file? Take only one symbol instead of the whole file
py -3 bin/llama_delegate.py "explain this" --file big.py --focus _run_training

# Or compress a huge file into a summar