# Send clawdbot-macos-build to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "clawdbot-macos-build",
    "name": "clawdbot-macos-build",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/manish-basargekar/clawdbot-macos-build",
    "canonicalUrl": "https://clawhub.ai/manish-basargekar/clawdbot-macos-build",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/clawdbot-macos-build",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=clawdbot-macos-build",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "package.json",
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/clawdbot-macos-build"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/clawdbot-macos-build",
    "downloadUrl": "https://openagent3.xyz/downloads/clawdbot-macos-build",
    "agentUrl": "https://openagent3.xyz/skills/clawdbot-macos-build/agent",
    "manifestUrl": "https://openagent3.xyz/skills/clawdbot-macos-build/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/clawdbot-macos-build/agent.md"
  }
}
```
## Documentation

### Clawdbot macOS App Build

The macOS companion app provides menu-bar status, native notifications, and access to Mac hardware (camera, screen recording, system commands). This skill builds it from source.

### Prerequisites

macOS (10.14+)
Xcode 15+ with Command Line Tools
Node.js >= 22
pnpm package manager
30+ GB free disk space (Swift build artifacts)
Internet connection (large dependencies)

### Quick Build

# Clone repo
cd /tmp && rm -rf clawdbot-build && git clone https://github.com/clawdbot/clawdbot.git clawdbot-build

# Install + build
cd /tmp/clawdbot-build
pnpm install
pnpm ui:build

# Accept Xcode license (one-time)
sudo xcodebuild -license accept

# Build macOS app with ad-hoc signing
ALLOW_ADHOC_SIGNING=1 bash scripts/package-mac-app.sh

# Install to /Applications
cp -r dist/Clawdbot.app /Applications/Clawdbot.app

# Launch
open /Applications/Clawdbot.app

### 1. Clone Repository

Clones the latest Clawdbot source from GitHub. This includes the macOS app source in apps/macos/.

### 2. Install Dependencies (pnpm install)

Installs Node.js dependencies for the entire workspace (~1 minute). Warnings about missing binaries in some extensions are harmless.

### 3. Build UI (pnpm ui:build)

Compiles the Control UI (Vite → TypeScript/React). Output goes to dist/control-ui/. Takes ~30 seconds.

### 4. Accept Xcode License

Required once per Xcode update. If you get "license not agreed" errors during Swift build, run:

sudo xcodebuild -license accept

### 5. Package macOS App (scripts/package-mac-app.sh)

Runs the full Swift build pipeline:

Fetches Swift package dependencies (SwiftUI libraries, etc.)
Compiles the macOS app for your architecture (arm64 for M1+, x86_64 for Intel)
Bundles resources (model catalog, localizations, etc.)
Code-signs the app

Signing options:

Ad-hoc signing (fastest): ALLOW_ADHOC_SIGNING=1 — good for local testing, app won't notarize for distribution
Developer ID signing (production): Set SIGN_IDENTITY="Developer ID Application: <name>" if you have a signing certificate

This step takes 10-20 minutes depending on your Mac.

### 6. Install to /Applications

Copies the built app to the system Applications folder so it runs like any other macOS app.

### 7. Launch

Opens the app. On first run, you'll see permission prompts (Notifications, Accessibility, Screen Recording, etc.) — approve them for full functionality.

### "Invalid tools version"

Swift build requires 6.2+. Update Xcode:

softwareupdate -i -a

### "License not agreed"

sudo xcodebuild -license accept

### "No signing identity found"

Use ad-hoc signing for local builds:

ALLOW_ADHOC_SIGNING=1 bash scripts/package-mac-app.sh

### Swift compilation hangs or is very slow

Ensure Xcode is fully updated: xcode-select --install or update via App Store
Check disk space: df -h (need ~30GB free)
Close other apps to free RAM

### App won't launch after build

Check that it's properly signed:

codesign -v /Applications/Clawdbot.app

If signing failed, rebuild with ALLOW_ADHOC_SIGNING=1.

### What the App Does

Menu bar status — See Gateway health and receive notifications
Permission management — Owns TTC prompts for Notifications, Accessibility, Screen Recording, Microphone, etc.
Local/Remote modes:

Local: Gateway runs on your Mac; app manages launchd service
Remote: App connects to Gateway on another machine (VPS, home server) via SSH/Tailscale; keeps your Mac accessible even while sleeping


Mac hardware access: Camera, screen recording, Canvas, voice wake-word
Deep linking: Trigger agent requests via clawdbot:// URL scheme

See the official docs: https://docs.clawd.bot/platforms/macos

### Building for Distribution

For production distribution, you'll need:

Apple Developer ID certificate (paid)
Notarization credentials
See: https://docs.clawd.bot/platforms/mac/release

For personal use, ad-hoc signing is fine.

### Next Steps

After the app launches:

Complete the permission checklist (TCC prompts)
Choose Local or Remote mode
If Local: ensure the Gateway is running (clawdbot gateway status)
Open Clawdbot.app menu bar icon to configure

Then from the terminal, you can manage the Gateway:

clawdbot gateway status
clawdbot gateway restart
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: manish-basargekar
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-05-07T17:22:31.273Z
- Expires at: 2026-05-14T17:22:31.273Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/clawdbot-macos-build)
- [Send to Agent page](https://openagent3.xyz/skills/clawdbot-macos-build/agent)
- [JSON manifest](https://openagent3.xyz/skills/clawdbot-macos-build/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/clawdbot-macos-build/agent.md)
- [Download page](https://openagent3.xyz/downloads/clawdbot-macos-build)