← Back to Skills Marketplace
267
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install smart-agent-memory-cn
Description
跨平台 Agent 长期记忆系统。分层上下文供给 + 温度模型 + Skill经验记忆 + 结构化存储 + 自动归档。三层存储:Markdown(人可读,QMD 可搜索)+ JSON(结构化)+ SQLite/FTS5(高性能全文搜索)。纯 Node.js 原生模块,零外部依赖。
Usage Guidance
This package appears to be a coherent local memory engine: it only needs Node and read/write access to your OpenClaw workspace. Before installing or enabling it: 1) Confirm you trust the source (homepage unknown and embedded metadata/owner/version have small mismatches). 2) Be aware it will create and modify files in ~/.openclaw/workspace/memory and can generate SKILL.md templates under your skills directory (the 'extract' command); if you run that, inspect generated SKILL.md files before enabling them. 3) The CLI optionally calls an external 'qmd' binary if present — this is optional but not declared in requires.bins. 4) IDs are generated with a simple timestamp+random approach (not cryptographically strong) — fine for local usage but worth noting. 5) Recommended safe practices: back up any existing memory directory, run the CLI in a sandbox or non‑privileged account to validate behavior, and review/scan the package code if you have sensitive data. Overall the package is internally consistent with its stated purpose, but do the brief due diligence above because the source and packaging metadata are inconsistent.
Capability Analysis
Type: OpenClaw Skill
Name: smart-agent-memory-cn
Version: 2.1.1
The smart-agent-memory-cn skill is a robust memory management system for OpenClaw agents, featuring dual-layer storage (Markdown for human readability and JSON/SQLite for structured querying). It implements a temperature model for data aging (hot/warm/cold), automated garbage collection, and specific optimizations for Chinese text search (addressing SQLite FTS5 tokenization issues). The code relies on native Node.js modules and lacks any indicators of data exfiltration, malicious execution, or unauthorized persistence. While the 'extract' command in scripts/memory-cli.js contains a minor path traversal vulnerability when creating new skill directories, it is functionally aligned with the stated purpose of converting lessons into reusable templates and does not exhibit malicious intent.
Capability Assessment
Purpose & Capability
Name/description (long‑term memory for agents) aligns with the included code and CLI. It legitimately needs Node and read/write access to ~/.openclaw/workspace/memory and it implements dual-layer memory (Markdown + JSON/SQLite) as described. Minor metadata mismatches exist between the registry header and embedded _meta.json/SKILL.md (owner/slug/version differences), but these look like packaging/metadata inconsistencies rather than functional or malicious mismatches.
Instruction Scope
Runtime instructions and CLI operations are scoped to the memory workspace (reading/writing ~/.openclaw/workspace/memory, creating daily logs, lessons, skill experience files). The CLI can create SKILL.md templates (extract → writes to a skills directory) which is a legitimate feature for 'extracting' lessons, but it does mean the skill can write files into the user's skills area. The code calls an external binary 'qmd' if present (lib/search.js → execFileSync), but this is optional and falls back to built‑in search.
Install Mechanism
No remote install/downloads or archive extraction are present in the package. The skill is delivered as Node.js source files and a CLI script; there is no installer that fetches external code. This is a lower‑risk delivery model. README suggests installing via clawhub or copying into ~/.openclaw/skills, which is normal.
Credentials
The skill requests no secrets or cloud credentials. Declared runtime requirement is only the node binary. The SKILL.md metadata declares read/write permissions for ~/.openclaw/workspace/memory which is proportional to a memory engine. One minor mismatch: the top-level registry metadata said 'Required config paths: none' while SKILL.md clearly documents read/write of the workspace path—this is inconsistent but coherent with the skill's purpose. The optional use of the external 'qmd' binary is not declared in requires.bins, so availability of that binary is detected at runtime.
Persistence & Privilege
always:false (good). The skill writes persistent data under ~/.openclaw/workspace/memory and can create Markdown skill templates (it is capable of writing SKILL.md into a skills directory). Writing new skill files is explained by the 'extract' feature and is plausible for this tool, but it does constitute modification of the skills filesystem (so review where it will write before running). The SKILL.md also recommends adding scheduled jobs via OpenClaw cron—scheduling is intended but means repeated autonomous actions if you accept those cron jobs.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install smart-agent-memory-cn - After installation, invoke the skill by name or use
/smart-agent-memory-cn - Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.1.1
README + SKILL.md 添加 qmd 安全说明:可选工具、10秒超时、自动降级、无命令注入风险
v2.1.0
新增中文优化功能:diagnose、optimize-tags、compress、optimize-search、optimize-flush
Metadata
Frequently Asked Questions
What is Openclaw Skills Smart Agent Memory?
跨平台 Agent 长期记忆系统。分层上下文供给 + 温度模型 + Skill经验记忆 + 结构化存储 + 自动归档。三层存储:Markdown(人可读,QMD 可搜索)+ JSON(结构化)+ SQLite/FTS5(高性能全文搜索)。纯 Node.js 原生模块,零外部依赖。 It is an AI Agent Skill for Claude Code / OpenClaw, with 267 downloads so far.
How do I install Openclaw Skills Smart Agent Memory?
Run "/install smart-agent-memory-cn" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Openclaw Skills Smart Agent Memory free?
Yes, Openclaw Skills Smart Agent Memory is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Openclaw Skills Smart Agent Memory support?
Openclaw Skills Smart Agent Memory is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Openclaw Skills Smart Agent Memory?
It is built and maintained by TNTest (@tntest); the current version is v2.1.1.
More Skills