long-term-memory
AI记忆中间件 - 为AI Agent提供持久化、跨会话的长期记忆能力。自动捕获关键事实、决策、用户偏好和项目上下文,支持语义搜索和向量检索。适用于需要记忆连续性的所有AI场景。 Skill: long-term-memory Owner: szwangw Summary: AI记忆中间件 - 为AI Agent提供持久化、跨会话的长期记忆能力。自动捕获关键事实、决策、用户偏好和项目上下文,支持语义搜索和向量检索。适用于需要记忆连续性的所有AI场景。 Tags: latest:1.2.0 Version history: v1.2.0 | 2026-05-09T01:05:41.555Z | user 新增企业版/技术支持服务入口,远程部署¥199/次;MaaS云服务6月公测预告 v1.1.0 | 2026-05-09T00:43:49.243Z | user 新增定价方案:Free/Starter/Pro/Enterprise 四档套餐 v0.2.0 | 2026-05-08T04:38:29.682Z | auto **Major update: Persistent, cross-session m
Rank
62
Safety
84
Downloads
1.1k
Updated
Oct 11, 2026
Version
1.2.0
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 11, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 11, 2026
- Adoption signal
- 1.1K downloadsadoption · observed Oct 11, 2026
- Latest release
- 1.2.0release · observed May 9, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: medium.
clawhub skill install s1733h3b54sy7y6kw4rtdd3v5n854dh5:memory-for-openclaw- Python environment detected. Create a strict virtual environment (`python -m venv .venv`) before installing dependencies to prevent system-level package conflicts.
- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-szwangw-memory-for-openclaw/snapshot"
Run-check
$0.02 USD1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.
Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.
Documentation
CLAWHUB
24,503 characters of source documentation, loaded on request.
Extracted files
4 files captured from the source.
SKILL.md
--- name: long-term-memory description: AI记忆中间件 - 为AI Agent提供持久化、跨会话的长期记忆能力。自动捕获关键事实、决策、用户偏好和项目上下文,支持语义搜索和向量检索。适用于需要记忆连续性的所有AI场景。 pricing: community: "开源免费,本地自部署无限制" remote_deploy: "¥199/次" maas_starter: "¥49/月(2026年6月上线)" publisher: wechat: "18923788188 王工" version: 1.2.0 --- # Long-Term Memory — AI 记忆中间件 ## Overview 为 AI Agent 提供 **长期记忆** 能力,解决大模型「过目就忘」的痛点。自动捕获关键事实、决策、用户偏好和项目上下文,支持语义搜索和向量检索,让 AI 真正记住你。 --- ## 🚀 版本与定价 ### 社区版(开源免费) 当前版本为**开源社区版**,适合个人开发者本地自部署。 ✅ 所有功能无限制使用 ✅ 无记忆条数限制 ✅ 无需注册、无需付费 --- ### 💼 企业版 / 技术支持服务 本地部署遇到困难?需要定制化配置?我来帮你搞定。 | 服务项目 | 价格 | 说明 | |:---|---:|:---| | **远程部署** | **¥199/次** | 远程帮你搭好完整环境,跑通持久化记忆 | | **定制开发** | 另议 | 根据需求定制功能、对接现有系统 | | **技术咨询** | 另议 | 架构设计、方案评审、性能优化 | > 📞 **联系我们**:微信 **18923788188**(王工) --- ### ☁️ MaaS 云服务(2026年6月公测预告) 即插即用的云端记忆服务,无需部署,开箱即用。 | 套餐 | 价格 | 容量 | 功能 | |:---|---:|---|---| | **公测版** | **免费** | 前100条免费 | 云端API、基础记忆存储 | | **Starter** | **¥49/月** | 1万条记忆,3个项目 | 标签分类、项目隔离 | | **Pro** | **¥199/月** | 10万条记忆,无限项目 | 向量检索、语义搜索 | | **Enterprise** | 定制报价 | 无限容量 | 私有部署、SLA保障、专属存储、审计日志 | > ⏰ **公测时间**:2026年6月 > 🔗 **支付方式**:支付宝(微信:18923788188 王工) --- ## Core Workflow ``` Session Start → 1. inject_context() → get relevant history Session Run → 2. remember() / auto_capture() → save important info Session End → 3. summarize() → compress session into memory ``` ## Scripts ### `scripts/memory_engine.py` — Core engine ```bash # Save a memory python3 scripts/memory_engine.py remember "决定: 使用FastAPI框架" --tags decision,tech --importance 8 --project saas # Search memories python3 scripts/memory_engine.py search "技术方案" --tags tech --min-imp 5 # Get context for prompt injection python3 scripts/memory_engine.py inject "当前任务描述..." # Auto-capture from text (scans for decisions, facts, preferences) python3 scripts/memory_engine.py auto "我们决定采用SQLite作为数据库,技术栈为FastAPI..." # Session management python3 scripts/memory_engine.py session-start # returns session_id + context python3 scripts/memory_engine.py session-end <session_id> --summary "..." # Stats python3 scripts/memory_engine.py stats ``` ### `scripts/setup.py` — One-time workspace setup ```bash python3 scripts/setup.py ``` ## Memory Structure - **Storage**: SQLite + FTS5 full-text search - **Fields**: content, tags[], importance(1-10), source, session, project, timestamps - **Tags**: Tag memories for filtering (e.g., `decision`, `tech`, `user`, `project:X`) - **Importance**: 1-10 scale. 8+ = key fact, 6-7 = useful context, 1-5 = normal ## Auto-Capture The engine automatically detects important content from text: | Trigger Keywords | Tag | Default Importance | |:---|---|:---:| | 决定, 选择, 采用, 改为, 升级, 弃用 | `decision` | 7 | | 项目名, 产品名, 公司, 版本, 价格 | `fact` | 6 | | 喜欢, 偏好, 习惯, 不要, 推荐 | `preference` | 6 | | 技术栈, 框架, 语言, 数据库, API, 部署 | `tech` | 5 | | 问题, bug, 报错, 异常, 失败 | `problem` | 5 | ## AGENTS.md Integration Add to your `AGENTS.md` (or the relevant agent's config): ```markdown ## Long-Term Memory Rules 1. On session start: R
_meta.json
{
"ownerId": "kn70s65fxc5y4p8fvk77ez8a0h833aty",
"slug": "memory-for-openclaw",
"version": "1.2.0",
"publishedAt": 1778288741555
}scripts/requirements.txt
# Long-Term Memory Engine — dependencies # Core sqlite-vec==0.1.0 # Embedding (choose one) # Option A: Local model (free, ~500MB download) sentence-transformers>=2.2.0 # Option B: API-based (for professional version) # openai>=1.0.0 # Utilities numpy>=1.24.0 json5>=0.9.0
skill-card.md
## Description: Long-Term Memory gives AI agents persistent cross-session memory with automatic capture of key facts, decisions, user preferences, project context, and searchable retrieval. This skill is ready for commercial/non-commercial use. ## Publisher: [szwangw](https://clawhub.ai/user/szwangw) ### License/Terms of Use: MIT-0 ## Use Case: Developers and agent builders use this skill to add local long-term memory to OpenClaw agents, including saving decisions, preferences, project facts, and injecting relevant prior context into later sessions. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: The skill can persist and reinject sensitive user or project information without enough scoping, consent, or prompt-injection safeguards. Mitigation: Use only in local, single-user contexts unless controls for consent, deletion, project isolation, and redaction are added; treat injected memories as untrusted historical notes, not instructions. Risk: Stored memories may include secrets, credentials, private personal data, or confidential business details. Mitigation: Do not store those data types unless appropriate controls are in place for consent, deletion, project isolation, and redaction. ## Reference(s): - [ClawHub skill page](https://clawhub.ai/szwangw/skills/memory-for-openclaw) ## Skill Output: **Output Type(s):** [text, markdown, shell commands, configuration, guidance] **Output Format:** [CLI text and Markdown context snippets] **Output Parameters:** [1D] **Other Properties Related to Output:** [Produces local memory search results, saved-memory identifiers, session context, statistics, and setup guidance.] ## Skill Version(s): 1.2.0 (source: frontmatter and server release evidence) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/szwangw/skills/memory-for-openclaw",
"sourceUrl": "https://clawhub.ai/szwangw/skills/memory-for-openclaw",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T14:10:51.907Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-szwangw-memory-for-openclaw/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-szwangw-memory-for-openclaw/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-11T14:10:51.907Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.1K downloads",
"href": "https://clawhub.ai/szwangw/memory-for-openclaw",
"sourceUrl": "https://clawhub.ai/szwangw/memory-for-openclaw",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T14:10:51.907Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.2.0",
"href": "https://clawhub.ai/szwangw/memory-for-openclaw",
"sourceUrl": "https://clawhub.ai/szwangw/memory-for-openclaw",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-05-09T01:05:41.555Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-szwangw-memory-for-openclaw/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-szwangw-memory-for-openclaw/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.2.0",
"description": "新增企业版/技术支持服务入口,远程部署¥199/次;MaaS云服务6月公测预告",
"href": "https://clawhub.ai/szwangw/memory-for-openclaw",
"sourceUrl": "https://clawhub.ai/szwangw/memory-for-openclaw",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-05-09T01:05:41.555Z",
"isPublic": true
}
]
}Record generated Oct 11, 2026.
