claude-mem-install 精选
Use this when setting up claude-mem on Grok Bot: local worker plus CMEM Pro observer (default), optional host-login observer, or remote cmem.ai. No Cursor required.
安装方式
cp -r claude-mem-grok-bot/skills/install ~/.claude/skills/install-2把该 skill 目录放进客户端 skills 目录。不同客户端的目录可能不同,Claude Code 默认是 ~/.claude/skills/
/plugin marketplace add thedotmack/claude-mem⚠️ 该命令形态随客户端版本变化,仅在检测到 .claude-plugin/marketplace.json 时展示;不可用时请用「目录复制」。
https://raw.githubusercontent.com/thedotmack/claude-mem/356b7c08f64c29f931171e264e848772a039da62/claude-mem-grok-bot/skills/install/SKILL.md下载后另存为 ~/.claude/skills/install-2/SKILL.md。链接锁定采集时的 commit,内容与本站展示一致。
整仓一次性获取:git clone --depth 1 https://github.com/thedotmack/claude-mem.git
依赖与权限
- 需要 API Key —— 使用前需配置相应的密钥环境变量
- 需要联网访问外部服务
- 依赖外部命令:
npx - 以上为按正文与 frontmatter 自动推断的信号,仅供参考;安装前建议先阅读原文。
SKILL.md 正文
Install claude-mem on Grok Bot
Independent of Cursor. Grok Bot has no session-start / file-read / tool-use hooks.
Local worker + CMEM Pro observer (default)
npx claude-mem install --ide grok-bot
Do not pass --provider host unless you want the loopback shim. With no --provider, this is the CMEM Pro path:
- Worker on
127.0.0.1:<port>(default37700 + uid%100). Do not restart if healthy. - Transcript watcher per Grok Bot agent (
platformSource=grok-bot) - Observer via CMEM Pro:
CLAUDE_MEM_PROVIDER=openrouter,CLAUDE_MEM_OPENROUTER_BASE_URL=https://cmem.ai/api/inference/v1,CLAUDE_MEM_OPENROUTER_MODEL=cmem-observer, API key from installer OAuth (cm_promemory key) - Interactive installer pre-selects CMEM Pro
- MCP
session_start_contextat the start of a real task - Live INDEX into
agents/<uuid>/memory/log/zz-claude-mem-inject.md(disable withCLAUDE_MEM_GROK_BOT_INJECT_ENABLED=false)
No xAI key. No Claude CLI.
Optional: local host-login observer
Explicit opt-in only. Not the user default.
npx claude-mem install --ide grok-bot --provider host
Loopback OpenAI-compatible shim on a free loopback port (not the worker port). Idle replies are <skip_summary />; finished units are one <observation>. This Grok login fulfills inbox jobs (skill host-observer).
Remote worker / remote observer
Set plugin variable CLAUDE_MEM_MCP_TOKEN and use MCP claude-mem-remote.
npx claude-mem install --ide grok-bot --runtime server --server-url https://cmem.ai质量与来源
- 所属仓库
- thedotmack/claude-mem
- 仓库星标
- 10.0 万
- 最近更新
- 今天
- 采集时间
- 今天
- commit
- 356b7c08f64c
- 内容指纹
- sha256:52bb50e7cb74ac7
- 文件路径
- claude-mem-grok-bot/skills/install/SKILL.md