[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F8MM3R2KSD9VDEHM9PFJ6J":3,"skill-same:01M6F8MM3R2KSD9VDEHM9PFJ6J":75},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":41,"linkOnly":42,"markdownContent":43,"markdownBody":44,"frontMatter":45,"refName":33,"commitSha":55,"skillDirectory":56,"forksCount":57,"repositoryHtmlUrl":58,"repositoryHomepageUrl":6,"ownerHtmlUrl":59,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":60,"install":61,"resources":74},"01M6F8MM3R2KSD9VDEHM9PFJ6J","mac-mini-llm-lab",null,"Configure a Mac mini as a reliable local LLM server with remote access, observability, and power-safe operation. Use when building an always-on private AI inference server on Apple Silicon.","boisenoise\u002Fskills-collections","boisenoise","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F193180?v=4","01M6CDBDQK6BDN55ZMA6B6PKBM","01M6CDBDVSJ3JPTBYN26FZ7TZK",13,"MIT","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-mac-mini-llm-lab\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"lab","mac mini llm lab","mac","local","2026","when","remote","relevant","silicon","scripts","critical","os","apple","safe","local llm","main","community","only","power","configure","access","devops-security","server","2026-11-10 10:12:30",false,"---\nname: mac-mini-llm-lab\ndescription: Configure a Mac mini as a reliable local LLM server with remote access,\n  observability, and power-safe operation. Use when building an always-on private\n  AI inference server on Apple Silicon.\ncategory: devops\nrisk: critical\nsource: https:\u002F\u002Fgithub.com\u002FBagelHole\u002FDevOps-Security-Agent-Skills\nsource_repo: BagelHole\u002FDevOps-Security-Agent-Skills\nsource_type: community\ndate_added: '2026-09-20'\nlicense: MIT\nlicense_source: https:\u002F\u002Fgithub.com\u002FBagelHole\u002FDevOps-Security-Agent-Skills\u002Fblob\u002Fmain\u002FLICENSE\ncompatibility: Requires the relevant OS\u002Fplatform tooling and privileged access where\n  noted. Docs-only; helper scripts and templates not bundled.\nmetadata:\n  author: devops-skills\n  version: '1.0'\n---\n\n# Mac mini LLM Lab\n\nTurn a Mac mini into a low-noise, always-on local AI appliance.\n\n## When to Use This Skill\n\nUse this skill when:\n- Setting up a dedicated local LLM inference server\n- Building a private AI development environment\n- Need always-on model serving without cloud costs\n- Running models that fit the actual machine’s unified memory\n- Creating a home lab AI server for a small team\n\n## Prerequisites\n\n- An actual Apple Silicon Mac mini configuration with sufficient available memory for the selected model\n- macOS Sonoma 14+ or Sequoia 15+\n- Ethernet connection (recommended over Wi-Fi)\n- UPS for power protection (optional but recommended)\n\n## Host and exposure boundaries\n\nCheck actual model hardware\u002Fmemory and installed macOS\u002Ftool support first. The throughput\u002FRAM table is illustrative, not measured evidence or a fit guarantee; include KV cache\u002Fcontext\u002Fconcurrency overhead. Keep Ollama loopback-only by default; TLS alone in the Caddy example does not add authentication. Configure an authenticated private proxy\u002Ftunnel and access policy before remote exposure. Loopback binding must be deliberately adapted for Docker access, without exposing an unauthenticated LAN listener. Approve persistent services, downloads, updates, reboots and FileVault\u002Fpower changes separately as applicable; preserve existing settings and recovery access. Create script\u002Flog directories before writing them and do not run privileged diagnostics unattended from cron.\n\n## Initial System Setup\n\n```bash\n# Update macOS\nsoftwareupdate --install --all\n\n# Install Xcode command-line tools\nxcode-select --install\n\n# Install Homebrew\n# Obtain the official Homebrew installer at a reviewed version, inspect it,\n# and run the verified local file only after installation authorization.\n\n# Core packages\nbrew install tmux htop btop wget jq git neovim\n\n# Python environment (for MLX and custom scripts)\nbrew install python@3.12 uv\n\n# Monitoring\nbrew install prometheus node_exporter\n```\n\n## Ollama Setup\n\n```bash\n# Install Ollama\nbrew install ollama\n\n# Pull models based on your RAM\n# 16GB Mac mini:\nollama pull llama3.1:8b\nollama pull nomic-embed-text\nollama pull codellama:7b\n\n# 32GB Mac mini:\nollama pull llama3.1:8b\nollama pull qwen2.5:14b\nollama pull deepseek-coder-v2:16b\nollama pull nomic-embed-text\n\n# 64GB+ Mac mini:\nollama pull llama3.1:70b\nollama pull qwen2.5:32b\nollama pull codellama:34b\n\n# Verify Metal acceleration\nollama run llama3.1:8b --verbose\n# Look for: \"metal\" in output\n```\n\n## MLX Framework (Apple Silicon Native)\n\nMLX runs models natively on Apple Silicon with excellent performance:\n\n```bash\n# Install MLX\nuv pip install mlx mlx-lm\n\n# Run a model\npython3 -c \"\nfrom mlx_lm import load, generate\nmodel, tokenizer = load('mlx-community\u002FLlama-3.1-8B-Instruct-4bit')\nresponse = generate(model, tokenizer, prompt='Explain Docker in 3 sentences', max_tokens=200)\nprint(response)\n\"\n\n# MLX server (OpenAI-compatible API)\nuv pip install mlx-lm[server]\nmlx_lm.server --model mlx-community\u002FLlama-3.1-8B-Instruct-4bit --port 8080\n```\n\n## Auto-Start with launchd\n\n```xml\n\u003C!-- ~\u002FLibrary\u002FLaunchAgents\u002Fcom.ollama.serve.plist -->\n\u003C?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\u003C!DOCTYPE plist PUBLIC \"-\u002F\u002FApple\u002F\u002FDTD PLIST 1.0\u002F\u002FEN\" \"http:\u002F\u002Fwww.apple.com\u002FDTDs\u002FPropertyList-1.0.dtd\">\n\u003Cplist version=\"1.0\">\n\u003Cdict>\n    \u003Ckey>Label\u003C\u002Fkey>\n    \u003Cstring>com.ollama.serve\u003C\u002Fstring>\n    \u003Ckey>ProgramArguments\u003C\u002Fkey>\n    \u003Carray>\n        \u003Cstring>\u002Fopt\u002Fhomebrew\u002Fbin\u002Follama\u003C\u002Fstring>\n        \u003Cstring>serve\u003C\u002Fstring>\n    \u003C\u002Farray>\n    \u003Ckey>EnvironmentVariables\u003C\u002Fkey>\n    \u003Cdict>\n        \u003Ckey>OLLAMA_HOST\u003C\u002Fkey>\n        \u003Cstring>127.0.0.1:11434\u003C\u002Fstring>\n        \u003Ckey>OLLAMA_NUM_PARALLEL\u003C\u002Fkey>\n        \u003Cstring>4\u003C\u002Fstring>\n        \u003Ckey>OLLAMA_MAX_LOADED_MODELS\u003C\u002Fkey>\n        \u003Cstring>2\u003C\u002Fstring>\n        \u003Ckey>OLLAMA_FLASH_ATTENTION\u003C\u002Fkey>\n        \u003Cstring>1\u003C\u002Fstring>\n    \u003C\u002Fdict>\n    \u003Ckey>RunAtLoad\u003C\u002Fkey>\n    \u003Ctrue\u002F>\n    \u003Ckey>KeepAlive\u003C\u002Fkey>\n    \u003Ctrue\u002F>\n    \u003Ckey>StandardOutPath\u003C\u002Fkey>\n    \u003Cstring>\u002Ftmp\u002Follama.log\u003C\u002Fstring>\n    \u003Ckey>StandardErrorPath\u003C\u002Fkey>\n    \u003Cstring>\u002Ftmp\u002Follama.err\u003C\u002Fstring>\n\u003C\u002Fdict>\n\u003C\u002Fplist>\n```\n\n```bash\n# Load the service\nlaunchctl load ~\u002FLibrary\u002FLaunchAgents\u002Fcom.ollama.serve.plist\n\n# Check status\nlaunchctl list | grep ollama\n\n# Unload if needed\nlaunchctl unload ~\u002FLibrary\u002FLaunchAgents\u002Fcom.ollama.serve.plist\n```\n\n## Power & Reliability\n\n```bash\n# Prevent idle sleep on this desktop (record existing values for rollback)\nsudo pmset -a disablesleep 1\nsudo pmset -a sleep 0\n\n# Auto-restart after power failure\nsudo pmset -a autorestart 1\n\n# Schedule weekly reboot (Sunday 4 AM)\nsudo pmset repeat shutdown U 03:55:00 poweron U 04:00:00\n\n# Check power settings\npmset -g\n```\n\n## Remote Access\n\n### Tailscale (Recommended)\n\n```bash\n# Install Tailscale for easy secure remote access\nbrew install --cask tailscale\n\n# Enable from menu bar, authenticate\n# Access your Mac mini from anywhere: http:\u002F\u002Fmac-mini:11434\n```\n\n### SSH Hardening\n\n```bash\n# Enable remote login\nsudo systemsetup -setremotelogin on\n\n# Edit SSH config\nsudo nano \u002Fetc\u002Fssh\u002Fsshd_config\n# Add:\n# PasswordAuthentication no\n# PubkeyAuthentication yes\n# PermitRootLogin no\n# AllowUsers yourusername\n\n# Restart SSH\nsudo launchctl unload \u002FSystem\u002FLibrary\u002FLaunchDaemons\u002Fssh.plist\nsudo launchctl load \u002FSystem\u002FLibrary\u002FLaunchDaemons\u002Fssh.plist\n```\n\n### Reverse Proxy with Caddy\n\n```bash\nbrew install caddy\n\n# Caddyfile\ncat > \u002Fopt\u002Fhomebrew\u002Fetc\u002FCaddyfile \u003C\u003C 'EOF'\nllm.local:443 {\n    tls internal\n    reverse_proxy localhost:11434\n\n    @api path \u002Fv1\u002F*\n    handle @api {\n        reverse_proxy localhost:11434\n    }\n}\n\nwebui.local:443 {\n    tls internal\n    reverse_proxy localhost:3000\n}\nEOF\n\nbrew services start caddy\n```\n\n## Open WebUI Setup\n\n```bash\n# Run Open WebUI via Docker\ndocker run -d \\\n  --name open-webui \\\n  -p 3000:8080 \\\n  -e OLLAMA_BASE_URL=http:\u002F\u002Fhost.docker.internal:11434 \\\n  -e WEBUI_AUTH=true \\\n  -v open-webui:\u002Fapp\u002Fbackend\u002Fdata \\\n  --restart unless-stopped \\\n  ghcr.io\u002Fopen-webui\u002Fopen-webui:main\n\n# Or install Docker first if not available\nbrew install --cask docker\n```\n\n## Monitoring\n\n```bash\n# Health check script\ncat > ~\u002Fscripts\u002Fllm-health.sh \u003C\u003C 'SCRIPT'\n#!\u002Fbin\u002Fbash\n# Check Ollama\nif curl -sf http:\u002F\u002Flocalhost:11434\u002Fapi\u002Ftags > \u002Fdev\u002Fnull; then\n    echo \"$(date): Ollama OK\"\n    curl -s http:\u002F\u002Flocalhost:11434\u002Fapi\u002Fps | python3 -m json.tool\nelse\n    echo \"$(date): Ollama DOWN\"\n    # Restart\n    launchctl kickstart -k gui\u002F$(id -u)\u002Fcom.ollama.serve\nfi\n\n# System stats\necho \"CPU: $(top -l 1 -n 0 | grep 'CPU usage')\"\necho \"Memory: $(vm_stat | head -5)\"\necho \"Disk: $(df -h \u002F | tail -1)\"\necho \"Thermal: $(sudo powermetrics --samplers smc -n 1 2>\u002Fdev\u002Fnull | grep 'CPU die' || echo 'N\u002FA')\"\nSCRIPT\nchmod +x ~\u002Fscripts\u002Fllm-health.sh\n\n# Schedule health check every 5 minutes\n# Add to crontab: crontab -e\n# *\u002F5 * * * * ~\u002Fscripts\u002Fllm-health.sh >> ~\u002Flogs\u002Fllm-health.log 2>&1\n```\n\n### Memory Usage by Model\n\n| Model | RAM Required | Tokens\u002Fsec (M2) | Tokens\u002Fsec (M4) |\n|-------|-------------|-----------------|-----------------|\n| llama3.1:8b (Q4) | ~5 GB | ~25 t\u002Fs | ~45 t\u002Fs |\n| qwen2.5:14b (Q4) | ~9 GB | ~15 t\u002Fs | ~30 t\u002Fs |\n| llama3.1:70b (Q4) | ~40 GB | ~5 t\u002Fs | ~10 t\u002Fs |\n| nomic-embed-text | ~300 MB | N\u002FA | N\u002FA |\n| codellama:13b | ~8 GB | ~18 t\u002Fs | ~35 t\u002Fs |\n\n## Security Checklist\n\n```bash\n# Enable FileVault disk encryption\nsudo fdesetup enable\n\n# Enable firewall\nsudo \u002Fusr\u002Flibexec\u002FApplicationFirewall\u002Fsocketfilterfw --setglobalstate on\nsudo \u002Fusr\u002Flibexec\u002FApplicationFirewall\u002Fsocketfilterfw --setstealthmode on\n\n# Disable unnecessary sharing services\nsudo launchctl disable system\u002Fcom.apple.screensharing\nsudo launchctl disable system\u002Fcom.apple.AirPlayXPCHelper\n\n# Set strong admin password\n# System Settings > Users & Groups\n\n# Restrict Ollama to local network only (if not using Tailscale)\n# Set OLLAMA_HOST=127.0.0.1 in launchd plist\n```\n\n## Performance Tuning\n\n```bash\n# Increase file descriptor limits for concurrent requests\nsudo launchctl limit maxfiles 65536 200000\n\n# Check unified memory pressure\nmemory_pressure\n\n# Monitor GPU usage (Metal)\nsudo powermetrics --samplers gpu_power -n 1\n\n# Optimize for inference (disable Spotlight indexing on model dirs)\nmdutil -i off ~\u002F.ollama\n```\n\n## Troubleshooting\n\n| Issue | Solution |\n|-------|---------|\n| Model loading slow | First load caches to memory; subsequent loads are fast |\n| Out of memory | Use smaller quantization (Q4_K_M), reduce `OLLAMA_MAX_LOADED_MODELS` |\n| Mac sleeping | Run `sudo pmset -a disablesleep 1` |\n| Ollama not starting | Check `launchctl list | grep ollama`, view `\u002Ftmp\u002Follama.err` |\n| Slow over Wi-Fi | Use Ethernet; Wi-Fi adds latency to streaming responses |\n| Thermal throttling | Ensure adequate ventilation, check `powermetrics` |\n\n## Related Skills\n\n- ollama-stack (`ollama-stack`) — Software stack with Docker Compose and LiteLLM\n- ssh-configuration (`ssh-configuration`) — Secure remote access\n- vpn-setup (`vpn-setup`) — Remote access via WireGuard\u002FTailscale\n\n## Limitations\n\n- Infrastructure commands can disrupt services: confirm target host\u002Fscope and have backups\u002Fsnapshots before mutating state.\n- Docs-only import: upstream scripts and templates not bundled.\n\n","# Mac mini LLM Lab\n\nTurn a Mac mini into a low-noise, always-on local AI appliance.\n\n## When to Use This Skill\n\nUse this skill when:\n- Setting up a dedicated local LLM inference server\n- Building a private AI development environment\n- Need always-on model serving without cloud costs\n- Running models that fit the actual machine’s unified memory\n- Creating a home lab AI server for a small team\n\n## Prerequisites\n\n- An actual Apple Silicon Mac mini configuration with sufficient available memory for the selected model\n- macOS Sonoma 14+ or Sequoia 15+\n- Ethernet connection (recommended over Wi-Fi)\n- UPS for power protection (optional but recommended)\n\n## Host and exposure boundaries\n\nCheck actual model hardware\u002Fmemory and installed macOS\u002Ftool support first. The throughput\u002FRAM table is illustrative, not measured evidence or a fit guarantee; include KV cache\u002Fcontext\u002Fconcurrency overhead. Keep Ollama loopback-only by default; TLS alone in the Caddy example does not add authentication. Configure an authenticated private proxy\u002Ftunnel and access policy before remote exposure. Loopback binding must be deliberately adapted for Docker access, without exposing an unauthenticated LAN listener. Approve persistent services, downloads, updates, reboots and FileVault\u002Fpower changes separately as applicable; preserve existing settings and recovery access. Create script\u002Flog directories before writing them and do not run privileged diagnostics unattended from cron.\n\n## Initial System Setup\n\n```bash\n# Update macOS\nsoftwareupdate --install --all\n\n# Install Xcode command-line tools\nxcode-select --install\n\n# Install Homebrew\n# Obtain the official Homebrew installer at a reviewed version, inspect it,\n# and run the verified local file only after installation authorization.\n\n# Core packages\nbrew install tmux htop btop wget jq git neovim\n\n# Python environment (for MLX and custom scripts)\nbrew install python@3.12 uv\n\n# Monitoring\nbrew install prometheus node_exporter\n```\n\n## Ollama Setup\n\n```bash\n# Install Ollama\nbrew install ollama\n\n# Pull models based on your RAM\n# 16GB Mac mini:\nollama pull llama3.1:8b\nollama pull nomic-embed-text\nollama pull codellama:7b\n\n# 32GB Mac mini:\nollama pull llama3.1:8b\nollama pull qwen2.5:14b\nollama pull deepseek-coder-v2:16b\nollama pull nomic-embed-text\n\n# 64GB+ Mac mini:\nollama pull llama3.1:70b\nollama pull qwen2.5:32b\nollama pull codellama:34b\n\n# Verify Metal acceleration\nollama run llama3.1:8b --verbose\n# Look for: \"metal\" in output\n```\n\n## MLX Framework (Apple Silicon Native)\n\nMLX runs models natively on Apple Silicon with excellent performance:\n\n```bash\n# Install MLX\nuv pip install mlx mlx-lm\n\n# Run a model\npython3 -c \"\nfrom mlx_lm import load, generate\nmodel, tokenizer = load('mlx-community\u002FLlama-3.1-8B-Instruct-4bit')\nresponse = generate(model, tokenizer, prompt='Explain Docker in 3 sentences', max_tokens=200)\nprint(response)\n\"\n\n# MLX server (OpenAI-compatible API)\nuv pip install mlx-lm[server]\nmlx_lm.server --model mlx-community\u002FLlama-3.1-8B-Instruct-4bit --port 8080\n```\n\n## Auto-Start with launchd\n\n```xml\n\u003C!-- ~\u002FLibrary\u002FLaunchAgents\u002Fcom.ollama.serve.plist -->\n\u003C?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\u003C!DOCTYPE plist PUBLIC \"-\u002F\u002FApple\u002F\u002FDTD PLIST 1.0\u002F\u002FEN\" \"http:\u002F\u002Fwww.apple.com\u002FDTDs\u002FPropertyList-1.0.dtd\">\n\u003Cplist version=\"1.0\">\n\u003Cdict>\n    \u003Ckey>Label\u003C\u002Fkey>\n    \u003Cstring>com.ollama.serve\u003C\u002Fstring>\n    \u003Ckey>ProgramArguments\u003C\u002Fkey>\n    \u003Carray>\n        \u003Cstring>\u002Fopt\u002Fhomebrew\u002Fbin\u002Follama\u003C\u002Fstring>\n        \u003Cstring>serve\u003C\u002Fstring>\n    \u003C\u002Farray>\n    \u003Ckey>EnvironmentVariables\u003C\u002Fkey>\n    \u003Cdict>\n        \u003Ckey>OLLAMA_HOST\u003C\u002Fkey>\n        \u003Cstring>127.0.0.1:11434\u003C\u002Fstring>\n        \u003Ckey>OLLAMA_NUM_PARALLEL\u003C\u002Fkey>\n        \u003Cstring>4\u003C\u002Fstring>\n        \u003Ckey>OLLAMA_MAX_LOADED_MODELS\u003C\u002Fkey>\n        \u003Cstring>2\u003C\u002Fstring>\n        \u003Ckey>OLLAMA_FLASH_ATTENTION\u003C\u002Fkey>\n        \u003Cstring>1\u003C\u002Fstring>\n    \u003C\u002Fdict>\n    \u003Ckey>RunAtLoad\u003C\u002Fkey>\n    \u003Ctrue\u002F>\n    \u003Ckey>KeepAlive\u003C\u002Fkey>\n    \u003Ctrue\u002F>\n    \u003Ckey>StandardOutPath\u003C\u002Fkey>\n    \u003Cstring>\u002Ftmp\u002Follama.log\u003C\u002Fstring>\n    \u003Ckey>StandardErrorPath\u003C\u002Fkey>\n    \u003Cstring>\u002Ftmp\u002Follama.err\u003C\u002Fstring>\n\u003C\u002Fdict>\n\u003C\u002Fplist>\n```\n\n```bash\n# Load the service\nlaunchctl load ~\u002FLibrary\u002FLaunchAgents\u002Fcom.ollama.serve.plist\n\n# Check status\nlaunchctl list | grep ollama\n\n# Unload if needed\nlaunchctl unload ~\u002FLibrary\u002FLaunchAgents\u002Fcom.ollama.serve.plist\n```\n\n## Power & Reliability\n\n```bash\n# Prevent idle sleep on this desktop (record existing values for rollback)\nsudo pmset -a disablesleep 1\nsudo pmset -a sleep 0\n\n# Auto-restart after power failure\nsudo pmset -a autorestart 1\n\n# Schedule weekly reboot (Sunday 4 AM)\nsudo pmset repeat shutdown U 03:55:00 poweron U 04:00:00\n\n# Check power settings\npmset -g\n```\n\n## Remote Access\n\n### Tailscale (Recommended)\n\n```bash\n# Install Tailscale for easy secure remote access\nbrew install --cask tailscale\n\n# Enable from menu bar, authenticate\n# Access your Mac mini from anywhere: http:\u002F\u002Fmac-mini:11434\n```\n\n### SSH Hardening\n\n```bash\n# Enable remote login\nsudo systemsetup -setremotelogin on\n\n# Edit SSH config\nsudo nano \u002Fetc\u002Fssh\u002Fsshd_config\n# Add:\n# PasswordAuthentication no\n# PubkeyAuthentication yes\n# PermitRootLogin no\n# AllowUsers yourusername\n\n# Restart SSH\nsudo launchctl unload \u002FSystem\u002FLibrary\u002FLaunchDaemons\u002Fssh.plist\nsudo launchctl load \u002FSystem\u002FLibrary\u002FLaunchDaemons\u002Fssh.plist\n```\n\n### Reverse Proxy with Caddy\n\n```bash\nbrew install caddy\n\n# Caddyfile\ncat > \u002Fopt\u002Fhomebrew\u002Fetc\u002FCaddyfile \u003C\u003C 'EOF'\nllm.local:443 {\n    tls internal\n    reverse_proxy localhost:11434\n\n    @api path \u002Fv1\u002F*\n    handle @api {\n        reverse_proxy localhost:11434\n    }\n}\n\nwebui.local:443 {\n    tls internal\n    reverse_proxy localhost:3000\n}\nEOF\n\nbrew services start caddy\n```\n\n## Open WebUI Setup\n\n```bash\n# Run Open WebUI via Docker\ndocker run -d \\\n  --name open-webui \\\n  -p 3000:8080 \\\n  -e OLLAMA_BASE_URL=http:\u002F\u002Fhost.docker.internal:11434 \\\n  -e WEBUI_AUTH=true \\\n  -v open-webui:\u002Fapp\u002Fbackend\u002Fdata \\\n  --restart unless-stopped \\\n  ghcr.io\u002Fopen-webui\u002Fopen-webui:main\n\n# Or install Docker first if not available\nbrew install --cask docker\n```\n\n## Monitoring\n\n```bash\n# Health check script\ncat > ~\u002Fscripts\u002Fllm-health.sh \u003C\u003C 'SCRIPT'\n#!\u002Fbin\u002Fbash\n# Check Ollama\nif curl -sf http:\u002F\u002Flocalhost:11434\u002Fapi\u002Ftags > \u002Fdev\u002Fnull; then\n    echo \"$(date): Ollama OK\"\n    curl -s http:\u002F\u002Flocalhost:11434\u002Fapi\u002Fps | python3 -m json.tool\nelse\n    echo \"$(date): Ollama DOWN\"\n    # Restart\n    launchctl kickstart -k gui\u002F$(id -u)\u002Fcom.ollama.serve\nfi\n\n# System stats\necho \"CPU: $(top -l 1 -n 0 | grep 'CPU usage')\"\necho \"Memory: $(vm_stat | head -5)\"\necho \"Disk: $(df -h \u002F | tail -1)\"\necho \"Thermal: $(sudo powermetrics --samplers smc -n 1 2>\u002Fdev\u002Fnull | grep 'CPU die' || echo 'N\u002FA')\"\nSCRIPT\nchmod +x ~\u002Fscripts\u002Fllm-health.sh\n\n# Schedule health check every 5 minutes\n# Add to crontab: crontab -e\n# *\u002F5 * * * * ~\u002Fscripts\u002Fllm-health.sh >> ~\u002Flogs\u002Fllm-health.log 2>&1\n```\n\n### Memory Usage by Model\n\n| Model | RAM Required | Tokens\u002Fsec (M2) | Tokens\u002Fsec (M4) |\n|-------|-------------|-----------------|-----------------|\n| llama3.1:8b (Q4) | ~5 GB | ~25 t\u002Fs | ~45 t\u002Fs |\n| qwen2.5:14b (Q4) | ~9 GB | ~15 t\u002Fs | ~30 t\u002Fs |\n| llama3.1:70b (Q4) | ~40 GB | ~5 t\u002Fs | ~10 t\u002Fs |\n| nomic-embed-text | ~300 MB | N\u002FA | N\u002FA |\n| codellama:13b | ~8 GB | ~18 t\u002Fs | ~35 t\u002Fs |\n\n## Security Checklist\n\n```bash\n# Enable FileVault disk encryption\nsudo fdesetup enable\n\n# Enable firewall\nsudo \u002Fusr\u002Flibexec\u002FApplicationFirewall\u002Fsocketfilterfw --setglobalstate on\nsudo \u002Fusr\u002Flibexec\u002FApplicationFirewall\u002Fsocketfilterfw --setstealthmode on\n\n# Disable unnecessary sharing services\nsudo launchctl disable system\u002Fcom.apple.screensharing\nsudo launchctl disable system\u002Fcom.apple.AirPlayXPCHelper\n\n# Set strong admin password\n# System Settings > Users & Groups\n\n# Restrict Ollama to local network only (if not using Tailscale)\n# Set OLLAMA_HOST=127.0.0.1 in launchd plist\n```\n\n## Performance Tuning\n\n```bash\n# Increase file descriptor limits for concurrent requests\nsudo launchctl limit maxfiles 65536 200000\n\n# Check unified memory pressure\nmemory_pressure\n\n# Monitor GPU usage (Metal)\nsudo powermetrics --samplers gpu_power -n 1\n\n# Optimize for inference (disable Spotlight indexing on model dirs)\nmdutil -i off ~\u002F.ollama\n```\n\n## Troubleshooting\n\n| Issue | Solution |\n|-------|---------|\n| Model loading slow | First load caches to memory; subsequent loads are fast |\n| Out of memory | Use smaller quantization (Q4_K_M), reduce `OLLAMA_MAX_LOADED_MODELS` |\n| Mac sleeping | Run `sudo pmset -a disablesleep 1` |\n| Ollama not starting | Check `launchctl list | grep ollama`, view `\u002Ftmp\u002Follama.err` |\n| Slow over Wi-Fi | Use Ethernet; Wi-Fi adds latency to streaming responses |\n| Thermal throttling | Ensure adequate ventilation, check `powermetrics` |\n\n## Related Skills\n\n- ollama-stack (`ollama-stack`) — Software stack with Docker Compose and LiteLLM\n- ssh-configuration (`ssh-configuration`) — Secure remote access\n- vpn-setup (`vpn-setup`) — Remote access via WireGuard\u002FTailscale\n\n## Limitations\n\n- Infrastructure commands can disrupt services: confirm target host\u002Fscope and have backups\u002Fsnapshots before mutating state.\n- Docs-only import: upstream scripts and templates not bundled.\n\n",{"name":5,"risk":28,"source":46,"license":14,"category":47,"metadata":48,"date_added":51,"description":7,"source_repo":52,"source_type":34,"compatibility":53,"license_source":54},"https:\u002F\u002Fgithub.com\u002FBagelHole\u002FDevOps-Security-Agent-Skills","devops",{"author":49,"version":50},"devops-skills","1.0","2026-09-20","BagelHole\u002FDevOps-Security-Agent-Skills","Requires the relevant OS\u002Fplatform tooling and privileged access where noted. Docs-only; helper scripts and templates not bundled.","https:\u002F\u002Fgithub.com\u002FBagelHole\u002FDevOps-Security-Agent-Skills\u002Fblob\u002Fmain\u002FLICENSE","7bf2279c8a65758319526a721d5c4b75683aec9c","skills\u002Fantigravity-mac-mini-llm-lab",3,"https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections","https:\u002F\u002Fgithub.com\u002Fboisenoise","2026-11-14 14:18:11",{"source":8,"skillName":5,"commands":62,"prompt":72,"zipAvailable":73},[63,66,69],{"tool":64,"command":65},"npx","npx skills add boisenoise\u002Fskills-collections --skill mac-mini-llm-lab",{"tool":67,"command":68},"bunx","bunx skills add boisenoise\u002Fskills-collections --skill mac-mini-llm-lab",{"tool":70,"command":71},"pnpm","pnpm dlx skills add boisenoise\u002Fskills-collections --skill mac-mini-llm-lab","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-mac-mini-llm-lab\u002FSKILL.md",true,[],[76,85,93,102,110,118],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":80,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":84},"01M7B6HREHB53EHGGVZND7DDXN","scrapely-scrape","Collect web data with ready-made Scrape.ly scrapers: Google Maps places, Amazon products, LinkedIn jobs, reviews, social posts. Use when the user wants structured data from a site.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-scrapely-scrape\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-scrapely-scrape\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":89,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":84},"01M7B6GDNNN4HE662KA6KPF7GW","lumify-odds","Lumify's hosted sports MCP\u002FREST API for sportsbook odds, line-movement history, public betting splits, and player props across MLB, NFL, NBA, NHL, soccer, tennis, NCAAF, NCAAB. Read-only market data.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-lumify-odds\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-lumify-odds\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":97,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":101},"01M743PZMJW2GEKG5J199GPSK7","sync-lipsync","Lip-sync an existing video of a real person to new audio or a typed script with sync. labs through its hosted MCP server, quoting the cost and waiting for approval first.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-sync-lipsync\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-sync-lipsync\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":106,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":101},"01M743MMN3CKTJVNRSZMB684E5","music-for-robots","Optional music-inspired creative exercise for multimodal agents. Ingests an unquantized acoustic MP3 composition by Michael Luchtan (Music For Robots) into a private temporary directory, analyzing microtiming and texture to inspire creative writing, brainstorming, or technical tasks.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-music-for-robots\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-music-for-robots\u002FSKILL.md",[],[],{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":114,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":101},"01M743KC2GN5WE11BSTWSSWD8B","imagera-media","Generate or edit images, video clips, voiceovers and music through the hosted Imagera MCP server, quoting the credit cost and getting approval before each paid call.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-imagera-media\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-imagera-media\u002FSKILL.md",[],[],{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":122,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":101},"01M743HDJNZQA8A4VT68NWGWQJ","deja-history","Search this machine's past AI coding sessions across Claude Code, Codex, Cursor, Gemini CLI and thirty-nine other agents before editing, debugging, or denying something exists.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-deja-history\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-deja-history\u002FSKILL.md",[],[]]