Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By IsmaelMartinezv0.51.1MIT
Wound down in October 2026. Sends large logs, threads and documents to a local model, keeping content on-device, and returns short anchored summaries and labels.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
local-models, mlx, on-device, privacy, summarization, context-window, log-analysis, summarisation ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
An agent skill that reads large text inputs on this machine instead of in the agent's context: a long log, thread, document, directory or item list is piped to a locally-installed model (MLX, Docker Model Runner or Ollama), in chunks, and the agent gets back a short answer anchored to the input that it spot-checks.
Status: wound down (October 2026). This started as a skill that delegated every kind of text work, commit messages and review replies included, to a local model. Measured over 2,159 delegations, that cost Claude more output tokens than it saved and added about 20 seconds per call, so ADR 0035 narrowed it to the one shape that paid: large inputs Claude never reads. What delegate-local taught keeps the lessons. Everything removed is recoverable from commit
a00b2e9.
# 1. Install the skill (SKILL.md + scripts/ + prompts/) into Claude Code, user-scoped
npx skills add IsmaelMartinez/delegate-local -a claude-code -g
# 2. Confirm a local model is served and see how tiers route
bash ~/.claude/skills/delegate-local/scripts/audit-models.sh
# 3. Read a large input locally
grep -nE 'ERROR|FAIL' build.log | bash ~/.claude/skills/delegate-local/scripts/delegate.sh reasoning \
"Group these lines by root cause. One line per cause, with the line numbers it covers."
Step 2 needs an OpenAI-compatible model server running locally (see Providers). After install the agent delegates matching tasks itself; the raw call in step 3 only confirms the backend works.
When the input is too large to be worth reading in full and the answer is a summary, the matching lines, extracted fields or a label per item, the agent pipes the input to delegate.sh in chunks of about 30k characters, asks a closed question with anchors (line numbers, quoted lines, item ids), spot-checks a sample of anchors with grep, and combines the answers. It does not draft anything the agent will publish, and it does not reason, plan or call tools. SKILL.md is the contract the agent follows.
Three recipes fit the shape: summarise-issue (a status timeline of a long thread or CI log), bulk-classify (one label per item from a fixed set) and file-summary (one sentence per document). Bare tier calls cover the rest:
gh issue view 142 --comments | bash scripts/delegate.sh --recipe summarise-issue --var kind=issue --var N_FACTS=5
When the content may leave the machine, a subagent on a small cloud model is an equally good way to keep a large input out of the agent's context. This skill is for the cases where it must stay on the device.
mlx-lm on Apple Silicon, Docker Model Runner, or Ollama.bash 3.2+, jq, awk, perl and curl.Every call goes to POST {base}/chat/completions. DELEGATE_BASE_URL is an ordered list of base URLs, and the first provider that is reachable and serves a model the tier prefers takes the call:
${MLX_HOST:-http://localhost:8080}/v1
${DOCKER_MODEL_HOST:-http://localhost:12434}/engines/v1
${OLLAMA_HOST:-http://localhost:11434}/v1
MLX leads because ADR 0022 measured it about ten times faster than Ollama on identical weights. Install and launchd auto-start for MLX are in docs/install-mlx.md. Keep one model resident: mlx_lm.server loads any cached model a request names, and alternating two costs a reload each time. Cap its prompt cache with --prompt-cache-bytes.
npx skills add IsmaelMartinez/delegate-local installs the whole skill directory into every detected agent tool; -g installs user-scoped and -a claude-code limits it to one tool. The per-tool guides are Claude Code, Codex and OpenCode. The skill follows the Agent Skills standard, so cloning the repo into a tool's skills directory also works.
pick-model.sh holds one preference list per tier. To put a different model first on one machine, write ~/.local/share/delegate-local/config.sh; pick-model.sh sources it after the shipped lists:
# ~/.local/share/delegate-local/config.sh
case "$tier" in
prose|reasoning|long-context) prefs=(gemma-4-26b "${prefs[@]}") ;;
esac
config.sh is sourced as bash, so only place one you wrote yourself (see SECURITY.md). DELEGATE_LOCAL_CONFIG redirects the path.
~/.local/share/delegate-local/
metrics.jsonl one JSON line per call
drafts/ each call's output, and on recipe calls its rendered input
config.sh routing override
7-day copy clicks
Generated from the plugin's indexed repository (ismaelmartinez/delegate-local) — no native marketplace selected
npx claudepluginhub p/ismaelmartinez-delegate-to-ollamaPlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.