Token导航 LogoToken导航

Agent Skill · 运维

mac-mini-server(Mac 迷你服务器)

mac-mini-server 用于辅助部署、云资源、容器和基础设施运维,适合在 OpenClaw 中需要检查配置、整理部署步骤或排查环境问题时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

mac-mini-server 是运维类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描有提醒项,按安装量在运维类的 954 个 Skill 里排第 339。

总安装 10,890周安装 463GitHub Stars 公开资料未说明下载 3,815核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:mac-mini-server(Mac 迷你服务器)
来源仓库:https://github.com/aiwithabidi/mac-mini-server
安装命令:
openclaw skills install mac-mini-server
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install mac-mini-server

这个 Skill 是做什么的

运维类 Skill 处理部署、监控、日志和云资源,多数需要较高的执行权限。

将 Mac Mini 配置为持续运行的 AI 服务器节点。涵盖硬件选型、Docker 部署与 Tailscale 远程接入方案。提供 launchd 自启动配置保障服务连续性。涉及网络暴露需加强防火墙与安全策略设置。mac-mini-server 属于运维类 Skill,可作为该场景下的辅助能力补充。

长期运行可能加速硬件老化,建议定期维护检查。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install mac-mini-server;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

mac-mini-server 怎么安装?

在终端执行 openclaw skills install mac-mini-server。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

mac-mini-server 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

mac-mini-server 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

mac-mini-server 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

mac-mini-server 用的人多吗?

公开数据是累计安装 10,890 次,近一周安装 463 次,下载 3,815 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

mac-mini-server 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理运维类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

运维类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
docker-essentials

Docker 基础 · OpenClaw

1,005,15130接触敏感数据MIT-0通过
playwright-scraper-skill

Playwright scraper 技能 · OpenClaw

923,55754接触敏感数据MIT-0有提醒
moltguard

moltguard 搜索 · OpenClaw

825,096110接触敏感数据MIT-0通过
finance-news

财经新闻 · OpenClaw

275,51210需要联网MIT-0有提醒
security-monitor

安全监视器 · OpenClaw

224,1695需要联网MIT-0有提醒
mac-mini-server

Mac 迷你服务器 · 本页

10,890—需要联网MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
mac-mini-server
description
Set up OpenClaw on Mac Mini as always-on AI server — hardware recommendations, macOS config, Docker Desktop, launchd auto-start, Tailscale remote access, and cost comparison vs VPS. Use when deploying OpenClaw on Mac Mini for 24/7 personal AI.
homepage
https://www.agxntsix.ai
license
MIT
compatibility
macOS, Homebrew
metadata
{"openclaw": {"emoji": "\�\�\️", "homepage": "https://www.agxntsix.ai"}}

🖥️ Mac Mini Server

Complete guide to running OpenClaw on a Mac Mini as an always-on AI server. From hardware selection to monitoring.


1. Hardware Recommendations

Mac Mini M4 (2024) — $499 base

SpecBaseUpgraded
CPU10-core10-core
GPU10-core10-core
RAM16GB32GB (+$200)
Storage256GB512GB (+$200)

Best for: Personal assistant, small team, cloud API-only usage. Recommendation: Upgrade to 32GB RAM ($699 total) — worth it for Docker overhead + future local models.

Mac Mini M4 Pro — $1,399 base

SpecBaseUpgraded
CPU12-core14-core
GPU16-core20-core
RAM24GB48GB (+$200) / 64GB (+$400)
Storage512GB1TB (+$200)

Best for: Local model inference (Ollama), multiple clients, heavy workloads. Recommendation: 48GB RAM ($1,599) for running 7B-13B models locally alongside OpenClaw.

Which One?

Use CasePickWhy
Cloud APIs only (Claude, GPT)M4 32GBPlenty of power, great value
Local + cloud hybridM4 Pro 48GBRun Ollama + OpenClaw together
Multi-client serverM4 Pro 64GBHeadroom for multiple agents
Budget-consciousM4 16GBWorks fine for single user

2. macOS Initial Setup

Disable Sleep & Energy Settings

# Prevent sleep entirely
sudo pmset -a sleep 0
sudo pmset -a disksleep 0
sudo pmset -a displaysleep 0

# Restart after power failure
sudo pmset -a autorestart 1

# Disable hibernation
sudo pmset -a hibernatemode 0

# Verify settings
pmset -g

System Settings UI path: System Settings → Energy → set all to Never.

Enable Auto-Login

  1. System Settings → Users & Groups → Automatic Login → select your user
  2. System Settings → Lock Screen → disable "Require password"
⚠️ Only do this on a physically secure machine. The Mac Mini should be in a locked location.

Disable Automatic Updates Reboots

