setup

setup is a skill for Claude Code, Codex from gaabrielrd/local-model-workers-mcp. It costs 60 tokens per session (1,191 once invoked), scanned B, original, MIT.

A skill for connecting and diagnosing local AI model services such as LM Studio, Ollama, vLLM, or LocalAI. It also selects the default model and the groups of features that may use it.

In plain words
What is it for?
Use it to check health and settings, configure a provider connection, choose an allowed default model, and verify that local model workers are ready.
Why use it?
It helps resolve missing-model, unreachable-provider, and model-allowlist configuration problems.

Skill for Claude CodeCodex

Part of the local-model-workers plugin — 2 skills shipped together

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/gaabrielrd/local-model-workers-mcp/setup
Any agent
npx skills add gaabrielrd/local-model-workers-mcp --skill setup
Clone the repo
git clone --depth 1 https://github.com/gaabrielrd/local-model-workers-mcp

Made for: Claude Code, Codex.

Or install local-model-workers, the plugin that ships this one along with the rest of its 2 skills.

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 setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/gaabrielrd/local-model-workers-mcp/setup.svg)](https://agentmods.dev/skills/gaabrielrd/local-model-workers-mcp/setup)
Your own site
<a href="https://agentmods.dev/skills/gaabrielrd/local-model-workers-mcp/setup"><img src="https://agentmods.dev/badge/skills/gaabrielrd/local-model-workers-mcp/setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,191 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
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 $0.00060 $0.01191
Opus 5 $0.00030 $0.00596
Sonnet 5 $0.00012 $0.00238
Haiku 4.5 $0.00006 $0.00119

Measured 4d ago against content hash 571e0c3d0fb8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

setup scanned grade B 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 4d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

settings (`~/.claude/settings.json`), which applies to the terminal, the desktop
plugin/skills/setup/SKILL.md · 105 lines

How it starts

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

Set up Local Model Workers

The plugin ships the MCP server, but the server needs two things the plugin cannot supply: a provider connection (protected, environment-only) and a default model (a global preference).

Work through the steps in order. Stop as soon as check_health is healthy.

1. Confirm what is already configured

Call check_health and get_config. They need no repository and return redacted values. If health is healthy and a default model is routed, there is nothing to do.

2. Point the server at the user's local model runtime

Connection settings are protected: they live in the process environment only, so repository content and preference files can never weaken them. The plugin reads them from Claude Code's environment.

The reliable place to set them is the env block of the user's Claude Code settings (~/.claude/settings.json), which applies to the terminal, the desktop app, and the IDE extensions alike:

{
  "env": {
    "LMW_PROVIDERS": "[{\"name\":\"lm-studio\",\"type\":\"lm-studio\",\"base_url\":\"http://localhost:1234/v1\",\"allowed_models\":[\"qwen/qwen3.5-9b\"],\"priority\":0}]"
  }
}

LMW_PROVIDERS is required: a JSON array of one to 16 objects with name, type (lm-studio, ollama, vllm, localai), base_url, optional bearer_token, allowed_models, priority (lower wins), and optional tls_verify.

  • base_url — absolute http(s) URL ending in /v1, no credentials, query, or fragment. LM Studio serves 1234, Ollama 11434/v1, vLLM and LocalAI 8000/v1.
  • allowed_models — model identifiers the server may use. ["*"] means "any served model".
  • bearer_token — optional; omitting it selects no authentication, which is the expected posture for a trusted LAN.
  • tls_verify — optional. Unset means remote providers verify certificates and loopback does not. Set it to false to accept a remote plain-HTTP endpoint deliberately.

Claude Code must restart to pick up a changed env block.

Read the full file on GitHub · 105 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. 4d ago First seen · 105 lines · 60 tokens per session scan B 571e0c3d0fb8

Subscribe to this mod's changes

setup is a skill published in the GitHub repository gaabrielrd/local-model-workers-mcp (1 stars, last pushed 28d ago), licensed MIT. It adds 60 tokens to every session and 1,191 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens