thedotmack

claude-mem-install Skill

>- 在 Cursor 上设置 claude-mem 时使用:本地或远程 worker,本地主机登录 observer 或远程 cmem.ai 推理。

安装方式:把技能目录放入 ~/.claude/skills/(Claude Code)或在 claude.ai 设置中启用;也可复制右侧安装命令一键添加。

查看源码

技能指令原文(SKILL.md)

Install claude-mem on Cursor

Independent of Grok Bot. Do not require the other IDE.

Local worker (default)

npx claude-mem install --ide cursor

Starts the local worker. Hooks already ship with this plugin. MCP claude-mem-local talks to it.

Observer:

  • Remote inference (typical): leave provider as openrouter / cmem.ai (CLAUDE_MEM_OPENROUTER_BASE_URL=https://cmem.ai/api/inference/v1)
  • Local host-login: --provider host (loopback shim; never bind the worker port — on macOS the worker is often 37777, so the shim uses 37778)

Remote worker

npx claude-mem install --ide cursor --runtime server --server-url https://YOUR_HOST

Set plugin variable CLAUDE_MEM_MCP_TOKEN for claude-mem-remote (https://cmem.ai/api/mcp or your server).

Never restart a healthy worker (RAM queue). No Claude CLI required for host/openrouter.