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 or writes the three connection values issued by cmem.ai → Connect . Security rule: never print the sync token, put it in argv, or log it. Confirm only its length. Preserve every unrelated setting and keep ~/.claude-mem/settings.json mode 0600 . 1. Check status Resolve the worker port and query the always-registered status route: PORT = " ${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 ) } " curl -s " http://127.0.0.1: ${PORT} /api/sync/status" Show more Installs 883 Repository thedotmack/claude-mem GitHub Stars 90.2K First Seen Jul 13, 2026 Security Audits Gen Agent Trust Hub Warn Socket Pass Snyk Fail