Skip to main content

Guides · Step by step

Run a Local LLM on Your Home Computer in 15 Minutes (and What Skills Actually Do for It)

A step-by-step guide, with videos, to running a free AI model on an everyday laptop with Ollama. Then an honest look at where skills help a small local model and where our tests found they don't.

By Skills-Hub Team8 min read
Guideslocal-llmollama

You don't need a gaming PC or a cloud account to run an AI model. A free tool called Ollama and a small open model will run on most laptops from the last few years. It works offline, nothing you type leaves your machine, and it costs nothing per message.

This guide takes you from zero to a working local model in three steps, with a short video for each. Then we cover the part people usually skip: what skills (reusable instruction files) actually change for a small local model. We've been benchmarking that on our own hardware, and the answer is more interesting than "skills make it smarter".

What you need

  • A Mac, Windows or Linux computer with 8 GB of RAM or more. 16 GB is comfortable.
  • About 5 GB of free disk space for the app and one small model.
  • An internet connection for the one-time download. After that, everything runs offline.

A graphics card helps but isn't required. Apple Silicon Macs are especially good at this because the GPU shares the main memory.

Step 1: Install Ollama and pick a model

On Windows or Mac, download the installer from ollama.com/download and run it. On Mac you can also use Homebrew. On Linux, one command does it:

bash
curl -fsSL https://ollama.com/install.sh | sh

Open a terminal (Terminal on Mac, PowerShell on Windows) and download a model:

bash
ollama pull gemma3:4b
ollama list
Replay of a real terminal session. Install output shortened; the 3.4 GB download took about 6 minutes on home broadband.

Step 2: Chat, then use the local API

Start a chat with ollama run gemma3:4b and type a question. Type /bye to leave. The first answer takes a few seconds while the model loads into memory; after that it's fast. On our test Mac, gemma3:4b answered at 45 to 75 tokens per second, faster than you can read.

Ollama also runs a small server on your machine at localhost:11434, so other apps can use the same model. That's how chat apps like Open WebUI, editor plugins and your own scripts connect to it:

bash
curl http://localhost:11434/api/generate \
  -d '{"model":"gemma3:4b","prompt":"Name three uses for a local LLM.","stream":false}'
Real responses from gemma3:4b, replayed. Nothing here touched the internet.

Step 3: Add a skill

A skill is a plain Markdown file (SKILL.md) that tells a model how to do one job: the format to use, the steps to follow, the mistakes to avoid. Coding agents like Claude Code load skills automatically. With a bare local model, the simplest way to use one is as the system prompt.

Here's a tiny commit-message skill:

markdown
---
name: commit-msg
description: Write a conventional commit message from a diff.
---
When given a diff, reply with ONE conventional commit message:
- First line: type(scope): summary, max 60 chars, imperative mood.
- Types: feat, fix, docs, refactor, test, chore.
- Then a blank line and at most 2 bullet lines explaining why.
- No other text, no code fences.

Bake it into a named model with a Modelfile, so you never have to paste it again:

bash
cat > Modelfile <<'EOF'
FROM gemma3:4b
SYSTEM """
(paste the body of SKILL.md here)
"""
EOF
ollama create gemma3-commit -f Modelfile
ollama run gemma3-commit "$(git diff --staged)"
Same model, same diff, same seed. Without the skill: a fenced message plus an essay about it, 4.7 s. With it: a usable commit message, 1.0 s.

The difference is obvious: the skill turned a chatty answer you'd have to clean up into something you can paste. It wasn't perfect, though. The model skipped the blank line the skill asked for and left out the scope. Small models follow format rules well and fine-grained rules less reliably.

What skills do (and don't) do for local models

It's tempting to conclude that skills make local models better at everything. We wanted proof, so we built a benchmark: Qwen 3.8 27B running on our own Mac Studio, solving Python debugging tasks with and without a skill, graded only by hidden unit tests with no AI judge, and two seeds per task.

The results are humbling. On 14 debugging tasks (448 runs), the model alone solved 92.9% of attempts, and none of 15 popular skills improved on that; most scored a few points worse. Then we tested skills on their home turf, with task suites matched to each skill's own job. Security skills did worse on our security tasks (the security-review skill scored 23 points below the bare model). Code review and refactoring skills landed within a few points of the baseline either way. Skills also cost more: 1.3 to 2.1 times the tokens on the domain suites, and 2 to 8 times on debugging.

The one promising signal is UI work. On our UI suite, where the bare model succeeded 50% of the time, a senior-frontend skill scored about 15 points higher across six seeds, and a frontend-design skill about 8 points higher. It isn't confirmed: in a rerun on fresh seeds the senior-frontend gain shrank from about 21 points to 8, and the combined result still doesn't pass our significance test. The honest summary: across five task families, no skill produced a statistically confirmed gain on a local model, and a frontend skill shows the most promising but unconfirmed signal.

We'll publish the full numbers, including the negative ones, along with the benchmark itself.

Tips from running local models daily

  • Expect prose when you asked for JSON. Our nightly local-model security reviewer often wrapped its JSON in explanation. The fix: pull out the fenced JSON block, and if parsing still fails, send one follow-up turn that says "JSON only". A format skill helps here too.
  • Lower the temperature for tasks with a right answer. 0.2 to 0.4 for code, extraction and formatting; leave it higher for brainstorming.
  • Watch your memory. If replies crawl, the model is too big for your RAM. Drop to a smaller model before buying hardware.
  • Free up memory when you're done. Ollama unloads idle models after five minutes; ollama stop gemma3:4b does it right away.

Skills to try

Format-focused skills are the best fit for small models. Browse the skills directory, or write your own in ten minutes with our SKILL.md tutorial. To use a skill with a coding agent, install it with one command:

bash
npx @skills-hub-ai/cli install <skill-name>

Have you tried skills with a local model? We'd like to hear what worked and what didn't. Real results beat claims.

Written by

Skills-Hub Team

Skills-Hub is the open registry for AI coding skills, with SKILL.md files synced daily from Anthropic, Google, Microsoft, and 90+ official sources. Free + MIT.

Continue reading