Memory Pro System

Prompts

Enhanced AI memory system — vector store, document-level MSA, knowledge graph, collision engine, executable skills, and closed-loop skill evolution.

Install

openclaw skills install openclaw-memory-pro

OpenClaw Memory Pro System

An AI memory assistant that turns fragmented notes and conversations into searchable long-term memory, auto-distills actionable skills via a closed-loop feedback pipeline, and proactively reminds you.

When to Use

GoalCommand
Store a memorymemory-cli remember "Learned X today" --tag thought -i 0.8
Assembled recall (skills + KG + evidence)memory-cli recall "X"
Deep multi-hop reasoningmemory-cli deep-recall "complex question"
Inspiration collision (7 strategies)memory-cli collide
Daily briefingmemory-cli briefing
List skills with utility statsmemory-cli skills
KG contradiction detectionmemory-cli contradictions
KG blind spot scanmemory-cli blindspots
Thought threadsmemory-cli threads
Skill feedbackmemory-cli skill-feedback <id> success

When Not to Use

  • For ephemeral throwaway messages that don't need persistence.
  • For real-time streaming data (this is a batch/on-demand system).

Architecture

Fragments --> [Ingest + Tag] --> Unified Corpus (Memora vectors + MSA documents)
                                        |
                              +---------+-----------+
                              v         v           v
                          [KG Weave] [Distill]  [Collide]
                          structural compression  novelty
                           _gain      _value      (1-5)
                              |         |           |
                              +----+----+-----+-----+
                                   |    v     |
                              [Skill Proposer]     <-- triggered when 2-of-3 scores pass
                                   v
                            [Skill Registry]       <-- utility tracking + feedback loop
                           (draft -> active -> deprecated)
                                   |
                         +---------+-----------+
                         v         v           v
                    [Question-   [Scheduled  [Nebius
                     Driven       Push]       Fine-
                     Recall]                  Tuning]
                         |
             +-----------+-----------+
             v           v           v
         [Skills]   [KG Relations] [Evidence]   <-- three-layer assembled output
             |
             v
        Use -> Feedback -> utility update -> low-utility auto-rewrite

Subsystems

LayerModuleRole
CorpusMemoraPrimary vector store (nomic-embed-text, JSONL). All content enters here.
MSADocument-level storage for long text (>=100 words) or high importance (>=0.85). LLM-powered multi-hop interleave.
IntelligenceSecond BrainKG weaving, distillation, collision (7 strategies with attention focus + recency weighting).
Skill ProposerAuto-generates draft skills when 2-of-3 scores meet thresholds.
SkillSkill RegistryVersioned skills with utility tracking, feedback loop, executable action bindings (prompt_template / tool_call / webhook).
TrainingChronosReplay buffer, personality profile generation, training data export.

Ingestion Routing

  • All content -> Memora (always)
  • Long text (>=100 words) OR high importance (>=0.85) -> also MSA
  • High importance (>=0.85) -> also Chronos
  • Always writes daily log file
  • Post-remember hooks: KG extraction, access tracking

Recall

Three-layer assembled response with token budget control (default 4000 tokens):

  1. Skills (score 1.0) — active skills matched by vector similarity, with executable prompts
  2. KG Relations (score 0.9) — knowledge graph nodes + logical edges
  3. Evidence (score 0.0-1.0) — Memora snippets + MSA documents

Collision Engine

7 strategies with attention-aware anchor selection:

  • RAG-based: Semantic Bridge, Dormant Revival, Temporal Echo, Chronos Cross-Ref, Digest Bridge
  • KG-driven: Contradiction-Based, Blind Spot-Based

Before each round, extracts 3-5 focus keywords from recent memories. Anchor selection biased toward current focus topics with recency weighting.

Requirements

  • Python 3.9+
  • macOS (Apple Silicon) or Linux
  • LLM API key: OpenRouter (preferred) or xAI (fallback)

Setup

See setup.md for installation instructions.

Source

GitHub: FluffyAIcode/openclaw-memory-pro-system