local-llm

local-llm is a skill for Claude Code, Codex from coco-research/coco. It costs 58 tokens per session (7,014 once invoked), scanned A, original, no licence file.

Guidance for working with language models running on your own machine through LM Studio and mlx-dspark. It covers the local model service, its context limit, and its response behaviour.

In plain words
What is it for?
Use it to check the local model setup, change the context window, investigate hangs, or connect a script to the local inference endpoint.
Why use it?
It helps diagnose stalled requests and make informed trade-offs between available memory, context size, and speed.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/coco-research/coco/local-llm
Any agent
npx skills add coco-research/coco --skill local-llm
Clone the repo
git clone --depth 1 https://github.com/coco-research/coco

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 local-llm

README.md
[![agentmods](https://agentmods.dev/badge/skills/coco-research/coco/local-llm.svg)](https://agentmods.dev/skills/coco-research/coco/local-llm)
Your own site
<a href="https://agentmods.dev/skills/coco-research/coco/local-llm"><img src="https://agentmods.dev/badge/skills/coco-research/coco/local-llm.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,014 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin unknown 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.00058 $0.07014
Opus 5 $0.00029 $0.03507
Sonnet 5 $0.00012 $0.01403
Haiku 4.5 $0.00006 $0.00701

Measured 2d ago against content hash 074950671e19, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

local-llm scanned grade A with 1 finding 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 2d ago.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

(a one-off script, a curl command, etc.), you don't get this retry for free --
skills/local-llm/SKILL.md · 409 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 2d ago First seen · 409 lines · 58 tokens per session scan A 074950671e19

Subscribe to this mod's changes

local-llm is a skill published in the GitHub repository coco-research/coco (218 stars, last pushed today), with no licence file. It adds 58 tokens to every session and 7,014 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories