Prime-agentai

Localready — AI skill for Claude Code

AI community

Is your local model server ready to drive Claude Code, Codex or OpenCode.

How to install Localready

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

What Localready does

Is your local model server ready to drive Claude Code, Codex or OpenCode? Probes the exact request shape the agent sends, catches silent context truncation, times an agent-sized prefill and the prefix cache, and prints the fix for llama.cpp, Ollama, LM Studio and vLLM. Zero deps.

Alternatives in AI

  • SoloDawn — Catches and repairs AI hallucinations before delivery: three quality gates, 31 built-in rules, a self-healing 312 ★
  • Wandesk — Wandesk — Give intelligence shape 64 ★
  • Renderlint — Lint the rendered UI: catches overflowing text, low contrast, overlaps, broken responsive layouts, emoji icons 44 ★

README

localready

**Your local model server says `200 OK`. Your coding agent still breaks. `localready` tells you why in one command, and prints the fix.**

[![CI](https://github.com/Prime-agentai/localready/actions/workflows/ci.yml/badge.svg)](https://github.com/Prime-agentai/localready/actions/workflows/ci.yml) ![Python 3.11+](https://img.shields.io/badge/python-3.11%2B-blue) ![Dependencies: 0](https://img.shields.io/badge/dependencies-0-brightgreen) [![License: MIT](https://img.shields.io/badge/license-MIT-green)](LICENSE)

Pointing Claude Code, Codex or OpenCode at llama.cpp, Ollama, LM Studio or vLLM fails in ways that look like a dumb model but are really configuration:

  • the context window is smaller than the agent's first request;
  • the server silently cuts the top of the prompt, so the agent loses its system prompt and tools;
  • the agent never compacts because it thinks your 16k model has a 1M window;
  • max_tokens: 32000 plus the prompt is over the server's budget;
  • tool calls stream as JSON that does not parse;
  • every turn re-processes the whole conversation.

`localready check` probes the **exact request shape the agent sends**, measures the window with the server's own token counts, times an **agent-sized** prefill, checks the prefix cache, and prints a verdict plus the setup that fixes it. Zero dependencies.

uvx --from git+https://github.com/Prime-agentai/localready localready check

30-second quickstart

# 1. Probe whatever is running on the usual ports (Ollama 11434, llama.cpp 8080, LM Studio 1234, vLLM 8000)
uvx --from git+https://github.com/Prime-agentai/localready localready check

# 2. Apply the client setup it prints (exit code 0 = ready, 2 = not ready)
eval "$(uvx --from git+https://github.com/Prime-agentai/localready localready env)"
claude

Or `pip install git+https://github.com/Prime-agentai/localready`, then `localready check http://127.0.0.1:8080 -H all`.

A real run

llama.cpp b12680, Qwen3-0.6B Q8_0, `-c