Claude-Mem Setup (Cowork Pairing)
A configuration skill that safely wires your cmem.ai Connect values (sync token, user id, SyncHub URL) into the claude-mem plugin.
UtilitiesIntermediate★ 91,944⑂ 8,084AI score 7/10Last updated: Aug 26, 2026
What it does
- Fires on requests like "set up claude-mem", "add my cmem key", or "connect cloud sync in Cowork".
- Extracts the three Connect values from a pasted blurb: sync token (
cm_...), user id (UUID), and SyncHub URL. - Writes
apiKey,userId, andsyncHubUrlinto the plugin'sconfig.json, and optionally mirrors them to~/.claude-mem/settings.jsonwith mode 0600. - Enforces secret hygiene: never echo the token, never pass it in shell argv, move it only through file writes.
- Verifies with
node ${CLAUDE_PLUGIN_ROOT}/scripts/cmem-hook.mjs statusand reports masked output.
Who it's for
- Existing claude-mem / cmem.ai users
- Anyone re-pairing credentials inside ephemeral Cowork containers
- Teams that want credential setup done without leaking tokens into logs
Examples
- "Here's my Connect block — configure it" → values parsed, config.json updated, masked status printed.
- "Pairing resets every session" → the skill explains repackaging the plugin as a
.pluginzip for a permanent install. - "Did it work?" → run status; a
MISSINGkey means the write didn't land, and a 404 on/api/hooks/contextis expected.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/thedotmack/claude-mem/HEAD/cowork/skills/mem-setup/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the cowork/skills/mem-setup folder from the GitHub repo thedotmack/claude-mem into my ~/.claude/skills/mem-setup/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/thedotmack/claude-mem.git && mkdir -p ~/.claude/skills && cp -r claude-mem/cowork/skills/mem-setup ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repo:
git clone https://github.com/thedotmack/claude-mem.git - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r claude-mem/cowork/skills/mem-setup ~/.claude/skills/ - Log in to cmem.ai and open the Connect page to grab your sync token, user id, and SyncHub URL.
- Restart Claude Code and ask it to "set up claude-mem".
- Check the status output and confirm no keys report
MISSING.
View source on GitHub ↗License: Apache-2.0