Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

local-models

Skill by glebis

Runs quick, offline, private text tasks on local LLMs through llama.cpp, reusing models already downloaded by Ollama. Built for privacy-sensitive, high-volume or throwaway work that does not need a cloud API.

  • Score 71
  • 416 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install local-models

Built from the published package, never by AI.

git clone --depth 1 https://github.com/glebis/claude-skills /tmp/claude-skills && mkdir -p ~/.claude/skills && cp -r /tmp/claude-skills/local-models ~/.claude/skills/local-models

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install local-models in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Local models is an agent skill that runs quick text tasks on local LLMs through llama.cpp. It reuses the GGUF model files that Ollama has already downloaded, so text and embedding models do not need a second download. The skill provides an lm command with presets for summarizing, classifying, extracting JSON, anonymizing PII, translating and proofreading, plus vision, embeddings and an OpenAI-compatible local server.

The source says everything runs on the local machine with no API key, no network and no per-token cost. It is aimed at privacy-sensitive data, offline work, high-volume low-stakes tasks and fast throwaway answers. The skill recommends a frontier model for strong reasoning, long context, careful code or high accuracy, because the local models are small, from 0.6 to 4B parameters.

Written from the project's SKILL.md and checked against it.

What it can do

  • Text presetsSummarize, tldr, keywords, anonymize, proofread, translate, classify and extract JSON from files, inline text or stdin.
  • ask and chatSend a one-shot prompt to a local model or open an interactive chat session.
  • modelsList local text, vision and embedding models found through Ollama.
  • describe-image and tag-imageDescribe or tag an image using a local vision model.
  • visionAsk a question about an image using a local vision model.
  • embedCreate an OpenAI-style JSON embedding vector for a piece of text.
  • serveStart an OpenAI-compatible local server on a chosen port.

What you need

  • llama.cpp installed (brew install llama.cpp)
  • Ollama with at least one pulled model
  • python3

Try asking

  • Use lm to anonymize this transcript before I share it.
  • Classify this feedback file as praise, complaint or question.
  • Summarize report.md locally without sending it to the cloud.

Good to know

  • Each one-shot call reloads the model, which takes a few seconds.
  • The first vision call downloads about 2 to 3 GB of model and projector files.
  • Ollama's gemma3 GGUF does not load in stock llama.cpp, so the defaults use qwen models.
  • qwen3:4b emits reasoning blocks that can pollute preset output.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: local-models/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to local-models

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

local-models: common questions

Does it need an API key or internet access?

No. The source says it runs on the machine with no API key, no network and no per-token cost.

Does it download new models?

Text and embedding models reuse the GGUF files Ollama already pulled. Vision models are downloaded once from HuggingFace on first use.

When should a cloud model be used instead?

The source recommends a frontier model for strong reasoning, long context, careful code or high accuracy tasks.

How do I install local-models?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is local-models free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is local-models safe to use?

It scores 71 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to local-models?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

local-models Install

Add to stack

Loading.