openclaw-local-mac-mini – skill Agent & Tự động hóa cho agent AI
Cài đặt OpenClaw cục bộ và vận hành ổn định trên Mac mini cho các quy trình agent cục bộ riêng tư, chạy liên tục.
Cài skill openclaw-local-mac-mini bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/openclaw-local-mac-mini-30884.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /openclaw-local-mac-mini – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/openclaw-local-mac-mini-30884.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $openclaw-local-mac-mini – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/openclaw-local-mac-mini-30884.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /openclaw-local-mac-mini – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/openclaw-local-mac-mini-30884.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /openclaw-local-mac-mini – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
OpenClaw Local + Mac mini Setup
When to Use
Use when setting up or reviewing a private OpenClaw host on macOS, choosing its service lifecycle, or diagnosing host reliability. This guide does not authorize installing tools, changing account permissions, exposing ports or connecting messaging accounts.
Prerequisites
Select a reviewed immutable OpenClaw release and inspect its official prerequisites and installation method. Current upstream getting-started documentation lists Node.js 24.16+ or 26.1+; verify the selected release rather than reusing historical Node 18 guidance. Establish the host/user, approved provider credentials, storage, backup, spending limits and allowed tool/channel scope before onboarding.
Procedure
1. Inventory the existing installation and preserve config/data before changes. Download external source/installers only with authorization, pin the reviewed release/commit, inspect the complete tree and lifecycle hooks in a temporary directory, then obtain activation/install authorization. Never pipe an unreviewed network installer into a shell.
2. Use that release's documented installer or package workflow. Do not assume this application has db:migrate, dist/server.js, Redis, port3000 or /api/health: the previous generic web-app examples did not establish those interfaces.
3. Configure through the supported onboarding interface under the intended non-admin user. Keep credentials in the supported secret mechanism, with restricted file permissions; do not overwrite an existing .env or put secrets in command arguments. Cloud models still transmit prompts off-host; local hosting alone is not a privacy guarantee.
4. After approval to install persistence, use the supported Gateway service. The official macOS path uses a per-user LaunchAgent, not the generic root LaunchDaemon formerly shown here. Record login/unlock/reboot limitations.
# Existing reviewed CLI: inspect before making changes.
openclaw --version
openclaw gateway status
# Authorized background service installation:
openclaw gateway install
# Open the local UI for an authenticated, non-sensitive smoke check:
openclaw dashboard5. Verify the actual listener/address and authentication from both allowed and denied clients. The documented default Gateway port is18789; inspect configuration rather than assuming it. Bind privately, require authentication/pairing and restrict remote access to intended identities. A VPN is additional transport/access control, not authorization for agent tools.
6. Test provider access with a synthetic prompt only after cost/data authorization; verify tool permissions, cancellation, logging and a restore procedure. Record exact versions and observations; dashboard HTTP success alone is not a working agent or native-session reload proof.
Host Reliability
Use [host and operational checks](references/details.md). Preserve FileVault and screen locking. FileVault may require an interactive unlock after reboot; test this with the user's recovery plan before claiming unattended availability. Review any power setting with its previous value and restore path; do not create an admin service account, disable screen security, or enable broad firewall access as a default.
For Docker, use only the selected release's actual supported Compose files. Pin images, bind approved ports to loopback, keep volumes/backups explicit and verify the macOS container runtime starts in the intended user session. Do not add optional Redis/Ollama services without a demonstrated need; Linux containers on macOS do not imply native Apple GPU acceleration. Never remove volumes as routine troubleshooting.
Examples
For a host that stops after logout, record the CLI version, Gateway status, service owner and login state; compare the selected release's service documentation. Restore the supported per-user service rather than adding a second root-managed process. Verify one process owns the configured port and test restart under an approved maintenance window.
Limitations
No CLI, host, installation or provider request was exercised by this documentation. Hardware sizing depends on the workload and selected local model. This tree contains guidance only, not an installer or production Compose template. Channel pairing, remote access, persistence and paid model requests need explicit target-specific authorization.
Primary Reference
- [Official getting started](https://docs.openclaw.ai/start/getting-started)
Skill liên quan
- optim-agent – Hướng dẫn agent tối ưu tham số cho hệ thống có thể cấu hình, với mục tiêu đo lường được…
- orca-replay – Trả lời các câu hỏi về một lần chạy agent trước đó dựa trên bản ghi của lần chạy đó thay…
- orchestrate – Điều phối các subagent tập trung cho công việc lớn, giữ phạm vi phụ trách không chồng…
- os-scripting – Quy trình xử lý sự cố shell và script hệ điều hành cho Linux, macOS và Windows. Bao gồm…
- outlook-automation – Tự động hóa các tác vụ Outlook qua Rube MCP (Composio): email, lịch, danh bạ, thư mục…
- outlook-calendar-automation – Tự động hóa tác vụ Outlook Calendar qua Rube MCP (Composio): tạo sự kiện, quản lý người…
- pagerduty-automation – Tự động hóa tác vụ PagerDuty qua Rube MCP (Composio): quản lý sự cố, dịch vụ, lịch trực…
- parallel-agents – Các mẫu điều phối đa agent. Dùng khi nhiều tác vụ độc lập có thể chạy song song với…