Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
← Back to list

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★ 99,219⑂ 8,692AI score 7/10Last updated: Oct 9, 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, and syncHubUrl into the plugin's config.json, and optionally mirrors them to ~/.claude-mem/settings.json with 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 status and 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

  1. "Here's my Connect block — configure it" → values parsed, config.json updated, masked status printed.
  2. "Pairing resets every session" → the skill explains repackaging the plugin as a .plugin zip for a permanent install.
  3. "Did it work?" → run status; a MISSING key means the write didn't land, and a 404 on /api/hooks/context is 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)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download 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.

  1. Open a terminal.
  2. Clone the repo: git clone https://github.com/thedotmack/claude-mem.git
  3. Create the skills folder: mkdir -p ~/.claude/skills
  4. Copy the skill: cp -r claude-mem/cowork/skills/mem-setup ~/.claude/skills/
  5. Log in to cmem.ai and open the Connect page to grab your sync token, user id, and SyncHub URL.
  6. Restart Claude Code and ask it to "set up claude-mem".
  7. Check the status output and confirm no keys report MISSING.
View source on GitHub ↗License: Apache-2.0