{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/clawdbot-macos-build",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=clawdbot-macos-build",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "package.json",
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/clawdbot-macos-build",
    "agentPageUrl": "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"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Clawdbot macOS App Build",
        "body": "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."
      },
      {
        "title": "Prerequisites",
        "body": "macOS (10.14+)\nXcode 15+ with Command Line Tools\nNode.js >= 22\npnpm package manager\n30+ GB free disk space (Swift build artifacts)\nInternet connection (large dependencies)"
      },
      {
        "title": "Quick Build",
        "body": "# Clone repo\ncd /tmp && rm -rf clawdbot-build && git clone https://github.com/clawdbot/clawdbot.git clawdbot-build\n\n# Install + build\ncd /tmp/clawdbot-build\npnpm install\npnpm ui:build\n\n# Accept Xcode license (one-time)\nsudo xcodebuild -license accept\n\n# Build macOS app with ad-hoc signing\nALLOW_ADHOC_SIGNING=1 bash scripts/package-mac-app.sh\n\n# Install to /Applications\ncp -r dist/Clawdbot.app /Applications/Clawdbot.app\n\n# Launch\nopen /Applications/Clawdbot.app"
      },
      {
        "title": "1. Clone Repository",
        "body": "Clones the latest Clawdbot source from GitHub. This includes the macOS app source in apps/macos/."
      },
      {
        "title": "2. Install Dependencies (pnpm install)",
        "body": "Installs Node.js dependencies for the entire workspace (~1 minute). Warnings about missing binaries in some extensions are harmless."
      },
      {
        "title": "3. Build UI (pnpm ui:build)",
        "body": "Compiles the Control UI (Vite → TypeScript/React). Output goes to dist/control-ui/. Takes ~30 seconds."
      },
      {
        "title": "4. Accept Xcode License",
        "body": "Required once per Xcode update. If you get \"license not agreed\" errors during Swift build, run:\n\nsudo xcodebuild -license accept"
      },
      {
        "title": "5. Package macOS App (scripts/package-mac-app.sh)",
        "body": "Runs the full Swift build pipeline:\n\nFetches Swift package dependencies (SwiftUI libraries, etc.)\nCompiles the macOS app for your architecture (arm64 for M1+, x86_64 for Intel)\nBundles resources (model catalog, localizations, etc.)\nCode-signs the app\n\nSigning options:\n\nAd-hoc signing (fastest): ALLOW_ADHOC_SIGNING=1 — good for local testing, app won't notarize for distribution\nDeveloper ID signing (production): Set SIGN_IDENTITY=\"Developer ID Application: <name>\" if you have a signing certificate\n\nThis step takes 10-20 minutes depending on your Mac."
      },
      {
        "title": "6. Install to /Applications",
        "body": "Copies the built app to the system Applications folder so it runs like any other macOS app."
      },
      {
        "title": "7. Launch",
        "body": "Opens the app. On first run, you'll see permission prompts (Notifications, Accessibility, Screen Recording, etc.) — approve them for full functionality."
      },
      {
        "title": "\"Invalid tools version\"",
        "body": "Swift build requires 6.2+. Update Xcode:\n\nsoftwareupdate -i -a"
      },
      {
        "title": "\"License not agreed\"",
        "body": "sudo xcodebuild -license accept"
      },
      {
        "title": "\"No signing identity found\"",
        "body": "Use ad-hoc signing for local builds:\n\nALLOW_ADHOC_SIGNING=1 bash scripts/package-mac-app.sh"
      },
      {
        "title": "Swift compilation hangs or is very slow",
        "body": "Ensure Xcode is fully updated: xcode-select --install or update via App Store\nCheck disk space: df -h (need ~30GB free)\nClose other apps to free RAM"
      },
      {
        "title": "App won't launch after build",
        "body": "Check that it's properly signed:\n\ncodesign -v /Applications/Clawdbot.app\n\nIf signing failed, rebuild with ALLOW_ADHOC_SIGNING=1."
      },
      {
        "title": "What the App Does",
        "body": "Menu bar status — See Gateway health and receive notifications\nPermission management — Owns TTC prompts for Notifications, Accessibility, Screen Recording, Microphone, etc.\nLocal/Remote modes:\n\nLocal: Gateway runs on your Mac; app manages launchd service\nRemote: App connects to Gateway on another machine (VPS, home server) via SSH/Tailscale; keeps your Mac accessible even while sleeping\n\n\nMac hardware access: Camera, screen recording, Canvas, voice wake-word\nDeep linking: Trigger agent requests via clawdbot:// URL scheme\n\nSee the official docs: https://docs.clawd.bot/platforms/macos"
      },
      {
        "title": "Building for Distribution",
        "body": "For production distribution, you'll need:\n\nApple Developer ID certificate (paid)\nNotarization credentials\nSee: https://docs.clawd.bot/platforms/mac/release\n\nFor personal use, ad-hoc signing is fine."
      },
      {
        "title": "Next Steps",
        "body": "After the app launches:\n\nComplete the permission checklist (TCC prompts)\nChoose Local or Remote mode\nIf Local: ensure the Gateway is running (clawdbot gateway status)\nOpen Clawdbot.app menu bar icon to configure\n\nThen from the terminal, you can manage the Gateway:\n\nclawdbot gateway status\nclawdbot gateway restart"
      }
    ],
    "body": "Clawdbot macOS App Build\n\nThe 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.\n\nPrerequisites\nmacOS (10.14+)\nXcode 15+ with Command Line Tools\nNode.js >= 22\npnpm package manager\n30+ GB free disk space (Swift build artifacts)\nInternet connection (large dependencies)\nQuick Build\n# Clone repo\ncd /tmp && rm -rf clawdbot-build && git clone https://github.com/clawdbot/clawdbot.git clawdbot-build\n\n# Install + build\ncd /tmp/clawdbot-build\npnpm install\npnpm ui:build\n\n# Accept Xcode license (one-time)\nsudo xcodebuild -license accept\n\n# Build macOS app with ad-hoc signing\nALLOW_ADHOC_SIGNING=1 bash scripts/package-mac-app.sh\n\n# Install to /Applications\ncp -r dist/Clawdbot.app /Applications/Clawdbot.app\n\n# Launch\nopen /Applications/Clawdbot.app\n\nBuild Steps Explained\n1. Clone Repository\n\nClones the latest Clawdbot source from GitHub. This includes the macOS app source in apps/macos/.\n\n2. Install Dependencies (pnpm install)\n\nInstalls Node.js dependencies for the entire workspace (~1 minute). Warnings about missing binaries in some extensions are harmless.\n\n3. Build UI (pnpm ui:build)\n\nCompiles the Control UI (Vite → TypeScript/React). Output goes to dist/control-ui/. Takes ~30 seconds.\n\n4. Accept Xcode License\n\nRequired once per Xcode update. If you get \"license not agreed\" errors during Swift build, run:\n\nsudo xcodebuild -license accept\n\n5. Package macOS App (scripts/package-mac-app.sh)\n\nRuns the full Swift build pipeline:\n\nFetches Swift package dependencies (SwiftUI libraries, etc.)\nCompiles the macOS app for your architecture (arm64 for M1+, x86_64 for Intel)\nBundles resources (model catalog, localizations, etc.)\nCode-signs the app\n\nSigning options:\n\nAd-hoc signing (fastest): ALLOW_ADHOC_SIGNING=1 — good for local testing, app won't notarize for distribution\nDeveloper ID signing (production): Set SIGN_IDENTITY=\"Developer ID Application: <name>\" if you have a signing certificate\n\nThis step takes 10-20 minutes depending on your Mac.\n\n6. Install to /Applications\n\nCopies the built app to the system Applications folder so it runs like any other macOS app.\n\n7. Launch\n\nOpens the app. On first run, you'll see permission prompts (Notifications, Accessibility, Screen Recording, etc.) — approve them for full functionality.\n\nTroubleshooting\n\"Invalid tools version\"\n\nSwift build requires 6.2+. Update Xcode:\n\nsoftwareupdate -i -a\n\n\"License not agreed\"\nsudo xcodebuild -license accept\n\n\"No signing identity found\"\n\nUse ad-hoc signing for local builds:\n\nALLOW_ADHOC_SIGNING=1 bash scripts/package-mac-app.sh\n\nSwift compilation hangs or is very slow\nEnsure Xcode is fully updated: xcode-select --install or update via App Store\nCheck disk space: df -h (need ~30GB free)\nClose other apps to free RAM\nApp won't launch after build\n\nCheck that it's properly signed:\n\ncodesign -v /Applications/Clawdbot.app\n\n\nIf signing failed, rebuild with ALLOW_ADHOC_SIGNING=1.\n\nWhat the App Does\nMenu bar status — See Gateway health and receive notifications\nPermission management — Owns TTC prompts for Notifications, Accessibility, Screen Recording, Microphone, etc.\nLocal/Remote modes:\nLocal: Gateway runs on your Mac; app manages launchd service\nRemote: App connects to Gateway on another machine (VPS, home server) via SSH/Tailscale; keeps your Mac accessible even while sleeping\nMac hardware access: Camera, screen recording, Canvas, voice wake-word\nDeep linking: Trigger agent requests via clawdbot:// URL scheme\n\nSee the official docs: https://docs.clawd.bot/platforms/macos\n\nBuilding for Distribution\n\nFor production distribution, you'll need:\n\nApple Developer ID certificate (paid)\nNotarization credentials\nSee: https://docs.clawd.bot/platforms/mac/release\n\nFor personal use, ad-hoc signing is fine.\n\nNext Steps\n\nAfter the app launches:\n\nComplete the permission checklist (TCC prompts)\nChoose Local or Remote mode\nIf Local: ensure the Gateway is running (clawdbot gateway status)\nOpen Clawdbot.app menu bar icon to configure\n\nThen from the terminal, you can manage the Gateway:\n\nclawdbot gateway status\nclawdbot gateway restart"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/manish-basargekar/clawdbot-macos-build",
    "publisherUrl": "https://clawhub.ai/manish-basargekar/clawdbot-macos-build",
    "owner": "manish-basargekar",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}