claude-mem-install

Install claude-mem on Grok Bot with local worker and CMEM Pro observer integration.

115k|10.0k|Updated Aug 31, 2025
Ready to run
npx skills add https://github.com/thedotmack/claude-mem --skill claude-mem-install-thedotmack
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: claude-mem-install
Source: https://github.com/thedotmack/claude-mem/tree/main/claude-mem-grok-bot/skills/install
Command: npx skills add https://github.com/thedotmack/claude-mem --skill claude-mem-install-thedotmack

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Grok Bot agents lose context between sessions, requiring manual re-setup of memory and state. This Skill automates deployment of claude-mem's distributed memory system, eliminating manual configuration and enabling persistent agent state across tasks. ## Core Features & Use Cases - Local Worker Setup: Deploy a lightweight memory worker on localhost with automatic port allocation. - CMEM Pro Observer: Integrate cloud-based memory observation via cmem.ai without API key setup. - Optional Host-Login Observer: Run a loopback OpenAI-compatible shim for local observation workflows. - Use Case: Deploy claude-mem on a Grok Bot instance to enable an agent to maintain conversation history, task context, and learned patterns across 50+ independent conversations without manual restoration. ## Quick Start Run the installation command with your preferred observer backend (CMEM Pro recommended for most setups).

Frequently Asked Questions about claude-mem-install

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up claude-mem on Grok Bot?▼

Run `npx claude-mem install --ide grok-bot` to deploy the default configuration with local worker plus CMEM Pro observer. No additional API keys required—the interactive installer handles OAuth setup for memory authentication.

What is the difference between CMEM Pro and host-login observers?▼

CMEM Pro observer connects to cmem.ai cloud infrastructure for scalable memory storage and is the default. Host-login observer runs a free loopback shim locally for lightweight setups, requiring explicit `--provider host` flag and suitable only for low-traffic development.

Do I need Cursor or Claude CLI to use claude-mem on Grok Bot?▼

No. Claude-mem runs independently on Grok Bot without Cursor or Claude CLI. It operates as a standalone Node.js service with transcript watching and MCP context injection.

How does the memory worker communicate with Grok Bot?▼

The worker listens on localhost (default port 37700 + uid%100) and integrates via MCP `session_start_context` at task start. Live memory is injected into `agents/<uuid>/memory/log/zz-claude-mem-inject.md` for agent access.

Can I disable claude-mem memory injection after installation?▼

Yes. Set environment variable `CLAUDE_MEM_GROK_BOT_INJECT_ENABLED=false` to stop live INDEX updates while keeping the worker running.