mac-mini-llm-lab
Skill by sickn33
Configure a Mac mini as a local LLM server with remote access, monitoring and power-safe operation. It is for building an always-on private AI inference server on Apple Silicon.
Install mac-mini-llm-lab
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/mac-mini-llm-lab ~/.claude/skills/mac-mini-llm-labRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/mac-mini-llm-lab ~/.gemini/antigravity-cli/skills/mac-mini-llm-labAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is a documentation-only guide for turning a Mac mini into an always-on local AI server. It covers installing Ollama and MLX, choosing models based on the machine's unified memory, and starting Ollama at login with a launchd plist. It also covers power settings such as preventing idle sleep and restarting after power failure, plus remote access options including Tailscale, SSH hardening and a Caddy reverse proxy. Other sections cover an Open WebUI setup, a health check script, a memory table by model, and a security checklist.
The guide is aimed at developers and small teams who want private, local inference without cloud costs. It asks the user to check real hardware and memory first, keep Ollama bound to loopback by default, and add authentication before any remote exposure. Upstream helper scripts and templates are not bundled with the skill.
Written from the project's SKILL.md and checked against it.
What it can do
- Ollama setupInstalls Ollama, pulls models sized to RAM, and checks for Metal acceleration.
- MLX setupInstalls MLX and mlx-lm and runs a model or an OpenAI-compatible server on Apple Silicon.
- Auto-start with launchdProvides a launchd plist to run Ollama at load with environment variables for parallelism and loaded models.
- Power and reliabilitySets pmset options to avoid idle sleep, restart after power failure, and schedule a weekly reboot.
- Remote accessCovers Tailscale, SSH hardening, and a Caddy reverse proxy with internal TLS.
- Open WebUIRuns Open WebUI in Docker against the host Ollama endpoint with authentication enabled.
- Health monitoringProvides a health check script for Ollama and system stats, run from cron every five minutes.
- Security checklistLists FileVault, firewall, and sharing service steps for the Mac mini host.
What you need
- Apple Silicon Mac mini with enough memory for the chosen model
- macOS Sonoma 14+ or Sequoia 15+
- Ethernet connection, recommended over Wi-Fi
- Docker for the Open WebUI setup
- UPS for power protection, optional but recommended
Try asking
- Help me set up Ollama on my Mac mini with models that fit 32GB of RAM.
- Write a launchd plist that keeps Ollama running after reboot on my Mac mini.
- Create a health check script that restarts Ollama if the API stops responding.
Good to know
- Documentation only. Upstream scripts and templates are not bundled.
- The throughput and RAM table is illustrative, not measured, and does not guarantee a fit.
- TLS in the Caddy example does not add authentication. An authenticated proxy or tunnel is needed for remote access.
- Persistent services, downloads, updates, reboots and power or FileVault changes need separate approval.
Security check
C- Asks for administrator rights (sudo)In
skills/mac-mini-llm-lab/SKILL.md:sudo
Checked automatically: skills/mac-mini-llm-lab/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md10 KB
Alternatives to mac-mini-llm-lab
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
mac-mini-llm-lab: common questions
Is the Ollama server exposed to the network by default?
The guide says to keep Ollama loopback-only by default. Remote access should go through an authenticated private proxy or tunnel with an access policy.
Which macOS versions does this guide support?
It lists macOS Sonoma 14 or later and Sequoia 15 or later as prerequisites.
Does this skill include the scripts it mentions?
No. The source states that helper scripts and templates are not bundled and must be obtained separately.
How do I install mac-mini-llm-lab?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is mac-mini-llm-lab free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is mac-mini-llm-lab safe to use?
It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade C (asks for administrator rights (sudo)). Review the code before you install. How grades work.
What are alternatives to mac-mini-llm-lab?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
