← 返回 Skills 市场
267
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install smart-agent-memory-cn
功能描述
跨平台 Agent 长期记忆系统。分层上下文供给 + 温度模型 + Skill经验记忆 + 结构化存储 + 自动归档。三层存储:Markdown(人可读,QMD 可搜索)+ JSON(结构化)+ SQLite/FTS5(高性能全文搜索)。纯 Node.js 原生模块,零外部依赖。
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install smart-agent-memory-cn - 安装完成后,直接呼叫该 Skill 的名称或使用
/smart-agent-memory-cn触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.1.1
README + SKILL.md 添加 qmd 安全说明:可选工具、10秒超时、自动降级、无命令注入风险
v2.1.0
新增中文优化功能:diagnose、optimize-tags、compress、optimize-search、optimize-flush
元数据
常见问题
Openclaw Skills Smart Agent Memory 是什么?
跨平台 Agent 长期记忆系统。分层上下文供给 + 温度模型 + Skill经验记忆 + 结构化存储 + 自动归档。三层存储:Markdown(人可读,QMD 可搜索)+ JSON(结构化)+ SQLite/FTS5(高性能全文搜索)。纯 Node.js 原生模块,零外部依赖。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 267 次。
如何安装 Openclaw Skills Smart Agent Memory?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install smart-agent-memory-cn」即可一键安装,无需额外配置。
Openclaw Skills Smart Agent Memory 是免费的吗?
是的,Openclaw Skills Smart Agent Memory 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Openclaw Skills Smart Agent Memory 支持哪些平台?
Openclaw Skills Smart Agent Memory 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Openclaw Skills Smart Agent Memory?
由 TNTest(@tntest)开发并维护,当前版本 v2.1.1。
推荐 Skills