local-delegation

local-delegation is a skill for Claude Code, Codex from ZahiriNatZuke/local-delegate. It costs 138 tokens per session (2,546 once invoked), scanned A, original, MIT.

A set of rules for sending simple tasks to language or image models running on your own computer through an MCP server. MCP is a standard way for tools and models to communicate; the add-on supports tasks such as summarising, classifying, translating, and explaining code.

In plain words
What is it for?
Use it to delegate clearly defined jobs such as summarising a file, extracting information, translating text, summarising test or lint output, explaining code, or describing an image.
Why use it?
It keeps large files and repetitive work out of the main model's context and can preserve subscription usage. The local server must be available for delegation to work.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Good fit Use it to delegate clearly defined jobs such as summarising a file, extracting information, translating text, summarising test or lint output, explaining code, or describing an image.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zahirinatzuke/local-delegate/local-delegation
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 ZahiriNatZuke/local-delegate --skill local-delegation
Clone the repo
git clone --depth 1 https://github.com/ZahiriNatZuke/local-delegate

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-delegation

README.md
[![agentmods](https://agentmods.dev/badge/skills/zahirinatzuke/local-delegate/local-delegation/github.svg)](https://agentmods.dev/skills/zahirinatzuke/local-delegate/local-delegation)
Your own site
<a href="https://agentmods.dev/skills/zahirinatzuke/local-delegate/local-delegation"><img src="https://agentmods.dev/badge/skills/zahirinatzuke/local-delegate/local-delegation/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 local-delegation

Your own site · 80×15
<a href="https://agentmods.dev/skills/zahirinatzuke/local-delegate/local-delegation"><img src="https://agentmods.dev/badge/skills/zahirinatzuke/local-delegate/local-delegation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 138 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,546 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.00138 $0.02546
Opus 5.5 $0.00055 $0.01018
Sonnet 5.5 $0.00028 $0.00509
Haiku 4.5 $0.00014 $0.00255

Measured today against content hash 6938d2c87a77, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

local-delegation 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 today.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

src/local_delegate/resources/skills/local-delegation/SKILL.md · 141 lines

How it starts

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

Delegación a modelos locales (MCP local-delegate)

Tienes un servidor MCP (local-delegate) que expone modelos corriendo en una GPU propia (vía llama-swap, Ollama, LM Studio o vLLM) como herramientas texto/imagen→texto. Delegar a ellas conserva cuota de la suscripción: la generación verbosa y los inputs grandes (o una imagen entera) se quedan fuera de tu contexto.

Regla de oro

¿Puedo describir el paso en UNA frase con un formato de salida explícito? → sí → usa una tool local_*. → no (necesita razonamiento, arquitectura, criterio, multi-fuente) → hazlo tú.

El mayor ahorro: path en vez de text

Para archivos/documentos grandes, pasa path (no leas el archivo tú primero). Las tools que aceptan path leen el archivo del lado del servidor, así el contenido completo nunca entra a tu contexto — solo recibes el resultado corto.

El coste de no delegar

Leer un archivo de 100 KB con Read cuesta ≈ 25 000 tokens de tu contexto. La misma tarea con local_summarize(path=…) cuesta ≈ 200 tokens (solo el resumen que vuelve). Esa diferencia es la que se pierde cada vez que se lee un archivo grande a mano en vez de delegarlo.

Catálogo de tools

Tool Cuándo Args clave Devuelve
local_summarize Resumir texto o archivo largo path o text, max_words, focus (qué te interesa conservar) Resumen (prosa)
local_classify Etiquetar en categorías fijas text, labels[] Una etiqueta
local_extract Sacar campos estructurados fields[], path o text JSON
local_boilerplate Generar código repetitivo spec, language, target (ruta absoluta), overwrite? Recibo: ruta y tamaño (el código va al archivo, no a tu contexto)
local_delegate Escape genérico texto→texto task, input, output_format, model?, chunk? Texto
local_lint_summary Resumir salida de lint/tests/CI path o text, max_words Resumen agrupado por archivo
local_commit_msg Mensaje de commit desde un diff diff o path, style? Mensaje (revísalo siempre)
local_translate Traducir texto o archivo target_lang, text o path Traducción
local_explain_code Explicar qué hace un código code o path, question? Explicación (prosa)
local_describe_image Describir una imagen o responder una pregunta sobre ella path, question? Descripción (prosa)
local_status Diagnóstico de solo lectura — Backend/catálogo/log/VRAM

Read the full file on GitHub · 141 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. today Changed · +2 lines 6938d2c87a77
  2. 6d ago Changed · +7 lines 7d267a0b8d7c
  3. 13d ago Changed · +10 lines 87d8ea5abb19
  4. 25d ago Changed · +2 lines 1137c49efdc5
  5. 1mo ago Changed · +28 lines 362927ac426e
  6. 1mo ago Changed · +1 lines 494a50d8fba4
  7. 1mo ago First seen · 91 lines · 138 tokens per session scan A fc1f2a7d00f3

Subscribe to this mod's changes

local-delegation is a skill published in the GitHub repository ZahiriNatZuke/local-delegate (8 stars, last pushed today), licensed MIT. It adds 138 tokens to every session and 2,546 once invoked, about $0.0006 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-10-14.

Related

local-delegation compared with skills from other repositories

local-delegation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
local-delegationZahiriNatZuke/local-delegateSkill8todayMITA138Claude Code, Codex
add-promptcyanheads/pubmed-mcp-serverSkill1726d agoApache-2.0A37Claude Code
openclaw-prompt-enhanceryedanyagamiai-cmd/openclaw-mcp-serversSkill48mo agoMITA137Claude Code, Codex
add-promptcyanheads/internet-archive-mcp-serverSkill43d agoApache-2.0A37Claude Code
add-promptcyanheads/stackexchange-mcp-serverSkill28d agoApache-2.0A37Claude Code
add-promptcyanheads/pokeapi-mcp-serverSkill14d agoApache-2.0A37Claude Code
opik-optimizecomet-ml/opik-mcpSkill2274d agoApache-2.0A143Claude Code