Skills for Real Engineers. Straight from my .agents directory.
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
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)
1# Cloud Sync (cmem.ai Pro)23The installed worker syncs through SyncHub. There is one client, one durable4operation log, and no separate sync daemon. This skill checks status and points5the user to the installer's cmem.ai sign-in, which writes the connection.67**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. A9secret pasted into a chat lands in the transcript, which claude-mem itself can10capture and sync. The installer writes the token to11`~/.claude-mem/settings.json` (mode `0600`) without it ever passing through12this conversation.1314## 1. Check status1516Resolve the worker port and query the always-registered status route:1718```bash19PORT="${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```2223- `configured: true` and `hub.reachable: true` → the worker completed an24 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
Similar skill repositories
Public repository for Agent Skills
Production-grade engineering skills for AI coding agents.
The open-source app everyone uses to manage agents at work
The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships.
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.
