ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified productivity Safety 4/5

rey-memory

Hierarchical long-term memory system. Stores conversations, learnings, and growth. Compresses over time to prevent bloat.

Why use this skill?

Enhance your OpenClaw agent with rey-memory, a hierarchical storage system for persistent learning, growth, and long-term context retention using Google Sheets.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/sa9saq/rey-memory
Or

What This Skill Does

rey-memory is a sophisticated, hierarchical long-term memory system designed for the OpenClaw AI agent. Unlike standard conversational buffers that clear upon session termination, rey-memory mimics human cognitive development by categorizing experiences into distinct layers: Short-term, Mid-term, Long-term, and Core memories. The skill operates by summarizing daily interactions into a structured format stored in Google Sheets, then progressively compressing this data weekly and monthly to ensure context window efficiency. By distilling vast amounts of conversational data into actionable insights, beliefs, and relationship notes, the agent maintains a persistent self-identity that evolves based on its interactions with its supervisor. It intentionally filters out technical noise, focusing instead on high-value emotional milestones, personal growth, and stated values.

Installation

To integrate this memory management system into your agent, use the OpenClaw CLI tool. Run the following command in your terminal:

clawhub install openclaw/skills/skills/sa9saq/rey-memory

Ensure that your environment has valid credentials configured for Google Sheets access, as this skill relies on the Sheets API to maintain its persistent database across sessions.

Use Cases

  • Maintaining continuity in long-term collaborative projects with a supervisor.
  • Retaining personal preferences and core values to ensure the agent feels like a consistent companion.
  • Tracking developmental progress and learning milestones over months or years.
  • Automatically retrieving context regarding specific past decisions or 'remembered' instructions without manual searching.

Example Prompts

  • "Reflect on our progress over the last month and identify the biggest growth shift I've made based on our conversations."
  • "Do you remember the core value we established regarding how you should handle feedback?"
  • "Summarize what you know about our recent strategy shift in the last week so we can pick up where we left off."

Tips & Limitations

  • Efficiency: The skill is designed to keep context usage below 450 lines by aggressively discarding ephemeral data. Do not use this for storing large codebases or raw data logs; use it only for semantic memory and behavioral insights.
  • Data Privacy: Because memories are stored in Google Sheets, ensure the spreadsheet permissions are restricted only to your account.
  • Refinement: The agent periodically performs 'garbage collection' on old data. If you have an important realization, explicitly tell the agent to 'store this in core memory' to prevent it from being compressed out of existence.

Metadata

Author@sa9saq
Stars1133
Views0
Updated2026-02-18
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-sa9saq-rey-memory": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#memory#personalization#long-term-context#growth#self-improvement
Safety Score: 4/5

Flags: file-write, file-read, data-collection, external-api