# cloud-sync

> Claude/Codex skill by [@thedotmack](https://omgskills.com/library/thedotmack/index.md) · 104k stars · Updated 2026-10-29

Set up or check claude-mem cloud sync with cmem.ai Pro. Use when the user says "set up cloud sync", "sync my memories", "cmem pro", "cloud backup", "sync status", or wants their memory database backed up or synced to their cmem.ai account.

Tags: ai, ai-agents, ai-memory, anthropic, artificial-intelligence, chromadb, claude, claude-agent-sdk, claude-agents, claude-code, claude-code-plugin, claude-skills, embeddings, long-term-memory, mem0, memory-engine, openmemory, rag, sqlite, supermemory

## Install

```sh
git clone https://github.com/thedotmack/claude-mem /tmp/claude-mem && ln -s /tmp/claude-mem/plugin/skills/cloud-sync ~/.claude/skills/cloud-sync
```

## From README

Cloud Sync (cmem.ai Pro) The installed worker syncs through SyncHub. There is one client, one durable operation log, and no separate sync daemon. This skill checks status and points the user to the installer's cmem.ai sign-in, which writes the connection. Security rule: never ask the user to paste the sync token into this chat, and never put it in a command you write, print it, put it in argv, or log it. A secret pasted into a chat lands in the transcript, which claude-mem itself can capture and sync. The installer writes the token to /.claude-mem/settings.json (mode 0600) without it ever passing through this conversation. Check status Resolve the worker port and query the always-registered status route: configured: true and hub.reachable: true → the worker completed an authenticated GET /v1/sync/status against SyncHub. Report deviceId, pending counts, lastFlushAt, lastError, and the Hub head/checkpoint; stop unless the user asked to replace the connection.

## Links

- HTML page: https://omgskills.com/library/thedotmack/claude-mem/plugin/skills/cloud-sync/
- GitHub: https://github.com/thedotmack/claude-mem
- Author: [@thedotmack](https://omgskills.com/library/thedotmack/index.md)

## More from this repo

- [do](https://omgskills.com/library/thedotmack/claude-mem/plugin/skills/do/index.md) — Execute a phased implementation plan using subagents.
   - [@thedotmack](https://omgskills.com/library/thedotmack/index.md) · 117k stars
- [how-it-works](https://omgskills.com/library/thedotmack/claude-mem/plugin/skills/how-it-works/index.md) — Explain how claude-mem captures observations, when memory injection kicks in, and where data lives.
   - [@thedotmack](https://omgskills.com/library/thedotmack/index.md) · 104k stars
- [make-plan](https://omgskills.com/library/thedotmack/claude-mem/make-plan/index.md) — Used to create a detailed, phased implementation plan with documentation discovery.
   - [@thedotmack](https://omgskills.com/library/thedotmack/index.md) · 104k stars
