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 gaabrielrd/local-model-workers-mcp --skill setupgit clone --depth 1 https://github.com/gaabrielrd/local-model-workers-mcpWrote 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/gaabrielrd/local-model-workers-mcp/setup)<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/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/gaabrielrd/local-model-workers-mcp/setup"><img src="https://agentmods.dev/badge/skills/gaabrielrd/local-model-workers-mcp/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.00060 | $0.01191 |
| Opus 5.5 | $0.00024 | $0.00476 |
| Sonnet 5.5 | $0.00012 | $0.00238 |
| Haiku 4.5 | $0.00006 | $0.00119 |
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 2mo 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 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— absolutehttp(s)URL ending in/v1, no credentials, query, or fragment. LM Studio serves1234, Ollama11434/v1, vLLM and LocalAI8000/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 tofalseto accept a remote plain-HTTP endpoint deliberately.
Claude Code must restart to pick up a changed env block.
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.
- 2mo ago First seen · 105 lines · 60 tokens per session scan B 571e0c3d0fb8
setup is a skill published in the GitHub repository gaabrielrd/local-model-workers-mcp (1 stars, last pushed 3mo ago), licensed MIT. It adds 60 tokens to every session and 1,191 once invoked, about $0.0002 per session on Opus 5.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.
setup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| setupgaabrielrd/local-model-workers-mcp | Skill | 1 | 3mo ago | MIT | B | 60 | Claude Code |
| agent-platform-model-registrygoogle/skills | Skill | 23k | today | Apache-2.0 | A | 60 | Claude Code, Codex |
| foundry-config-setupmicrosoft/agent-framework | Skill | 15k | yesterday | MIT | A | 65 | Claude Code, Codex |
| google-cloud-solution-agentic-analytics-spark-knowledge-cataloggoogle/skills | Skill | 23k | today | Apache-2.0 | A | 132 | Claude Code, Codex |
| training-checkwanshuiyin/Auto-claude-code-research-in-sleep | Skill | 19k | 2d ago | MIT | A | 35 | Claude Code |
| nemo-automodel-launcher-configNVIDIA/skills | Skill | 3.9k | yesterday | Apache-2.0 | A | 30 | Claude Code |
| finetuningmicrosoft/skills | Skill | 3.2k | yesterday | MIT | A | 132 | Claude Code |