# Prevent auto-restart for updates
sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate AutomaticallyInstallMacOSUpdates -bool false

Update manually on your schedule instead.

Enable Remote Access

# Enable SSH
sudo systemsetup -setremotelogin on

# Enable Screen Sharing (optional)
sudo defaults write /var/db/launchd.db/com.apple.launchd/overrides.plist com.apple.screensharing -dict Disabled -bool false
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.screensharing.plist

3. Homebrew + Docker Desktop

Install Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"

Install Docker Desktop

brew install --cask docker

# Launch Docker Desktop
open -a Docker

# Wait for Docker to start, then verify
docker --version
docker compose version

Docker Desktop Settings:

  • Resources → CPUs: leave 2 for macOS, give rest to Docker
  • Resources → Memory: leave 4GB for macOS, give rest to Docker
  • General → Start Docker Desktop when you sign in: ✅

Install Essential Tools

brew install git node pnpm tailscale jq htop

4. OpenClaw Docker Compose Setup

Clone and Build

cd ~
git clone https://github.com/openclaw/openclaw.git
cd openclaw

# Install dependencies and build
pnpm install
pnpm build

# Build Docker image
docker build -t openclaw:latest .

Configure

mkdir -p ~/.openclaw
cp openclaw.example.json ~/.openclaw/openclaw.json
nano ~/.openclaw/openclaw.json

docker-compose.yml

version: "3.8"
services:
  openclaw-gateway:
    image: openclaw:latest
    container_name: openclaw-gateway
    restart: unless-stopped
    volumes:
      - ~/.openclaw:/home/node/.openclaw
      - ./:/host/openclaw:rw
      - /var/run/docker.sock:/var/run/docker.sock
      - ~/.ssh:/home/node/.ssh:ro
    ports:
      - "127.0.0.1:3000:3000"
    environment:
      - NODE_ENV=production
⚠️ ALWAYS use 127.0.0.1: prefix on ports. Never expose to 0.0.0.0.

Launch

docker compose up -d
docker compose logs -f  # verify startup

5. Launchd Service (Auto-Start on Boot)

Create ~/Library/LaunchAgents/com.openclaw.gateway.plist:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>com.openclaw.gateway</string>
    <key>ProgramArguments</key>
    <array>
        <string>/usr/local/bin/docker</string>
        <string>compose</string>
        <string>-f</string>
        <string>/Users/YOUR_USER/openclaw/docker-compose.yml</string>
        <string>up</string>
        <string>-d</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
    <key>KeepAlive</key>
    <false/>
    <key>StartInterval</key>
    <integer>300</integer>
    <key>StandardOutPath</key>
    <string>/tmp/openclaw-launchd.log</string>
    <key>StandardErrorPath</key>
    <string>/tmp/openclaw-launchd-err.log</string>
    <key>EnvironmentVariables</key>
    <dict>
        <key>PATH</key>
        <string>/usr/local/bin:/opt/homebrew/bin:/usr/bin:/bin</string>
    </dict>
</dict>
</plist>
# Replace YOUR_USER with actual username
sed -i '' "s/YOUR_USER/$(whoami)/g" ~/Library/LaunchAgents/com.openclaw.gateway.plist

# Load the service
launchctl load ~/Library/LaunchAgents/com.openclaw.gateway.plist

# Verify
launchctl list | grep openclaw

6. Tailscale for Remote Access

# Install (already done via brew)
brew install --cask tailscale

# Or use CLI version
brew install tailscale

# Start and authenticate
sudo tailscale up

# Get your Tailscale IP
tailscale ip -4

# Enable Tailscale Serve for HTTPS
tailscale serve https / http://127.0.0.1:3000

Access from Anywhere

  • SSH: ssh user@100.x.x.x
  • OpenClaw: https://mac-mini.tail-xxxxx.ts.net
  • No port forwarding needed
  • End-to-end encrypted

Tailscale ACLs (recommended)

In the Tailscale admin console, restrict who can access the Mac Mini:

{
  "acls": [
    {"action": "accept", "src": ["your-devices"], "dst": ["mac-mini:*"]}
  ]
}

7. Telegram Bot Configuration

# 1. Create bot via @BotFather on Telegram
# 2. Get your user ID via @userinfobot
# 3. Edit config
nano ~/.openclaw/openclaw.json

Add to config:

{
  "channels": {
    "telegram": {
      "enabled": true,
      "token": "YOUR_BOT_TOKEN",
      "dmPolicy": "allowlist",
      "dmAllowlist": ["YOUR_USER_ID"]
    }
  }
}
# Restart to apply
docker compose restart

8. Port Forwarding Alternatives

If Tailscale isn't an option:

