cloud-sync
यह क्या करती है
यह टूल आपकी memories की synchronization को cloud (cmem.ai Pro) के साथ सेट अप करने और जाँचने में मदद करता है। यह पक्का करता है कि आपके notes और texts सेव रहें और कहीं और भी एक्सेस किए जा सकें।
कब इस्तेमाल करें
- ✓जब आप अपनी memories का backup लेना चाहते हों।
- ✓यह जाँचने के लिए कि cloud synchronization ठीक से चल रहा है या नहीं।
- ✓sync service इंस्टॉल या अपडेट करने के बाद।
Skill का लिंक
https://github.com/thedotmack/claude-mem/blob/main/plugin/skills/cloud-sync/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरा cloud sync status जाँचो।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
अंदरूनी तौर पर यह टूल SyncHub नाम की सर्विस से बात करता है। यह जाँचता है कि connection चालू है या नहीं और डेटा सही तरीके से भेजा जा रहा है या नहीं। यह कभी भी passwords या secret tokens नहीं माँगता।
तकनीकी सामग्री (मूल 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 क्या है?
यह वह सर्विस है जो आपकी स्थानीय memories और cmem.ai Pro cloud account के बीच संवाद को मैनेज करती है।
sync token कहाँ सेव होता है?
token आपके कंप्यूटर पर सुरक्षित रूप से सेव रहता है और chat के साथ कभी शेयर नहीं होता। यह `~/.claude-mem/settings.json` फाइल में होता है।
अगर synchronization फेल हो जाए तो क्या होगा?
टूल खास error बताएगा। आम तौर पर सुझाव है कि connection दोबारा स्थापित करने के लिए `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
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
Agent Cost Report
101kआपके एजेंट की गतिविधियों की विस्तृत लागत रिपोर्ट बनाता है। दिखाता है कि टोकन और सेवाओं पर कितना खर्च हुआ।
claude-mem-install
101kयह आपके एजेंट को अलग-अलग वातावरण में Claude-Mem सेट अप करने में मदद करता है। इसमें लोकल या रिमोट वर्कर में से चुनने और observation कॉन्फ़िगर करने की सुविधा है।
mem-search
101kयह आपके एजेंट को पुरानी memories में खोजने देता है। पिछले सेशन के पुराने समाधान या काम याद करने में यह उपयोगी है।
host-observer
101kयह आपके एजेंट को Claude-Mem observer के काम का जवाब देने में मदद करता है। यह सिर्फ 'skip_summary' या पूरा XML observation ही लौटाता है।
मिलती-जुलती skills
add-model-provider
394kयह आपके एजेंट को सुरक्षित कमांड से OpenClaw में नया AI मॉडल प्रोवाइडर जोड़ने, API कीज़ को सादे टेक्स्ट से बचाने और लाइव टेस्ट चलाने देती है।
acp-router
394kयह आपके एजेंट को OpenClaw के ज़रिए Claude Code या Cursor जैसे कोडिंग असिस्टेंट को काम भेजने देती है, ताकि काम उसी टूल में चले।
browser-automation
394kयह आपके एजेंट को लॉगिन, टैब और अटकी वेब पेज से उबरने समेत, वेबसाइट पर चरण-दर-चरण काम करना सिखाती है।