cloud-sync
仓库创建 2025年9月1日最近提交 3 天前SkillHot 收录 6 小时前
▸ 精选理由
为代理记忆提供一键云备份与状态管理,适合长期保留记忆的场景。
▸ 风险提示
需要存储并使用私密 sync token,且会与外部域名 cmem.ai 通信。
这个 Skill 做什么
将代理的记忆数据库与 cmem.ai Pro 账号进行云端同步与状态检查。
把代理的记忆库备份或同步到 cmem.ai Pro,能检查连接状态或写入必要的连接值;适合想把记忆云端保存、恢复或查看 sync 状态时用。注重安全:不会明文打印同步 token,只会确认长度并妥善存放。
▸ 展开 SKILL.md 英文原文
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.
8.9w
Stars
7.7k
Forks
21
仓库内 Skill
+2.5k
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/thedotmack/claude-mem/main/plugin/skills/cloud-sync/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/thedotmack/claude-mem/main/plugin/skills/cloud-sync/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# 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:
```bash
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);covia SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有