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.
npx skills add ahwurm/localharness --skill localharness-setupgit clone --depth 1 https://github.com/ahwurm/localharnessWrote 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.
[](https://agentmods.dev/skills/ahwurm/localharness/localharness-setup)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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
- Look at the machine: OS, GPU and its memory, RAM, free disk, and any engine or server already there.
- Talk with the person about a model and engine: what fits this hardware and why, the download size, and one alternative.
- Install the engine if it is missing.
- Put the model where start finds it.
uv tool install localharness.- Check it with
localharness --versionandlocalharness doctor. - Tell the person to run
localharness startin 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_DIRmoves 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
~/modelsand~/.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-serveron PATH, or at the path inserver.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.
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.
- yesterday First seen · 40 lines · 43 tokens per session scan A 30d278dd8ef0
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.
localharness-setup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| localharness-setupahwurm/localharness | Skill | 80 | today | MIT | A | 43 | Claude Code, Codex |
| analyze_currentUpsonic/Upsonic | Skill | 8.0k | 5mo ago | MIT | A | 0 | Claude Code, Codex |
| model-routeroyi77/1ai-skills | Skill | 19 | yesterday | MIT | A | 39 | Claude Code |
| knowledge-retrievalopen-gitagent/opengap | Skill | 3.2k | 5mo ago | MIT | A | 28 | Claude Code |
| abi-superpower-wdbx-computedonaldfilimon/abi | Skill | 18 | 10d ago | Apache-2.0 | A | 44 | Claude Code, Codex |
| skypilot-multi-cloud-orchestrationsynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 51 | Claude Code, Codex |
| data-analyzervixues/LeAgent | Skill | 248 | 3mo ago | Apache-2.0 | A | 39 | Claude Code |