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

ollama

Skill by ericrisco

Runs open-weight LLMs locally with Ollama. It covers pulling and tagging models, calling the local API, choosing a quantization, writing Modelfiles, and sizing VRAM and RAM. Built for developers working on a single machine.

  • Score 72
  • 695 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install ollama

Built from the published package, never by AI.

git clone --depth 1 https://github.com/ericrisco/rsc-harness /tmp/rsc-harness && mkdir -p ~/.claude/skills && cp -r /tmp/rsc-harness/skills/ollama ~/.claude/skills/ollama

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

Step-by-step: install ollama in Claude Code

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

About

This skill guides an assistant through running open-weight LLMs on one local machine with Ollama. It covers serving the daemon at localhost:11434, pulling and tagging models, and calling both the native HTTP API and the OpenAI-compatible /v1 layer. It also covers picking a quantization or GGUF, writing Modelfiles, and estimating the VRAM and RAM a model needs.

It is meant for developers who run models on their own hardware. When a model will not fit on one box, the skill points to remote GPU services such as runpod or modal, and to huggingface for downloading raw weights. The source includes a rule-of-thumb weights formula, a VRAM table by memory size, and a verify script that lints Modelfiles.

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

What it can do

  • Model managementPull, run, list, show and remove models, and check which models are loaded in memory.
  • Quantization guidanceCompares Q4_K_M, Q8_0 and fp16 by memory use and quality loss.
  • VRAM sizingGives a rule-of-thumb formula and a table of comfortable model choices by memory size.
  • Native chat APICalls /api/chat with options such as num_ctx and keep_alive.
  • OpenAI-compatible layerPoints an OpenAI SDK at localhost:11434/v1 with a dummy key.
  • Structured outputPasses a JSON schema as the format field so replies follow valid JSON.
  • ModelfilesBuilds a named model from a base model with a system prompt and parameters.
  • Quantize on createUses ollama create with --quantize when the source model is fp16 or fp32.
  • Modelfile verificationRuns scripts/verify.sh to lint a Modelfile and check for local endpoint use.

What you need

  • Ollama installed, or ollama serve available
  • Enough VRAM or unified memory for the chosen model
  • Python with the OpenAI SDK for the compatibility example

Try asking

  • Which Ollama model and quant fit my 12 GB GPU for coding help?
  • Write a Modelfile that sets a code reviewer system prompt on qwen3:8b.
  • Point my OpenAI Python script at my local Ollama server.

Good to know

  • The sizing formula is a rule of thumb. Verify with ollama show.
  • One daemon with limited parallelism. Not built for fleet serving.
  • The MLX backend applies only to Macs with more than 32 GB unified memory.
  • --quantize only works from an fp16 or fp32 source model.

Security check

A

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

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

Alternatives to ollama

All alternatives →

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

ollama: common questions

Does this skill send requests to remote servers?

The skill targets local use at localhost:11434. It says remote or managed GPU serving belongs to other skills, such as runpod.

Why does a pulled model use no VRAM?

Pulled models sit on disk. A model uses VRAM only after a request loads it, and it unloads after keep_alive, which defaults to 5 minutes.

What should I do if a model does not fit my machine?

The source advises against dropping below Q4, since quality falls and it still runs out of memory at real context. It suggests moving the work to a remote GPU.

How do I install ollama?

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

Is ollama free?

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

Is ollama safe to use?

It scores 72 of 100. Grades: maintenance A, licence A, quality A. 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 ollama?

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

ollama Install

Add to stack

Loading.