Tooluck logoTooluck
SKILL.md

cloud-sync

Agent skill fromthedotmack/claude-mem

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.

How to install cloud-sync

install cloud-sync
# install the claude-mem pack with the skills CLI
npx skills add thedotmack/claude-mem

# or add only this skill to Claude Code: copy the folder

plugin/skills/cloud-sync/

# into

~/.claude/skills/cloud-sync/ (all projects)

.claude/skills/cloud-sync/ (one project)

plugin/skills/cloud-sync/SKILL.md

Apache-2.0Full file
1# Cloud Sync (cmem.ai Pro)
2
3The installed worker syncs through SyncHub. There is one client, one durable
4operation log, and no separate sync daemon. This skill checks status and points
5the user to the installer's cmem.ai sign-in, which writes the connection.
6
7**Security rule:** never ask the user to paste the sync token into this chat,
8and never put it in a command you write, print it, put it in argv, or log it. A
9secret pasted into a chat lands in the transcript, which claude-mem itself can
10capture and sync. The installer writes the token to
11`~/.claude-mem/settings.json` (mode `0600`) without it ever passing through
12this conversation.
13
14## 1. Check status
15
16Resolve the worker port and query the always-registered status route:
17
18```bash
19PORT="${CLAUDE_MEM_WORKER_PORT:-$(node -e "const fs=require('fs'),p=require('path'),os=require('os');const uid=(typeof process.getuid==='function'?process.getuid():77);const fallback=String(37700+(uid%100));try{const s=JSON.parse(fs.readFileSync(p.join(os.homedir(),'.claude-mem','settings.json'),'utf-8'));process.stdout.write(String(s.CLAUDE_MEM_WORKER_PORT||fallback));}catch{process.stdout.write(fallback);}" 2>/dev/null)}"
20curl -s "http://127.0.0.1:${PORT}/api/sync/status"
21```
22
23- `configured: true` and `hub.reachable: true` → the worker completed an
24 authenticated `GET /v1/sync/status` against SyncHub. Report `deviceId`,
25 pending counts, `lastFlushAt`, `lastError`, and the Hub head/checkpoint;
26…

Excerpt shown under the repository's Apache-2.0 license.

More skills in claude-mem

Keep exploring

Similar skill repositories

pbakaus /

impeccable
108k

The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships.

2 skills

nexu-io /

open-design
107k

The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.

40 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates