name: sync-data description: > Sync all data sources in parallel. Spawns subagents for Gmail (API), Google Calendar (API), iMessage (local DB), and Browser sources (WhatsApp, LinkedIn, Facebook — sequentially). Use when: "sync data", "sync all", "fetch inbox", "sync everything". allowed-tools: Read, Task
Sync All Data Sources
Orchestrator skill. Spawns one subagent per data source group, all in parallel. Does no data fetching itself — just coordinates.
Output Files (written by subagents)
outputs/sync-data/gmail.json— email threadsoutputs/sync-data/gcal.json— calendar eventsoutputs/sync-data/imessage.json— iMessage conversationsoutputs/sync-data/whatsapp.json— WhatsApp conversationsoutputs/sync-data/linkedin.json— LinkedIn conversationsoutputs/sync-data/facebook.json— Facebook Messenger conversations
Steps
Read each sub-skill's SKILL.md to get the full instructions:
.claude/skills/sync-data-gmail/SKILL.md.claude/skills/sync-data-gcal/SKILL.md.claude/skills/sync-data-imessage/SKILL.md.claude/skills/sync-data-whatsapp/SKILL.md.claude/skills/sync-data-linkedin/SKILL.md.claude/skills/sync-data-facebook/SKILL.md
Spawn 4 Task subagents in a single message (this makes them run in parallel):
Gmail subagent (
subagent_type: "general-purpose"):- Prompt: the full contents of
sync-data-gmail/SKILL.mdsteps - Fast, ~5-10 seconds
Google Calendar subagent (
subagent_type: "general-purpose"):- Prompt: the full contents of
sync-data-gcal/SKILL.mdsteps - Fast, ~5 seconds
iMessage subagent (
subagent_type: "general-purpose"):- Prompt: the full contents of
sync-data-imessage/SKILL.mdsteps - Fast, ~2 seconds
Browser subagent (
subagent_type: "general-purpose"):- Prompt: Run these 3 browser-based syncs sequentially (they share the browser and cannot run in parallel):
- WhatsApp — full contents of
sync-data-whatsapp/SKILL.mdsteps - LinkedIn — full contents of
sync-data-linkedin/SKILL.mdsteps - Facebook — full contents of
sync-data-facebook/SKILL.mdsteps
- WhatsApp — full contents of
- Slow, ~5-8 minutes total (browser automation for all 3)
- Prompt: the full contents of
Wait for all 4 to complete. Report results:
- Which sources synced successfully
- Count of items per source (threads, events, conversations)
- Any failures or partial syncs
Notes
- Gmail, GCal, and iMessage finish in seconds. The browser subagent takes longer but doesn't block the others.
- If a subagent fails, the others still succeed. Report partial results.
- Each subagent writes directly to
outputs/sync-data/. This skill does not merge or post-process. - All 3 browser sources (WhatsApp, LinkedIn, Facebook) run in a single subagent sequentially. They cannot share the browser in parallel.
- If the browser subagent fails on one source, it should still attempt the remaining sources and report which succeeded/failed.