/Catalogue/Prompt/thedotmack/thedotmack-claude-mem-install-2

Origin: github

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.

by thedotmack · updated 11h ago · imported from GitHub

Installs0+0/7d
Security score92/100
Retention 14d0%
GitHub stars94.7K

Skill logic

Execution graph
User message
Prompt rewrites behaviour
Response

SKILL.md

View on GitHub ↗

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> (default 37700 + 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_pro memory key)
  • Interactive installer pre-selects CMEM Pro
  • MCP session_start_context at the start of a real task
  • Live INDEX into agents/<uuid>/memory/log/zz-claude-mem-inject.md (disable with CLAUDE_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

Discussion

No comments yet — start the thread.

Sign in to join the discussion.

/More from thedotmack/claude-mem

thedotmack· 11h agoCommunity
claude-mem-install

Prompts · TypeScript · v0.1.0

Use this when setting up claude-mem on Cursor: local or remote worker, local host-login observer or remote cmem.ai inference.

#ai#ai-agents#ai-memory

0 94.7K
thedotmack· 11h agoSandbox
openclaw

Prompts · TypeScript · v0.1.0

This guide walks through setting up the claude-mem plugin on an OpenClaw gateway. By the end, your agents will have persistent memory across sessions via system prompt context injection, and optionally a real-time observation feed streaming to a messaging channel.

#ai#ai-agents#ai-memory

0 94.7K
thedotmack· 11h agoCommunity
mem-search

Prompts · TypeScript · v0.1.0

Use this when the user asks to search memory, "did we already solve this?", "how did we do X last time?", or wants work from previous sessions.

#ai#ai-agents#ai-memory

0 94.7K
thedotmack· 11h agoCommunity
host-observer

Prompts · TypeScript · v0.1.0

Use this when fulfilling claude-mem observer jobs on Grok Bot: reply only skip_summary or one full observation XML, never prose.

#ai#ai-agents#ai-memory

0 94.7K