Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
Back to list

Cloud Sync (cmem.ai Pro)

Configures and verifies claude-mem cloud sync against a cmem.ai Pro SyncHub connection.

UtilitiesIntermediate94,5618,361AI score 8/10Last updated: Sep 23, 2026

What it does

  • Resolves the local claude-mem worker port and queries /api/sync/status, then reports whether sync is configured, whether SyncHub is reachable, pending counts, lastFlushAt, lastError, and the Hub head/checkpoint.
  • Collects the three connection values from cmem.ai → Connect (sync token, user id, SyncHub URL) and writes them into ~/.claude-mem/settings.json via a heredoc Node script — preserving unrelated settings, enforcing mode 0600, and never echoing the token (only its length).
  • Restarts the worker through /api/admin/restart and polls status for up to 30 seconds until configured: true, hub.reachable: true, and lastError: null.
  • Always ends with a privacy note that observation narratives and full prompt text are uploaded to your cmem.ai account.

Who it's for

  • claude-mem users with a cmem.ai Pro subscription who want memory backups.
  • Developers syncing the same Claude memory state across multiple machines.
  • Anyone who needs a truthful sync health check (an empty queue is explicitly not treated as success).

Examples

  1. "What's my sync status?" → the skill probes the worker and summarizes device id, pending writes, and Hub reachability.
  2. "Set up cmem pro cloud sync" → prompts for token/user id/https Hub URL, writes them securely, restarts, and verifies.
  3. "My cloud backup isn't working" → surfaces hub.error and lastError, and distinguishes real failures from a worker that is still restarting (retries for ~30s).

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/thedotmack/claude-mem/HEAD/plugin/skills/cloud-sync/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the plugin/skills/cloud-sync folder from the GitHub repo thedotmack/claude-mem into my ~/.claude/skills/cloud-sync/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/thedotmack/claude-mem.git /tmp/claude-mem && mkdir -p ~/.claude/skills && cp -r /tmp/claude-mem/plugin/skills/cloud-sync ~/.claude/skills/

This is a third-party skill. Check the source repository before installing.

  1. Open a terminal.
  2. Clone the repo: git clone https://github.com/thedotmack/claude-mem.git /tmp/claude-mem
  3. Create the skills directory: mkdir -p ~/.claude/skills
  4. Copy the skill: cp -r /tmp/claude-mem/plugin/skills/cloud-sync ~/.claude/skills/
  5. Make sure claude-mem and its worker are installed and running — this skill talks to the worker's local HTTP API.
  6. Sign in to cmem.ai, open the Pro Connect page, and have your sync token, user id, and https SyncHub URL ready.
  7. Restart Claude Code and say "set up cloud sync" or "check sync status" to trigger the skill.
  8. Security tip: pasting a token into chat can persist it in your transcript — rotate the token in cmem.ai if that concerns you.
View source on GitHubLicense: Apache-2.0