mem-setup
Skill này làm gì
Công cụ này thiết lập tài khoản cmem.ai để Claude có thể lưu và truy xuất ký ức của bạn. Nó kết nối thông tin xác thực của bạn để hệ thống hoạt động.
Khi nào nên dùng
- ✓Khi bạn muốn kết nối tài khoản cmem.ai của mình.
- ✓Khi bắt đầu dùng Claude với các ký ức đã lưu.
- ✓Khi ký ức không được lưu hoặc truy xuất đúng cách.
Liên kết skill
https://github.com/thedotmack/claude-mem/blob/main/cowork/skills/mem-setup/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Thiết lập tài khoản cmem.ai của tôi với sync token 'cm_...', user ID '...' và URL 'https://sync.cmem.ai'.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ nhận thông tin tài khoản cmem.ai của bạn (token, ID và URL) rồi lưu một cách an toàn. Nó đảm bảo Claude có thể giao tiếp với dịch vụ ký ức.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Claude-Mem Setup (Cowork pairing)
Configure this plugin with the user's own cmem.ai credentials so hooks can capture and inject memory. Anyone can pair — credentials are per-user configuration, never hardcoded in plugin logic.
What to collect
From cmem.ai → Connect, the user has three values:
- sync token (starts with
cm_) — used as the bearer API key - user id (UUID)
- SyncHub URL (
https://sync.cmem.ai)
If the user pastes the whole Connect blurb, extract the three values from it. If any are missing, ask for the sync token at minimum — the other two are optional.
Secret handling — non-negotiable
- Never echo the token back in conversation, put it in a shell argv, or log it.
- Move it only via file writes (Write/Edit tool) and file reads.
Steps
Locate the installed plugin root (this skill's own plugin). Update its
config.json: setapiKeyto the sync token,userId, andsyncHubUrl. Leave other settings unless the user asks (injecttoggles). Project naming is automatic (cmem_work_*) and is not configurable.Cowork containers are ephemeral: edits to the installed copy last only for this session. To make pairing permanent, repackage — zip the plugin directory as
<plugin-name>.pluginand send it to the user to re-install (the cowork-plugin skill's packaging flow). Tell the user this is why.If this machine also has a local claude-mem install (a
~/.claude-mem/directory exists), write the same values to~/.claude-mem/settings.jsonwith mode 0600 (CLAUDE_MEM_CLOUD_SYNC_TOKEN,CLAUDE_MEM_CLOUD_SYNC_USER_ID,CLAUDE_MEM_CLOUD_SYNC_HUB_URLkeys — the same keys the local claude-mem cloud-sync pairing writes). This plugin's hooks stay off wherever claude-mem is installed locally, so that pairing is what carries this machine's work to cmem.ai. The worker reads those keys only at startup: restart it and run the claude-mem cloud-sync skill's Verify step, which must reportconfigured: trueandhub.reachable: true. Don't report success before it does; if it never does, pair through that skill's installer flow instead.Verify without exposing the secret:
node "${CLAUDE_PLUGIN_ROOT}/scripts/cmem-hook.mjs" statusReport the masked output. A
MISSINGkey means the write didn't land; a 404 on/api/hooks/contextis expected until the Pro endpoints deploy (search/injection still work via/api/mcp).
Alternate source
Env vars override everything and need no file edits: CMEM_API_KEY,
CMEM_USER_ID, CMEM_SYNC_HUB_URL, CMEM_API_BASE.
Câu hỏi thường gặp
Tôi tìm thông tin xác thực cmem.ai ở đâu?
Trên website cmem.ai, vào mục 'Connect' để tìm sync token, user ID và URL của SyncHub.
Thông tin xác thực có được lưu an toàn không?
Có, công cụ không hiển thị token của bạn trong cuộc trò chuyện và chỉ lưu nó trong các tệp an toàn, không để lộ ra ngoài.
Tôi có cần khởi động lại Claude sau khi thiết lập không?
Có, để các thiết lập mới được áp dụng đúng, bạn có thể cần khởi động lại Claude hoặc worker liên quan.
Chi tiết
Mô tả gốc của tác giả
This skill should be used when the user asks to "set up claude-mem", "pair claude-mem", "connect cmem", "add my cmem key", "set up cloud sync in Cowork", or provides cmem.ai Connect values (sync token, user id, SyncHub URL) for this plugin. Configures the claude-mem-cowork plugin credentials.
repo: thedotmack/claude-mem
Độ phổ biến
- Sao GitHub
- 101k
- Vị trí xếp hạng
- #1264
- Giấy phép
- Apache-2.0
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
Agent Cost Report
101kGiúp agent của bạn tạo báo cáo chi phí chi tiết cho các hoạt động. Cho biết đã chi bao nhiêu cho token và dịch vụ.
claude-mem-install
101kGiúp agent của bạn thiết lập Claude-Mem trong các môi trường khác nhau. Cho phép chọn worker cục bộ hoặc từ xa và cấu hình quan sát.
mem-search
101kGiúp agent của bạn tìm kiếm các ký ức trong quá khứ. Hữu ích để nhớ lại các giải pháp trước đây hoặc công việc từ những phiên cũ.
host-observer
101kGiúp agent của bạn phản hồi các tác vụ quan sát của Claude-Mem. Chỉ được trả lời bằng 'skip_summary' hoặc một quan sát XML đầy đủ.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.