MethodProsCons
Tailscale (recommended)Zero config, encrypted, freeRequires client on each device
Cloudflare TunnelFree, no open portsSlight latency, CF dependency
ngrokEasy setupFree tier limited, costs for production
Router port forwardingDirect accessSecurity risk, dynamic IP issues
WireGuardFast, self-hostedManual setup, maintain yourself

Cloudflare Tunnel (alternative to Tailscale)

brew install cloudflared
cloudflared tunnel login
cloudflared tunnel create openclaw
cloudflared tunnel route dns openclaw agent.yourdomain.com

# Create config: ~/.cloudflared/config.yml
cat > ~/.cloudflared/config.yml << EOF
tunnel: YOUR_TUNNEL_ID
credentials-file: /Users/$USER/.cloudflared/YOUR_TUNNEL_ID.json
ingress:
  - hostname: agent.yourdomain.com
    service: http://localhost:3000
  - service: http_status:404
EOF

cloudflared tunnel run openclaw

9. UPS Recommendations

A UPS prevents data corruption during power outages and gives time for graceful shutdown.

ModelCapacityRuntimePriceBest For
APC BE425M425VA~15min$55Budget, Mac Mini only
CyberPower CP685AVRG685VA~20min$80Mac Mini + router
APC BR700G700VA~25min$120Mac Mini + monitor + router
CyberPower CP1500PFCLCD1500VA~45min$220Full setup with margin

Recommendation: CyberPower CP685AVRG — enough for Mac Mini + router, good price-to-runtime ratio.

Auto-Shutdown on Power Loss

# macOS reads UPS status via USB automatically
# Configure in System Settings → Energy → UPS
# Set: "Shut down after using UPS battery for: 10 minutes"

10. Monitoring and Alerts

Basic Health Check Script

Save as ~/{baseDir}/scripts/health_check.sh:

#!/bin/bash
# Check if OpenClaw container is running
if ! docker ps | grep -q openclaw-gateway; then
    echo "$(date): OpenClaw container not running! Restarting..." >> /tmp/openclaw-monitor.log
    cd ~/openclaw && docker compose up -d
    # Send alert via Telegram (if bot is available on host)
    curl -s "https://api.telegram.org/botYOUR_TOKEN/sendMessage" \
      -d "chat_id=YOUR_ID&text=⚠️ OpenClaw was down. Auto-restarted."
fi

Cron-Based Monitoring

crontab -e
# Check every 5 minutes
*/5 * * * * bash ~/{baseDir}/scripts/health_check.sh

System Metrics

# Install monitoring tools
brew install htop btop

# Check resources
htop                          # Interactive process viewer
docker stats                  # Container resource usage
df -h                         # Disk space

Uptime Monitoring (External)

Consider free external monitors:


11. Cost Comparison

Mac Mini M4 32GB ($699 one-time)

ItemMonthly Cost
Electricity (~15W average)~$2
Internet (existing)$0
TailscaleFree
AI APIs$50-500
Total$52-502/mo
Year 1 (with hardware)$1,323-6,723
Year 2+$624-6,024

VPS (Hetzner CX32 — 4 vCPU, 8GB RAM)

ItemMonthly Cost
Server$15
AI APIs$50-500
Total$65-515/mo
Year 1$780-6,180

Cloud (AWS t3.large)

ItemMonthly Cost
EC2$60
Storage$10
Bandwidth$5-20
AI APIs$50-500
Total$125-590/mo
Year 1$1,500-7,080

Verdict

FactorMac MiniVPSCloud
Upfront cost$699$0$0
Monthly costLowestLowHighest
PerformanceBest (M4 chip)GoodGood
LatencyDepends on internetConsistentConsistent
MaintenanceYou handleManagedManaged
Local models✅ Yes❌ No❌ Expensive
Break-even vs VPS~4 years——

TL;DR: Mac Mini wins if you want local model capability or plan to run 2+ years. VPS wins for simplicity and no upfront cost. Cloud is for enterprises with compliance needs.


Quick Start Checklist

  • [ ] Buy Mac Mini (M4 32GB recommended)
  • [ ] macOS setup (disable sleep, auto-login, SSH)
  • [ ] Install Homebrew, Docker, tools
  • [ ] Clone and build OpenClaw
  • [ ] Configure openclaw.json
  • [ ] docker compose up -d
  • [ ] Set up launchd auto-start
  • [ ] Install and configure Tailscale
  • [ ] Set up Telegram bot
  • [ ] Connect UPS
  • [ ] Configure health monitoring
  • [ ] Test reboot recovery

Credits

Built by M. Abidi | agxntsix.ai YouTube | GitHub Part of the AgxntSix Skill Suite for OpenClaw agents.

📅 Need help setting up OpenClaw for your business? Book a free consultation

平台分布

OpenClaw

85.83%
按下载量换算3,274

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills