feat(openclaw): skills-based memory architecture with batched extraction (#4624)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Chaithanya Kumar
2026-04-01 23:29:15 +05:30
committed by GitHub
co-authored by Claude Opus 4.6
parent e2b439c42a
commit c250ccfb5c
14 changed files with 2605 additions and 25 deletions
+56
View File
@@ -1,6 +1,7 @@
{
"id": "openclaw-mem0",
"kind": "memory",
"skills": ["skills"],
"uiHints": {
"mode": {
"label": "Mode",
@@ -68,6 +69,11 @@
"label": "Open-Source Configuration",
"advanced": true,
"help": "Optional. Configure custom embedder, vector store, LLM, or history DB for open-source mode. Has sensible defaults — only override what you need."
},
"skills": {
"label": "Agentic Memory Skills",
"advanced": true,
"help": "Enable skills-based memory extraction. The agent controls what to remember (triage), how to recall (recall), and periodic cleanup (dream). Disables auto-capture when active."
}
},
"configSchema": {
@@ -161,6 +167,56 @@
"type": "string"
}
}
},
"skills": {
"type": "object",
"properties": {
"triage": {
"type": "object",
"properties": {
"enabled": { "type": "boolean" },
"importanceThreshold": { "type": "number" },
"enableGraph": { "type": "boolean" },
"credentialPatterns": { "type": "array", "items": { "type": "string" } }
}
},
"recall": {
"type": "object",
"properties": {
"enabled": { "type": "boolean" },
"strategy": { "type": "string", "enum": ["always", "smart", "manual"] },
"tokenBudget": { "type": "number" },
"maxMemories": { "type": "number" },
"rerank": { "type": "boolean" },
"keywordSearch": { "type": "boolean" },
"filterMemories": { "type": "boolean" },
"threshold": { "type": "number" },
"identityAlwaysInclude": { "type": "boolean" },
"categoryOrder": { "type": "array", "items": { "type": "string" } }
}
},
"dream": {
"type": "object",
"properties": {
"enabled": { "type": "boolean" },
"schedule": { "type": "string" },
"mergeThreshold": { "type": "number" },
"maxMemoriesPerUser": { "type": "number" },
"preserveImmutable": { "type": "boolean" },
"credentialScan": { "type": "boolean" },
"expireStaleAfterDays": { "type": "number" }
}
},
"domain": { "type": "string" },
"customRules": {
"type": "object",
"properties": {
"include": { "type": "array", "items": { "type": "string" } },
"exclude": { "type": "array", "items": { "type": "string" } }
}
},
"categories": { "type": "object" }
}
}
},
"required": []