ClawHub
SkillsPluginsTemplatesDocsSupport
K
SkillsRapport Memories

Rapport Memories

Carlos Delfino@carlosdelfino
Install in OpenClaw
Requires OpenClaw desktop app
Extends the agent's memory with semantic search capabilities using Retrieval-Augmented Generation (RAG) for enhanced contextual awareness and continuity.
Security check
Review
Version
1.0.1
Updated
Jun 10, 2026
License
MIT-0

Latest: v1.0.1

  • Added command-line usage instructions for initializing, indexing, adding, searching, and viewing stats directly from the script.
  • Updated configuration documentation, specifying default embedding model and command usage.
  • Streamlined and condensed documentation, removing in-depth API and developer integration examples.
  • Removed the file skill-card.md.
Knowledge
#retrieval-augmented-generation#rag

Description

This skill adds a semantic layer to the agent's internal memory system (MEMORY.md, memory/*.md, and session transcripts) enabling:

  • Semantic search over past conversations, decisions, and learned information
  • Context-aware responses that leverage historical interactions
  • Improved continuity in multi-turn dialogues
  • Ability to recall and synthesize information from previous sessions

Unlike the existing calibre-ebooks skill which focuses on book content RAG, this skill targets the agent's own operational memory and knowledge base.

Core Functionality

  1. Memory Indexing

    • Automatically processes MEMORY.md, memory/*.md files
    • Indexes sanitized session transcripts (excluding sensitive operational data)
    • Creates vector embeddings for semantic search capability
  2. Semantic Search

    • Provides semantic_memory query method for natural language queries over agent's memory
    • Returns relevant past conversations, decisions, and contextual information
    • Includes source attribution (date, session ID when available)
  3. Context Enhancement

    • Augments LLM prompts with relevant historical context when appropriate
    • Helps maintain consistency in long-term interactions
    • Supports "remember when..." type queries about past interactions

Technical Implementation

Architecture

  • Uses local vector store (FAISS or similar) for memory embeddings
  • Embedding model: Configured via environment variable (defaults to same as calibre-ebooks for consistency)
  • Chunking strategy: Paragraph-level with overlap for context preservation
  • Update mechanism: Incremental indexing of new memory entries

Data Sources Indexed

  • MEMORY.md - Primary persistent memory file
  • memory/*.md - Daily/rotational memory files
  • Session transcripts (sanitized): Excludes:
    • Internal tool calls, JSON, commands
    • Sandbox/runtime diagnostics
    • Credentials, tokens, internal paths
    • Approval-related metadata
    • Anything marked as private in session history

Privacy & Safety

  • Only indexes content deemed appropriate for agent's own knowledge base
  • Explicitly filters out:
    • User personal data beyond what's necessary for context
    • Operational/system internals
    • Any content that would violate agent's privacy guidelines
  • Respects existing memory file permissions and conventions

Usage

  • python3 /skill/rapport-memories/scripts/memory_rag.py init
  • python3 /skill/rapport-memories/scripts/memory_rag.py index
  • python3 /skill/rapport-memories/scripts/memory_rag.py add --title "Title" --content "Content" --taxonomy "Taxonomy" --date "2025-10-15"
  • python3 /skill/rapport-memories/scripts/memory_rag.py search "Query"
  • python3 /skill/rapport-memories/scripts/memory_rag.py stats

Configuration

Set via environment variables:

  • RAPPORT_MEMORIES_EMBEDDING_MODEL - Embedding model to use (default: nomic-embed-text-v2-moe:latest)
  • RAPPORT_MEMORIES_CHUNK_SIZE - Text chunk size for indexing
  • RAPPORT_MEMORIES_UPDATE_INTERVAL - Auto-reindex interval (seconds)
  • RAPPORT_MEMORIES_STORE_PATH - Path for vector store storage

Relationship to Existing Systems

Complements calibre-ebooks

  • calibre-ebooks: RAG for book content (external knowledge)
  • rapport-memories: RAG for agent's own operational memory
  • Both can be used together for contextual responses that combine book knowledge with conversation history

Enhances Existing Flows

  • Book Search: When searching for books, can recall past similar requests
  • Recommendations: Leverages history of what was previously suggested/discussed
  • Status Queries: Can reference past system states or decisions
  • Learning: Helps agent avoid repeating same mistakes or suggestions

Does NOT Replace

  • Core memory files (MEMORY.md remains source of truth)
  • Agent's inherent knowledge or reasoning
  • Need for explicit memory curation by operators
  • The requirement to verify book availability via calibre-ebooks

Implementation Notes

Indexing Process

  1. Scan memory directory for new/updated .md files
  2. Extract and sanitize text content (remove code blocks, JSON, etc.)
  3. Split into semantic chunks with overlap
  4. Generate embeddings using configured model
  5. Store in vector index with metadata (source, timestamp, etc.)

Search Process

  1. Convert query to embedding using same model
  2. Perform vector similarity search
  3. Return top-k results with relevance scores and source citations
  4. Optionally rerank or filter based on recency/relevance

Usage Examples

Public-Facing Benefits (Indirect)

While the skill itself isn't called directly in public responses, it enables:

  • More coherent long-term conversations
  • Reduced need to re-ask for context
  • Better personalized interactions based on history
  • More accurate self-referential responses ("As we discussed yesterday...")

Limitations & Considerations

Scope

  • Only indexes text-based memory files
  • Does not index book content (that's calibre-ebooks' domain)
  • Real-time indexing may have slight delay for new entries

Performance

  • Initial indexing may take time for large memory histories
  • Subsequent updates are incremental
  • Vector store size grows with memory volume

Maintenance

  • Periodic reindexing may be needed if embedding model changes
  • Memory file format changes may require parser updates
  • Should monitor vector store size and prune if necessary

Related skills

More in Knowledge
ClawHub

Skills and plugins for OpenClaw agents. Part of the wider OpenClaw ecosystem.

Explore docs

SkillsPluginsTemplatesOfficialAudits

Publish SkillPublish PluginCreate org

OverviewOpenClawDocsBlog

SupportGitHubDiscord

Built alongside the OpenClaw ecosystem

LobsterCrabboxClickClackCrabfleetOctopoolClawSweeperagent-skillsdiscrawlgitcrawlslacrawlnotcrawltelecrawlgraincrawlcrawlkitcrawlbaracpxmcporterTachikomaclawpatchclawbenchPeekaboocookbookplugin-inspectorwacrawlcrabpotAll projectsLobsterCrabboxClickClackCrabfleetOctopoolClawSweeperagent-skillsdiscrawlgitcrawlslacrawlnotcrawltelecrawlgraincrawlcrawlkitcrawlbaracpxmcporterTachikomaclawpatchclawbenchPeekaboocookbookplugin-inspectorwacrawlcrabpotAll projects

© 2026 OpenClaw Foundation

Privacy policy·Status·Deployed on Vercel·Powered by Convex

....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals
  hooks runners slash-commands skill.md templates scanners review-bots     safe browse paths   official gateways   publisher handles   org trust   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@
openclaw ecosystem    crabbox clickclack crawler packs gateway plugins   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship
---- downloads installs stars lineage ownership docs package integrity   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@   :::: signed manifests ::::: moderated releases ::::: version history ::::
  safe browse paths   official gateways   publisher handles   org trust     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship     hooks runners slash-commands skill.md templates scanners review-bots
....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals
  hooks runners slash-commands skill.md templates scanners review-bots     safe browse paths   official gateways   publisher handles   org trust   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@
openclaw ecosystem    crabbox clickclack crawler packs gateway plugins   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship
---- downloads installs stars lineage ownership docs package integrity   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@   :::: signed manifests ::::: moderated releases ::::: version history ::::
  safe browse paths   official gateways   publisher handles   org trust     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship     hooks runners slash-commands skill.md templates scanners review-bots
....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals
  hooks runners slash-commands skill.md templates scanners review-bots     safe browse paths   official gateways   publisher handles   org trust   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@
openclaw ecosystem    crabbox clickclack crawler packs gateway plugins   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship
---- downloads installs stars lineage ownership docs package integrity   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@   :::: signed manifests ::::: moderated releases ::::: version history ::::
  safe browse paths   official gateways   publisher handles   org trust     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship     hooks runners slash-commands skill.md templates scanners review-bots
....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals
  hooks runners slash-commands skill.md templates scanners review-bots     safe browse paths   official gateways   publisher handles   org trust   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@
openclaw ecosystem    crabbox clickclack crawler packs gateway plugins   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship
---- downloads installs stars lineage ownership docs package integrity   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@   :::: signed manifests ::::: moderated releases ::::: version history ::::
  safe browse paths   official gateways   publisher handles   org trust     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship     hooks runners slash-commands skill.md templates scanners review-bots
....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals
  hooks runners slash-commands skill.md templates scanners review-bots     safe browse paths   official gateways   publisher handles   org trust   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@
openclaw ecosystem    crabbox clickclack crawler packs gateway plugins   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship
---- downloads installs stars lineage ownership docs package integrity   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@   :::: signed manifests ::::: moderated releases ::::: version history ::::
  safe browse paths   official gateways   publisher handles   org trust     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship     hooks runners slash-commands skill.md templates scanners review-bots
....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals