[PR #103] [CLOSED] docs: Add claude-mem integration guide for OpenClaw #258

Closed
opened 2026-02-15 17:16:31 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/openclaw/clawhub/pull/103
Author: @howlonghasitBen
Created: 2/2/2026
Status: Closed

Base: mainHead: feat/claude-mem-integration


📝 Commits (3)

  • 1f02bd2 docs: Add claude-mem integration guide for OpenClaw
  • 82c241e feat: Add claude-mem skill with install script
  • 8c7c2d0 fix: Address audit bot review suggestions

📊 Changes

4 files changed (+369 additions, -0 deletions)

View changed files

📝 docs/README.md (+4 -0)
docs/claude-mem-integration.md (+118 -0)
skills/claude-mem/SKILL.md (+141 -0)
skills/claude-mem/scripts/install.sh (+106 -0)

📄 Description

Summary

Adds documentation for using claude-mem with OpenClaw to reduce token usage through persistent memory compression.

What's included

  • docs/claude-mem-integration.md - Integration guide covering:
    • 3-layer progressive disclosure pattern (~10x token savings)
    • How claude-mem complements OpenClaw's MEMORY.md system
    • SKILL.md template for ClawHub packaging
    • Configuration and resources

Why

claude-mem captures Claude Code session context, compresses it with AI, and injects relevant history into future sessions. When combined with OpenClaw's workspace memory (MEMORY.md, daily logs), this provides comprehensive context without token bloat.

Token Savings

The 3-layer search pattern:

  1. search → Compact index (~50-100 tokens/result)
  2. timeline → Chronological context
  3. get_observations → Full details ONLY for filtered IDs

Results in ~10x token reduction compared to loading full context.

Related

Greptile Overview

Greptile Summary

Adds a new documentation page (docs/claude-mem-integration.md) describing how to use the external claude-mem Claude Code plugin alongside OpenClaw. The guide covers installation, an example settings.json, a “3-layer progressive disclosure” token-savings workflow, how this complements OpenClaw’s memory files, and includes a sample SKILL.md template plus links to related resources.

Confidence Score: 4/5

  • This PR is safe to merge; it only adds documentation, with a few spots that could confuse users if commands/links drift.
  • Changes are limited to a new markdown guide with no runtime impact. Main risks are doc accuracy (install path/commands, pinned model identifier, and external links).
  • docs/claude-mem-integration.md

(3/5) Reply to the agent's comments like "Can you suggest a fix for this @greptileai?" or ask follow-up questions!

Context used:

  • Context from dashboard - AGENTS.md (source)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/openclaw/clawhub/pull/103 **Author:** [@howlonghasitBen](https://github.com/howlonghasitBen) **Created:** 2/2/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/claude-mem-integration` --- ### 📝 Commits (3) - [`1f02bd2`](https://github.com/openclaw/clawhub/commit/1f02bd2af78006a15f32baf9a7c6eaa12868f4dd) docs: Add claude-mem integration guide for OpenClaw - [`82c241e`](https://github.com/openclaw/clawhub/commit/82c241ebe165caaa6f33e9eb0c1f06d82e9aa793) feat: Add claude-mem skill with install script - [`8c7c2d0`](https://github.com/openclaw/clawhub/commit/8c7c2d0bf1c9f1766f990bb96813d8f1bbb7f329) fix: Address audit bot review suggestions ### 📊 Changes **4 files changed** (+369 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/README.md` (+4 -0) ➕ `docs/claude-mem-integration.md` (+118 -0) ➕ `skills/claude-mem/SKILL.md` (+141 -0) ➕ `skills/claude-mem/scripts/install.sh` (+106 -0) </details> ### 📄 Description ## Summary Adds documentation for using [claude-mem](https://github.com/thedotmack/claude-mem) with OpenClaw to reduce token usage through persistent memory compression. ## What's included - `docs/claude-mem-integration.md` - Integration guide covering: - 3-layer progressive disclosure pattern (~10x token savings) - How claude-mem complements OpenClaw's MEMORY.md system - SKILL.md template for ClawHub packaging - Configuration and resources ## Why claude-mem captures Claude Code session context, compresses it with AI, and injects relevant history into future sessions. When combined with OpenClaw's workspace memory (MEMORY.md, daily logs), this provides comprehensive context without token bloat. ## Token Savings The 3-layer search pattern: 1. `search` → Compact index (~50-100 tokens/result) 2. `timeline` → Chronological context 3. `get_observations` → Full details ONLY for filtered IDs Results in ~10x token reduction compared to loading full context. ## Related - https://github.com/thedotmack/claude-mem - https://docs.claude-mem.ai <!-- greptile_comment --> <h2>Greptile Overview</h2> <h3>Greptile Summary</h3> Adds a new documentation page (`docs/claude-mem-integration.md`) describing how to use the external `claude-mem` Claude Code plugin alongside OpenClaw. The guide covers installation, an example settings.json, a “3-layer progressive disclosure” token-savings workflow, how this complements OpenClaw’s memory files, and includes a sample `SKILL.md` template plus links to related resources. <h3>Confidence Score: 4/5</h3> - This PR is safe to merge; it only adds documentation, with a few spots that could confuse users if commands/links drift. - Changes are limited to a new markdown guide with no runtime impact. Main risks are doc accuracy (install path/commands, pinned model identifier, and external links). - docs/claude-mem-integration.md <!-- greptile_other_comments_section --> <sub>(3/5) Reply to the agent's comments like "Can you suggest a fix for this @greptileai?" or ask follow-up questions!</sub> **Context used:** - Context from `dashboard` - AGENTS.md ([source](https://app.greptile.com/review/custom-context?memory=a1d58d20-b4dd-4cbb-973a-9fd7824e1921)) <!-- /greptile_comment --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 17:16:31 -05:00
yindo closed this issue 2026-02-15 17:16:32 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: openclaw/clawhub#258