tapps-brain-memory

Persist OpenClaw agent memories across sessions with BM25 ranking and exponential decay.

1|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/wtthornton/tapps-brain --skill tapps-brain-memory
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tapps-brain-memory
Source: https://github.com/wtthornton/tapps-brain/tree/main/openclaw-skill
Command: npx skills add https://github.com/wtthornton/tapps-brain --skill tapps-brain-memory

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

OpenClaw agents forget between sessions, making long-term memory across projects essential. This skill provides persistent, cross-session memory with BM25 ranking, exponential decay, automatic consolidation, and cross-project Hive sharing to keep context alive.

Core Features & Use Cases

  • Auto-recall of relevant memories injected into model prompts
  • Auto-capture of facts from interactions for durable indexing
  • Pre-compaction flush to preserve important context before memory pruning
  • Configurable profiles to tailor scoring, decay, and sharing rules
  • Hive sharing and federation for cross-agent, cross-project memory
  • MCP tools and resources for programmatic control and diagnostics

Quick Start

Install the tapps-brain-memory skill to enable persistent, cross-session memory for OpenClaw agents.

Frequently Asked Questions about tapps-brain-memory

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

FAQPage Schema
How do I persist AI agent memory across sessions?

Persistent cross-session memory for AI agents is achieved by capturing interaction facts and recalling them automatically into model prompts using BM25 ranking and exponential decay, ensuring context survives session boundaries.

What is the best way to share memory context across multi-agent Hive environments?

Multi-agent Hive memory sharing is handled through federation features that allow cross-agent and cross-project context recall, consolidation, and profile-driven workflows for collaborative memory management.

How does BM25 ranking work for AI memory recall?

BM25 ranking scores stored memories by relevance to the current prompt, while exponential decay gradually reduces the weight of older memories, ensuring the most contextually important facts are assembled first.

Can I use configurable profiles to tailor agent memory scoring and decay rules?

Configurable profiles allow you to customize scoring, exponential decay rates, and sharing rules, tailoring how memories are captured, consolidated, and recalled for specific project or agent requirements.

Does pre-compaction flush preserve context before memory pruning?

Pre-compaction flush preserves important context by triggering a lifecycle hook that saves critical memories to durable indexing before memory pruning or disposal occurs during the compact phase.

How do MCP tools control persistent memory diagnostics programmatically?

MCP tools and resources provide programmatic control and diagnostics for persistent memory, exposing lifecycle hooks like bootstrap, ingest, assemble, compact, and dispose for automated agent context management.