localharness-setup

localharness-setup is a skill for Claude Code, Codex from ahwurm/localharness. It costs 43 tokens per session (652 once invoked), scanned A, original, MIT.

A setup guide for running a local AI model with localharness, a tool that starts and manages an inference server on your own machine. It checks the computer's hardware, chooses a suitable model and engine, installs missing parts, and verifies the setup.

In plain words
What is it for?
Use it to prepare a GPU or CPU machine for local model use, choose a model that fits its memory and disk, install the required engine, and run the health checks.
Why use it?
It removes the guesswork around whether a model will fit the machine and what must be installed before localharness can start.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to prepare a GPU or CPU machine for local model use, choose a model that fits its memory and disk, install the required engine, and run the health checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ahwurm/localharness/localharness-setup
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ahwurm/localharness --skill localharness-setup
Clone the repo
git clone --depth 1 https://github.com/ahwurm/localharness

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for localharness-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/ahwurm/localharness/localharness-setup/github.svg)](https://agentmods.dev/skills/ahwurm/localharness/localharness-setup)
Your own site
<a href="https://agentmods.dev/skills/ahwurm/localharness/localharness-setup"><img src="https://agentmods.dev/badge/skills/ahwurm/localharness/localharness-setup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for localharness-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/ahwurm/localharness/localharness-setup"><img src="https://agentmods.dev/badge/skills/ahwurm/localharness/localharness-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 652 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00043 $0.00652
Opus 5.5 $0.00017 $0.00261
Sonnet 5.5 $0.00009 $0.00130
Haiku 4.5 $0.00004 $0.00065

Measured yesterday against content hash 30d278dd8ef0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

localharness-setup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/localharness-setup/SKILL.md · 40 lines

How it starts

The opening of the file, as written. The whole thing — 40 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Setting up localharness

Goal: when the person runs localharness start, it starts and manages an inference server with a local model that fits this machine. If they already run a server they want to keep, start uses that instead.

A suggested order

  1. Look at the machine: OS, GPU and its memory, RAM, free disk, and any engine or server already there.
  2. Talk with the person about a model and engine: what fits this hardware and why, the download size, and one alternative.
  3. Install the engine if it is missing.
  4. Put the model where start finds it.
  5. uv tool install localharness.
  6. Check it with localharness --version and localharness doctor.
  7. Tell the person to run localharness start in their own terminal.

Finding a model that fits

  • This repo's docs/reference-architectures/ describes the machines localharness is tested on and what runs well on them.
  • Hugging Face shows what is popular now; GGUF files suit llama.cpp.
  • Ask the person what they want to do with it: coding, writing, images, a long context.
  • localharness keeps the model fully on the GPU (only an MoE's experts may sit in RAM) and sizes the window to what fits, so a smaller quant or a shorter window is how a big model fits.

How localharness picks up what you set up

  • On a first run (no ~/.localharness/config.yaml; LOCALHARNESS_DIR moves it), start sets itself up and writes that file.
  • It looks, in order: a server already answering on port 8081, 8000, 11434, 1234 or 8080; then GGUF files under ~/models and ~/.cache/huggingface; then it offers a model of its own and asks before downloading.
  • It starts and manages llama.cpp, vLLM (binary or Docker), Ollama and LM Studio, and attaches to any other OpenAI-compatible server it finds.
  • It finds llama-server on PATH, or at the path in server.binary.
  • start is interactive; with no terminal it prints a hint and exits, so leave running it to the person.

Customizing

When a model or machine needs something special, set it in the server: block of config.yaml so start keeps managing the server: model, context (the window), cache_type_k and cache_type_v, extra_args, binary. docs/runtimes/ shows the block for each engine.

Read the full file on GitHub · 40 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 40 lines · 43 tokens per session scan A 30d278dd8ef0

Subscribe to this mod's changes

localharness-setup is a skill published in the GitHub repository ahwurm/localharness (80 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 652 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-03.

Related

localharness-setup compared with skills from other repositories

localharness-setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
localharness-setupahwurm/localharnessSkill80todayMITA43Claude Code, Codex
analyze_currentUpsonic/UpsonicSkill8.0k5mo agoMITA0Claude Code, Codex
model-routeroyi77/1ai-skillsSkill19yesterdayMITA39Claude Code
knowledge-retrievalopen-gitagent/opengapSkill3.2k5mo agoMITA28Claude Code
abi-superpower-wdbx-computedonaldfilimon/abiSkill1810d agoApache-2.0A44Claude Code, Codex
skypilot-multi-cloud-orchestrationsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A51Claude Code, Codex
data-analyzervixues/LeAgentSkill2483mo agoApache-2.0A39Claude Code