agent-browser
Browse the web for any task — research topics, read articles, interact with web apps, fill forms, take screenshots, extract data,…
Switch from Docker to Apple Container for macOS-native container isolation. Use when the user wants Apple Container instead of Docker, or is setting up on macOS and prefers the native runtime. Triggers on "apple container", "convert to apple container", "switch to apple
Claude Code
$ npx -y skills add sbusso/claudeclaw --skill convert-to-apple-container --agent claude-code
Codex
$ npx skills add sbusso/claudeclaw --skill convert-to-apple-container -a codex -y
Cursor
$ npx skills add sbusso/claudeclaw --skill convert-to-apple-container -a cursor -y
Gemini CLI
$ npx skills add sbusso/claudeclaw --skill convert-to-apple-container -a gemini-cli -y
GitHub Copilot
$ npx skills add sbusso/claudeclaw --skill convert-to-apple-container -a github-copilot -y
OpenCode
$ npx skills add sbusso/claudeclaw --skill convert-to-apple-container -a opencode -y
Windsurf
$ npx skills add sbusso/claudeclaw --skill convert-to-apple-container -a windsurf -y
name: convert-to-apple-container description: Switch from Docker to Apple Container for macOS-native container isolation. Use when the user wants Apple Container instead of Docker, or is setting up on macOS and prefers the native runtime. Triggers on "apple container", "convert to apple container", "switch to apple container", or "use apple container".
This skill switches ClaudeClaw's container runtime from Docker to Apple Container (macOS-only). It uses the skills engine for deterministic code changes, then walks through verification.
**What this changes:**
**What stays the same:**
Verify Apple Container is installed:
container --version && echo "Apple Container ready" || echo "Install Apple Container first"
If not installed:
Apple Container requires macOS. It does not work on Linux.
grep "CONTAINER_RUNTIME_BIN" src/orchestrator/container-runtime.ts
If it already shows `'container'`, the runtime is already Apple Container. Skip to Phase 3.
git remote -v
If `upstream` is missing, add it:
git remote add upstream https://github.com/sbusso/claudeclaw.git
git fetch upstream skill/apple-container git merge upstream/skill/apple-container
This merges in:
If the merge reports conflicts, resolve them by reading the conflicted files and understanding the intent of both sides.
npm test npm run build
All tests must pass and build must be clean before proceeding.
container system status || container system start
./src/runtimes/docker/build.sh
echo '{}' | container run -i --entrypoint /bin/echo claudeclaw-agent:latest "Container OK"mkdir -p /tmp/test-ro && echo "test" > /tmp/test-ro/file.txt container run --rm --entrypoint /bin/bash \ --mount type=bind,source=/tmp/test-ro,target=/test,readonly \ claudeclaw-agent:latest \ -c "cat /test/file.txt && touch /test/new.txt 2>&1 || echo 'Write blocked (expected)'" rm -rf /tmp/test-ro
Expected: Read succeeds, write fails with "Read-only file system".
mkdir -p /tmp/test-rw container run --rm --entrypoint /bin/bash \ -v /tmp/test-rw:/test \ claudeclaw-agent:latest \ -c "echo 'test write' > /test/new.txt && cat /test/new.txt" cat /tmp/test-rw/new.txt && rm -rf /tmp/test-rw
Expected: Both operations succeed.
> **Service name:** Derived from the directory name: `com.claudeclaw.<dirname>` (macOS) / `claudeclaw-<dirname>` (Linux). For example, if cwd is `my-assistant`, the service is `com.claudeclaw.my-assistant`. Determine the correct service name before running service commands below.
npm run build launchctl kickstart -k gui/$(id -u)/com.claudeclaw
Send a message via WhatsApp and verify the agent responds.
**Apple Container not found:**
**Runtime won't start:**
container system start container system status
**Image build fails:**
# Clean rebuild — Apple Container caches aggressively container builder stop && container builder rm && container builder start ./src/runtimes/docker/build.sh
**Container can't write to mounted directories:** Check directory permissions on the host. The container runs as uid 1000.
| File | Type of Change | |------|----------------| | `src/orchestrator/container-runtime.ts` | Full replacement — Docker → Apple Container API | | `src/container-runtime.test.ts` | Full replacement — tests for Apple Container behavior | | `src/orchestrator/container-runner.ts` | .env shadow mount removed, main containers start as root with privilege drop | | `src/runtimes/docker/Dockerfile` | Entrypoint: `mount --bind` for .env shadowing, `setpriv` privilege drop | | `src/runtimes/docker/build.sh` | Default runtime: `docker` → `container` |
Browse the web for any task — research topics, read articles, interact with web apps, fill forms, take screenshots, extract data,…
Add /compact command for manual context compaction. Solves context rot in long sessions by forwarding the SDK's built-in /compact…
Add Gmail integration to ClaudeClaw. Can be configured as a tool (agent reads/sends emails when triggered from WhatsApp) or as a…
Add image vision to ClaudeClaw agents. Resizes and processes WhatsApp image attachments, then sends them to Claude as multimodal…
Add Ollama MCP server so the container agent can call local models for cheaper/faster tasks like summarization, translation, or…
Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers…
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…