offload-to-local-models

offload-to-local-models is a skill for Claude Code from gaabrielrd/local-model-workers-mcp. It costs 82 tokens per session (729 once invoked), scanned A, original, MIT.

A set of tools that sends repository exploration and code-search work to a model running on the developer’s own computer or network. It returns read-only findings and proposed unified diffs rather than changing files automatically.

In plain words
What is it for?
Use it to explore unfamiliar projects, search code by intent, find callers and dependencies, summarize files or directories, and draft unit tests or code changes for review.
Why use it?
It keeps repository content on the user’s network and reduces the amount of code that must be read directly in the conversation.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

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

Good fit Use it to explore unfamiliar projects, search code by intent, find callers and dependencies, summarize files or directories, and draft unit tests or code changes for review.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gaabrielrd/local-model-workers-mcp/offload-to-local-models
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 gaabrielrd/local-model-workers-mcp --skill offload-to-local-models
Clone the repo
git clone --depth 1 https://github.com/gaabrielrd/local-model-workers-mcp

Made for: Claude Code.

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 offload-to-local-models

README.md
[![agentmods](https://agentmods.dev/badge/skills/gaabrielrd/local-model-workers-mcp/offload-to-local-models/github.svg)](https://agentmods.dev/skills/gaabrielrd/local-model-workers-mcp/offload-to-local-models)
Your own site
<a href="https://agentmods.dev/skills/gaabrielrd/local-model-workers-mcp/offload-to-local-models"><img src="https://agentmods.dev/badge/skills/gaabrielrd/local-model-workers-mcp/offload-to-local-models/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 offload-to-local-models

Your own site · 80×15
<a href="https://agentmods.dev/skills/gaabrielrd/local-model-workers-mcp/offload-to-local-models"><img src="https://agentmods.dev/badge/skills/gaabrielrd/local-model-workers-mcp/offload-to-local-models.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 729 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.00082 $0.00729
Opus 5.5 $0.00033 $0.00292
Sonnet 5.5 $0.00016 $0.00146
Haiku 4.5 $0.00008 $0.00073

Measured 2mo ago against content hash 8ad45ff69c46, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

offload-to-local-models 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 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.

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.

plugin/skills/offload-to-local-models/SKILL.md · 60 lines

How it starts

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

Offload repository work to local model tools

The local-model-workers MCP server delegates expensive repository work to a model running on the user's own machine or LAN. Every tool is read-only against the repository: patches come back as validated, unapplied unified diffs that you decide whether to apply.

Using these tools instead of scanning files yourself keeps the conversation short and keeps repository content on the user's network.

Rules

  • Do not echo large tool results verbatim into the conversation. Reference paths and summarize findings instead.
  • Prefer a targeted query_code_graph, search_semantic, or summarize_module call over a broad explore_repository when a focused lookup suffices.
  • Every tool takes an absolute repository_root. Pass the project root, not a subdirectory, unless the user asked to scope the work.
  • Patches are proposals. Show the diff and let the user decide; never apply one silently.

Which tool to reach for

Situation Tool
Understand an unfamiliar area, goal stated in prose explore_repository
Find code by intent ("where do we retry failed uploads?") search_semantic
Callers, dependencies, exports, or definition of a symbol query_code_graph
Structured summary of one file or directory summarize_module
Propose unit tests as an unapplied diff propose_tests
Generate tests and iterate until they pass in a sandbox copy auto_validate_tests
Docstrings, JSDoc, or a docs/<slug>.md guide generate_docs_patch
Explain what a commit range changed and its architectural impact analyze_diff
Repair reported linter violations fix_lint_violations (pass the linter output)
Repair compiler or type-checker errors fix_type_errors (pass the checker output)
Provider reachability, model routing, configuration check_health, get_config
Tokens and queries saved by offloading get_offload_stats

Read the full file on GitHub · 60 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. 2mo ago First seen · 60 lines · 82 tokens per session scan A 8ad45ff69c46

Subscribe to this mod's changes

offload-to-local-models is a skill published in the GitHub repository gaabrielrd/local-model-workers-mcp (1 stars, last pushed 3mo ago), licensed MIT. It adds 82 tokens to every session and 729 once invoked, about $0.0003 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-08-31.

Related

offload-to-local-models compared with skills from other repositories

offload-to-local-models next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
offload-to-local-modelsgaabrielrd/local-model-workers-mcpSkill13mo agoMITA82Claude Code
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79kyesterdayMITA200Claude Code, Codex
playwright-climicrosoft/playwrightSkill100kyesterdayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill394ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill314k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code