A high-performance memory management system for AI agents utilizing vector search, graph databases, and Karpathy-inspired multi-stage knowledge distillation.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install m-flow-memory
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install m-flow-memory using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The M-Flow Memory Skill is a sophisticated memory framework designed for AI agents within the Openclaw Skills ecosystem. It integrates cutting-edge technologies including Cone Graph, LanceDB for vector search, and Kuzu for graph database management to create a robust long-term memory architecture.
By implementing a Karpathy-style 4-stage management workflow, this skill transforms raw session data into structured, searchable knowledge. It allows agents to maintain context over long periods, perform semantic retrieval, and conduct episodic memory searches, making it an essential component for developers building high-autonomy AI systems.
To integrate this into your Openclaw Skills environment, ensure you have Ollama running locally and install the specific required dependencies:
# Critical: Use LanceDB version 0.26.0
uv pip install lancedb==0.26.0
# Install M-Flow
pip install m-flow>=0.3.1
Configure your .env file with the following variables:
HF_HUB_OFFLINE=1
LLM_PROVIDER="ollama"
LLM_MODEL="ollama/qwen2.5:14b-instruct-q8_0"
EMBEDDING_PROVIDER="ollama"
VECTOR_DB_PROVIDER=lancedb
GRAPH_DATABASE_PROVIDER=kuzu
The M-Flow Memory Skill organizes data across several layers to ensure high retrieval accuracy within the Openclaw Skills framework:
| Layer | Format | Purpose |
|---|---|---|
| Wiki | source | content | tags | timestamp |
Initial structured storage of raw query results |
| Compile | Knowledge Points | Distilled insights from session transcripts |
| M-Flow | Vector/Graph Embeddings | High-performance search index via LanceDB and Kuzu |
| Archive | Collection | Long-term cold storage of historical data |
KNOWLEDGE-STANDARDS.md to define how the agent should categorize and validate new information.Loading
A specialized quality control skill for the Karpathy LLM Knowledge Base designed to perform deduplication, merging, and self-repair of knowledge points.

A professional AI agent designed to manage the full lifecycle of construction bidding and procurement processes within the Chinese legal framework.

A sophisticated AI persona skill that emulates the speech patterns, vocabulary, and specific catchphrases of Donald Trump using a verified database of real quotes.

A sophisticated knowledge pipeline that transforms user queries and memory searches into structured wiki entries for continuous LLM learning.

An AI-driven distillation engine that converts raw wiki entries into high-density, structured knowledge points for advanced information retrieval.

A professional AI agent skill designed for rapid construction investment estimation and cost composition analysis based on the latest GB/T 50500-2024 standards.








































