workbuddy-icloud-sync
Set up automatic WorkBuddy config sync across multiple Macs using iCloud Drive. No GitHub account, no token, no SSH key needed — just log into the same iCloud account on all machines. Triggers: iCloud 同步, iCloud 版同步, 不用 GitHub 同步, 苹果云同步 WorkBuddy, iCloud sync WorkBuddy, sync without GitHub. Uses a bare git repo inside iCloud Drive with a background daemon syncing every 5 minutes.
Rank
62
Safety
84
Downloads
2.6k
Updated
Oct 9, 2026
Version
0.1.0
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 2.6K downloads reported by the source. Last updated 10/9/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 9, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 9, 2026
- Adoption signal
- 2.6K downloadsadoption · observed Oct 9, 2026
- Latest release
- 0.1.0release · observed Aug 1, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s177t5gz1g9bqr9wzdn3k301nh8bn7wz:workbuddy-icloud-sync- Install using `clawhub skill install s177t5gz1g9bqr9wzdn3k301nh8bn7wz:workbuddy-icloud-sync` in an isolated environment before connecting it to live workloads.
- No published capability contract is available yet, so validate auth and request/response behavior manually.
- Review the upstream CLAWHUB listing at https://clawhub.ai/lyy4916/workbuddy-icloud-sync before using production credentials.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-lyy4916-workbuddy-icloud-sync/snapshot"
Documentation
CLAWHUB
15,458 characters of source documentation, loaded on request.
Extracted files
4 files captured from the source.
SKILL.md
--- name: workbuddy-icloud-sync description: "Set up automatic WorkBuddy config sync across multiple Macs using iCloud Drive. No GitHub account, no token, no SSH key needed — just log into the same iCloud account on all machines. Triggers: iCloud 同步, iCloud 版同步, 不用 GitHub 同步, 苹果云同步 WorkBuddy, iCloud sync WorkBuddy, sync without GitHub. Uses a bare git repo inside iCloud Drive with a background daemon syncing every 5 minutes." agent_created: true --- # WorkBuddy iCloud Sync ## Overview Synchronize WorkBuddy configuration across multiple Macs using a **bare Git repository stored in iCloud Drive**. No external service required — just log into the same iCloud account on every machine. After setup, identity, memory, skills, and settings stay in sync automatically via a background daemon. ## When to Use This vs GitHub Sync | Factor | iCloud Sync | GitHub Sync | |--------|-------------|-------------| | Account needed | iCloud (Apple ID) | GitHub account | | Network | Apple iCloud (may be slow in China) | GitHub (may need proxy in China) | | Token/SSH | Not needed | Personal Access Token or SSH key | | Setup complexity | Very simple | Medium | | Version history | Yes (git log) | Yes (git log) | | Best for | Same Apple ID on all Macs | Different accounts or cross-platform | ## What Syncs vs What Doesn't ### Syncs (via Git) - Identity files: `SOUL.md`, `IDENTITY.md`, `USER.md` - Memory: `MEMORY.md` (user-level, NOT `memory/` daily logs) - Skills: `skills/` directory - Config: `mcp.json`, `settings.json` - Setup scripts stored in repo ### Does NOT Sync (machine-specific) - `binaries/` — 300MB+ platform-specific runtimes - `workbuddy.db` — SQLite database (automations, runtime state) - `.mcp.json` — localhost port numbers differ per machine - `sessions/`, `logs/`, `traces/` — runtime data - `credentials/` — each machine logs in independently - `memory/` — daily work logs, project-specific ### Already Synced (server-side) - Conversation history - Cloud user profile (auto-injected at session start) ## Workflow ### Phase 1: Set Up Mac A (Primary Machine) #### Step 1: Verify iCloud Drive ```bash # Check iCloud Drive is available ls -d ~/Library/Mobile\ Documents/com~apple~CloudDocs && echo "ICLOUD_OK" || echo "NO_ICLOUD" ``` If `NO_ICLOUD`: System Preferences → Apple ID → iCloud → enable iCloud Drive. #### Step 2: Initialize Git in `~/.workbuddy/` ```bash git config --global user.name "$(whoami)" git config --global user.email "$(whoami)@workbuddy.local" git config --global init.defaultBranch main cd ~/.workbuddy git init ``` #### Step 3: Create `.gitignore` Copy `references/gitignore-template` to `~/.workbuddy/.gitignore`. This excludes all machine-specific files (binaries, workbuddy.db, .mcp.json, sessions, logs, traces, credentials, memory, daemon state files). #### Step 4: Create iCloud Bare Repo and Push ```bash ICLOUD_DIR="$HOME/Library/Mobile Documents/com~apple~CloudDocs" # Create bare repo in iCloud git clone --bare ~/.workbuddy "$
_meta.json
{
"ownerId": "kn751pzj8jbknm4tygdecnwjzn8bmtyz",
"slug": "workbuddy-icloud-sync",
"version": "0.1.0",
"publishedAt": 1785566316427
}references/sync-architecture-icloud.md
# iCloud Sync Architecture & Troubleshooting
## How It Works
```
Mac A ~/.workbuddy/ → git push → iCloud Drive/WorkBuddy-sync.git (bare repo)
↓ (iCloud auto-syncs the file)
Mac B ~/.workbuddy/ ← git pull ← iCloud Drive/WorkBuddy-sync.git (bare repo)
```
iCloud Drive treats the bare git repo as a regular folder. When Mac A pushes,
the bare repo files update; iCloud propagates the changes to Mac B's local
iCloud Drive copy; Mac B's daemon then pulls from that local copy.
## Data Layers
### Layer 1: Server-Side Synced (automatic)
- Conversation history
- Cloud user profile
### Layer 2: Git-Synced via iCloud (this skill)
- `SOUL.md`, `IDENTITY.md`, `USER.md`
- `MEMORY.md`
- `mcp.json`, `settings.json`
- `skills/`
### Layer 3: Machine-Local (never synced)
- `binaries/`, `workbuddy.db`, `.mcp.json`, `sessions/`, `logs/`, `traces/`,
`credentials/`, `memory/`
## Daemon Architecture
```
.bash_profile → start-sync-daemon.sh → Python subprocess → bash loop
↓
auto-sync.sh (every 300s)
↓
git pull → commit → push (icloud remote)
```
## iCloud vs GitHub Comparison
| Aspect | iCloud | GitHub |
|--------|--------|--------|
| Account | Apple ID (same on all Macs) | GitHub account |
| Auth | None (local file access) | Token or SSH key |
| Network | Apple iCloud | GitHub.com |
| China speed | Moderate (Apple CDN) | Slow (needs proxy) |
| Setup time | ~2 minutes | ~5 minutes |
| Concurrent access | Safe (iCloud serializes file writes) | Safe (git protocol) |
| Storage limit | iCloud Drive quota (5GB free) | GitHub repo limit |
| Best for | All Macs share Apple ID | Different Apple IDs or need web access |
## Common Issues
### iCloud hasn't synced the bare repo yet
**Symptom**: Mac B can't find `WorkBuddy-sync.git` in iCloud Drive
**Fix**: On Mac A, verify the push succeeded. On Mac B, open Finder → iCloud
Drive and check if the folder appears. Force iCloud sync:
```bash
killall bird && killall cloudd # restart iCloud daemons
```
### Merge conflicts during auto-sync
**Symptom**: `git pull --rebase` fails
**Fix**:
```bash
cd ~/.workbuddy
git status
# resolve conflicts...
git add -A
git rebase --continue
git push icloud main
```
### Daemon not running
**Check**:
```bash
cat ~/.workbuddy/.sync-daemon.pid
kill -0 $(cat ~/.workbuddy/.sync-daemon.pid) && echo "ALIVE" || echo "DEAD"
```
**Restart**:
```bash
bash ~/.workbuddy/start-sync-daemon.sh
```
### Switching from GitHub to iCloud
```bash
cd ~/.workbuddy
git remote remove origin 2>/dev/null
git remote add icloud "$HOME/Library/Mobile Documents/com~apple~CloudDocs/WorkBuddy-sync.git"
git push -u icloud main
```
Then update `auto-sync.sh` to use `icloud` remote instead of `origin`.
### Automations not syncing
Automations live in `workbuddy.db` (excluded from synskill-card.md
## Description: Set up automatic WorkBuddy config sync across multiple Macs using iCloud Drive, using a bare git repository in iCloud Drive and a background daemon that syncs every 5 minutes. This skill is ready for commercial/non-commercial use. ## Publisher: [lyy4916](https://clawhub.ai/user/lyy4916) ### License/Terms of Use: MIT-0 ## Use Case: Developers and WorkBuddy users use this skill to set up iCloud Drive based configuration sync across trusted Macs on the same Apple ID. It provides setup guidance, shell commands, helper scripts, and troubleshooting notes for synchronizing selected WorkBuddy identity, memory, skill, and settings files while leaving machine-local data out of sync. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: Persistent background syncing can silently propagate WorkBuddy configuration and skill changes across Macs. Mitigation: Install only on trusted Macs using the same intended iCloud account, review the profile hook and daemon scripts before enabling them, and remove the profile hook and daemon state to stop automatic sync. Risk: Setup on an additional Mac can overwrite local WorkBuddy configuration. Mitigation: Back up ~/.workbuddy before setup and review git status, pull, reset, and push behavior before running the setup script. Risk: Unintended files may sync if exclusions are incomplete or modified. Mitigation: Review the provided .gitignore template and confirm credentials, runtime state, databases, logs, sessions, and machine-specific files remain excluded before the first push. Risk: The scripts can alter global Git settings when user.name or user.email is unset. Mitigation: Check existing Git configuration before installation and update it manually if the generated WorkBuddy-local identity is not appropriate. ## Reference(s): - [Server-resolved GitHub source](https://github.com/lyy4916/workbuddy-icloud-sync) - [ClawHub skill page](https://clawhub.ai/lyy4916/skills/workbuddy-icloud-sync) - [iCloud sync architecture and troubleshooting](references/sync-architecture-icloud.md) - [WorkBuddy sync gitignore template](references/gitignore-template) ## Skill Output: **Output Type(s):** [Text, Markdown, Shell commands, Configuration, Guidance] **Output Format:** [Markdown guidance with inline bash command blocks and bundled shell scripts] **Output Parameters:** [1D] **Other Properties Related to Output:** [Targets macOS systems using WorkBuddy, Git, iCloud Drive, and a background sync daemon.] ## Skill Version(s): 0.1.0 (source: release metadata) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/lyy4916/skills/workbuddy-icloud-sync",
"sourceUrl": "https://clawhub.ai/lyy4916/skills/workbuddy-icloud-sync",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T12:44:42.999Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-lyy4916-workbuddy-icloud-sync/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-lyy4916-workbuddy-icloud-sync/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-09T12:44:42.999Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "2.6K downloads",
"href": "https://clawhub.ai/lyy4916/workbuddy-icloud-sync",
"sourceUrl": "https://clawhub.ai/lyy4916/workbuddy-icloud-sync",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T12:44:42.999Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "0.1.0",
"href": "https://clawhub.ai/lyy4916/workbuddy-icloud-sync",
"sourceUrl": "https://clawhub.ai/lyy4916/workbuddy-icloud-sync",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-08-01T06:38:36.427Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-lyy4916-workbuddy-icloud-sync/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-lyy4916-workbuddy-icloud-sync/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 0.1.0",
"description": "Initial release: Easily sync WorkBuddy config across Macs using iCloud Drive. - Enables WorkBuddy configuration sync with a bare git repo in iCloud Drive; no GitHub account or keys needed. - Includes setup instructions for primary and additional Macs, with auto-sync via a background daemon every 5 minutes. - Provides detailed comparison between iCloud and GitHub sync options. - Specifies which files are synced and which remain machine-specific or server-side. - Offers terminal aliases and scripts for manual and automated sync. - Adds troubleshooting tips and architecture references.",
"href": "https://clawhub.ai/lyy4916/workbuddy-icloud-sync",
"sourceUrl": "https://clawhub.ai/lyy4916/workbuddy-icloud-sync",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-08-01T06:38:36.427Z",
"isPublic": true
}
]
}Record generated Oct 9, 2026.
