A production-grade, four-layer memory architecture plugin for OpenClaw that automates dialogue capture, parses structural logs, and manages dynamic user profiles.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install memory-tencentdb-setup
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 memory-tencentdb-setup using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The memory-tencentdb plugin is a sophisticated cognitive storage and retrieval system designed to enhance Openclaw Skills. By organizing memory across four levels, it allows AI agents to move beyond transient chat histories toward authentic context retention and personalization. The plugin intercepts all conversational traffic, archiving dialogues locally and building analytical representations of the user.
Integrating directly with the OpenClaw platform, it works quietly in the background, structuring memory without introducing performance bottlenecks. This architecture ensures your autonomous agents are backed by a consistent, queryable brain, unlocking high-quality customized experiences across long periods of time.
Install memory-tencentdb globally using ClawHub, or copy the package directly to your plugin home:
# Standard installation via ClawHub
clawhub install memory-tencentdb
Alternatively, locate your plugin home directory manually:
%APPDATA%\mx\openclaw-home\<account>\.openclaw\plugins\memory-tencentdb~/.openclaw/plugins/memory-tencentdbBecause the OpenClaw Gateway executes plugins via jiti, it is vital to install critical runtime dependencies (like js-tiktoken) in the Gateway directory, not the plugin package directory itself.
# Run npm install inside the plugin directory to grab node_modules
cd "[Plugin Folder Path]"
npm install --ignore-scripts
# Copy js-tiktoken node module to Gateway
Copy-Item -Path ".\node_modules\js-tiktoken" -Destination "[Gateway Folder Path]\node_modules\js-tiktoken" -Recurse -Force
cd "[Gateway Folder Path]"
npm install js-tiktoken --ignore-scripts
openclaw.json)Add memory-tencentdb to the plugin and memory slots inside your main config file:
{
"plugins": {
"enabled": true,
"allow": ["mx", "memory-tencentdb"],
"load": {
"paths": ["~/.openclaw/plugins/memory-tencentdb"]
},
"slots": {
"memory": "memory-tencentdb"
},
"entries": {
"memory-tencentdb": {
"enabled": true,
"config": {
"pipeline": {
"everyNConversations": 3,
"enableWarmup": true,
"l1IdleTimeoutSeconds": 10
}
}
}
}
}
}
Configuration signals like SIGUSR1 will not load new binary code. You must fully restart the Gateway service to load any new Openclaw Skills packages:
openclaw gateway stop
openclaw gateway start
The plugin writes persistent memory data directly inside your agent home path:
| OS Platform | Target Memory Path |
|---|---|
| Windows | %APPDATA%\mx\openclaw-home\<account>\.openclaw\memory-tdai\ |
| macOS / Linux | ~/.openclaw/memory-tdai/ |
Inside the root storage path (memory-tdai), memory-tencentdb maintains the following schemas:
| Data Resource | Data Format | Core Purpose |
|---|---|---|
/conversations/ |
JSON Lines (.jsonl) | Stores raw sequential conversations (L0 memory layer) |
/records/ |
JSON | Holds parsed semantic, episodic, and instruction objects (L1 memory layer) |
vectors.db |
SQLite Database | SQLite local database designed for vector and embedding retrieval |
You can tweak system parameters within openclaw.json:
pipeline.everyNConversations: Set how frequently (in total dialog sessions) the cognitive processor processes memory tasks. Defaults to 3.pipeline.enableWarmup: Triggers local database checks and index preparation upon initialization.pipeline.l1IdleTimeoutSeconds: Dictates the time (seconds) to wait during an idle period before executing memory compilation background tasks. Defaults to 10.better-sqlite3), removing external server requirements.Loading
An AI agent skill based on Pam England and Rob Horowitz's childbirth preparation framework that guides users through natural labor pain management, birth art, emotional readiness, and birth partner involvement.

A comprehensive Chinese metaphysics skill that integrates four classical divination methods with an intelligent routing matrix and precise true solar time correction.

A utility skill to permanently block WPS Office from hijacking default image associations and restore user control on Windows systems.

Domain Payload Generator is a specialized meta-skill designed to analyze new technical fields and independently manufacture fully UTOS-compatible domain payload skills from scratch.

An AI-powered e-commerce research assistant that analyzes top-selling products across major retail platforms and generates interactive visual HTML market reports.

A structured AI coding agent skill to assist users in migrating away from Gmail, evaluating secure alternatives, and reclaiming their data privacy.








































