← 返回 Skills 市场
sky-lv

Agent Memory System

作者 SKY-lv · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
96
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install skylv-agent-memory-system
功能描述
Agent 记忆系统设计助手。构建长期记忆、短期记忆、情景记忆架构。触发词:记忆、memory、上下文管理、上下文窗口。
安全使用建议
This skill appears to implement a legitimate agent memory system, but it has important transparency and safety issues you should address before installing: 1) The runtime code calls the OpenAI embeddings API using process.env.OPENAI_API_KEY but the skill metadata does not declare that credential—ask the author to explicitly declare required env vars and explain how API keys are used and stored. 2) The code constructs SQL with string interpolation from user queries (SQL injection risk); require input sanitization or parameterized queries. 3) Embedding calls send memory content to an external service—consider whether memory may contain sensitive data and if you should use a private/local embedding model instead. 4) Request documentation or a link to the repository/homepage, minimal reproducible examples, and any data-retention/privacy controls. If you proceed, use a scoped/dedicated API key, limit retention, and test in an isolated environment first.
功能分析
Type: OpenClaw Skill Name: skylv-agent-memory-system Version: 1.0.0 The skill bundle contains a significant SQL injection vulnerability in the 'retrieve' method within SKILL.md, where user-provided search queries are directly concatenated into a SQL string. Additionally, the 'evaluateImportance' function explicitly flags sensitive terms like 'password' (密码) and 'account' (账号) for long-term storage, which encourages the persistence of sensitive credentials in an unencrypted SQLite database. While these appear to be architectural flaws in a template rather than intentional malware, the lack of input sanitization and the targeting of sensitive data pose a high security risk.
能力标签
crypto
能力评估
Purpose & Capability
The SKILL.md implements a hierarchical memory system (short-term, long-term, vector/semantic) which is coherent with the declared purpose. However, the implementation expects an embeddings provider (calls OpenAI embeddings endpoint via process.env.OPENAI_API_KEY) and a local vector store/SQLite database, yet the skill metadata declares no required environment variables or credentials. The omission of the OPENAI_API_KEY requirement is an inconsistency that reduces transparency.
Instruction Scope
The instructions include concrete code that will persist data to a SQLite DB, write to a local Chroma vector store, and send text to the OpenAI embeddings API. Those actions are within a memory system’s scope, but the code builds SQL queries by interpolating user-derived keywords into LIKE clauses (risk of SQL injection) and will send potentially sensitive memory text off-host to OpenAI. The SKILL.md does not warn about privacy, retention, or minimum-data practices.
Install Mechanism
This is an instruction-only skill with no install spec and no code files executed by the registry. That lowers supply-chain risk compared with arbitrary downloads. The runtime instructions still assume installing/using SQLite and a Chroma client, but nothing is being pulled automatically by the skill package itself.
Credentials
The embedded code calls the OpenAI embeddings endpoint using process.env.OPENAI_API_KEY but the skill declares no required env vars or primary credential. Requesting an API key (and thus permission to transmit memory contents externally) is material and should be declared; its absence is a transparency gap. Also, the skill could leak sensitive user data to an external service if deployed without careful access controls.
Persistence & Privilege
The skill does not request always:true, does not claim to modify other skills, and has no install-time persistence declared. It does instruct how to create local DB files and a vector store (expected for a memory system), but it does not assert elevated platform privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install skylv-agent-memory-system
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /skylv-agent-memory-system 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial-release
元数据
Slug skylv-agent-memory-system
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Agent Memory System 是什么?

Agent 记忆系统设计助手。构建长期记忆、短期记忆、情景记忆架构。触发词:记忆、memory、上下文管理、上下文窗口。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 96 次。

如何安装 Agent Memory System?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install skylv-agent-memory-system」即可一键安装,无需额外配置。

Agent Memory System 是免费的吗?

是的,Agent Memory System 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Agent Memory System 支持哪些平台?

Agent Memory System 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Agent Memory System?

由 SKY-lv(@sky-lv)开发并维护,当前版本 v1.0.0。

💬 留言讨论