cloud-sync
하는 일
이 도구는 기억을 클라우드(cmem.ai Pro)와 동기화하도록 설정하고 확인하는 데 도움을 줍니다. 메모와 텍스트가 저장되어 다른 곳에서도 접근할 수 있도록 합니다.
사용하는 경우
- ✓기억을 백업하고 싶을 때.
- ✓클라우드 동기화가 제대로 작동하는지 확인하고 싶을 때.
- ✓동기화 서비스를 설치하거나 업데이트한 뒤.
스킬 링크
https://github.com/thedotmack/claude-mem/blob/main/plugin/skills/cloud-sync/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“내 클라우드 동기화 상태를 확인해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
도구는 내부적으로 SyncHub라는 서비스와 통신합니다. 연결이 활성 상태인지, 데이터가 올바르게 전송되고 있는지 확인하며, 비밀번호나 비밀 토큰은 요청하지 않습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
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 and points the user to the installer's cmem.ai sign-in, which writes the connection.
Security rule: never ask the user to paste the sync token into this chat,
and never put it in a command you write, print it, put it in argv, or log it. A
secret pasted into a chat lands in the transcript, which claude-mem itself can
capture and sync. The installer writes the token to
~/.claude-mem/settings.json (mode 0600) without it ever passing through
this conversation.
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"
configured: trueandhub.reachable: true→ the worker completed an authenticatedGET /v1/sync/statusagainst SyncHub. ReportdeviceId, pending counts,lastFlushAt,lastError, and the Hub head/checkpoint; stop unless the user asked to replace the connection.configured: trueandhub.reachable: false→ reporthub.errorand say the SyncHub connection is not verified. A zero pending count orlastError: nullis not success because an empty queue performs no push.configured: false→ continue.- Connection refused, 404, or 503 immediately after restart → retry every three seconds for about 30 seconds before diagnosing the worker.
2. Connect through the installer
Ask the user to run this in their own terminal:
npx claude-mem install
and to choose CMEM Pro when the installer asks. The installer signs them in
through the browser (they approve a device code), then writes the sync token,
user id and SyncHub URL into ~/.claude-mem/settings.json itself and restarts
the worker. Nothing secret is typed into this chat.
If the user cannot run the installer interactively (CI, a remote box), point them to the headless setup guide, https://docs.claude-mem.ai/cmem-pro-headless, and let them apply its manual recipe in their own terminal or editor. Do not collect the values yourself.
The worker mints and persists a device id on first start and defaults the device name to the hostname.
3. Verify
Once the installer finishes, poll the status route every five seconds for up to 30 seconds. If the worker was not restarted, restart it first:
curl -s -X POST "http://127.0.0.1:${PORT}/api/admin/restart"
Success means configured: true, hub.reachable: true, and lastError: null.
The local route always makes an authenticated, read-only SyncHub status probe,
even when every pending count is zero; it never uses a legacy cmem.ai Pro status
route and never appends or advances sync state. Pending counts describe only
writes made after the SyncHub launch baseline; setup does not migrate a
pre-launch local corpus.
If hub.reachable is false, report hub.error. If lastError is non-null,
report it too, and suggest running npx claude-mem install again to refresh the
connection. Never include the token.
4. Report
Report device id, pending counts, last successful flush, Hub reachability and checkpoint, and any Hub/flush error. End with this privacy note:
Cloud sync uploads your observation narratives and full prompt text to your cmem.ai account.
자주 묻는 질문
SyncHub는 무엇인가요?
내 로컬 기억과 cmem.ai Pro 클라우드 계정 사이의 통신을 관리하는 서비스입니다.
동기화 토큰은 어디에 저장되나요?
토큰은 내 컴퓨터에 안전하게 저장되며, 대화에 공유되지 않습니다. `~/.claude-mem/settings.json` 파일에 있습니다.
동기화가 실패하면 어떻게 되나요?
도구는 구체적인 오류를 보고합니다. 일반적으로 `npx claude-mem install` 명령을 다시 실행해 연결을 다시 설정하는 것이 권장됩니다.
상세 정보
작성자의 원본 설명
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.
repo: thedotmack/claude-mem
인기도
- GitHub 스타
- 101k
- 순위
- #1269
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
Agent Cost Report
101k에이전트가 활동에 대한 자세한 비용 보고서를 만듭니다. 토큰과 서비스에 얼마를 썼는지 보여 줍니다.
claude-mem-install
101k여러 환경에서 Claude-Mem을 설정하도록 에이전트를 돕습니다. 로컬 또는 원격 워커를 고르고 관찰을 설정할 수 있습니다.
mem-search
101k에이전트가 과거의 기억을 검색하도록 합니다. 이전 해결책이나 오래된 세션의 작업을 떠올리는 데 유용합니다.
host-observer
101kClaude-Mem 관찰자 작업에 에이전트가 응답하도록 돕습니다. 'skip_summary' 또는 전체 XML 관찰 내용으로만 응답합니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.