← 返回 Skills 市场
hugoiku

Memory Strategy

作者 Hugoiku · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
248
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install memory-strategy
功能描述
当用户需要管理对话记忆时应使用此skill。 触发条件包括: - 用户说"记下来"、"记住这个"、"别忘了"、"永久保存"、"这是一个重点" - 用户查询历史信息:"之前是怎么做的"、"查找关于...的记录"、"回忆一下..." - 会话结束需要自动整理归档 - 需要评估信息重要性并决定存储位置 - 需要更新记忆...
安全使用建议
This skill is suspicious for several concrete reasons you should resolve before installing/using it: - Missing artifacts: The SKILL.md references multiple helper scripts (evaluate_importance.py, silent_agent.py, retrieve_memory.py, update_index.py) and an assets/references directory, but the published skill contains no code files. Ask the publisher to provide the scripts or explain how the agent is expected to run them. Running arbitrary, unspecified scripts is risky. - Undeclared external credential: The docs recommend using a Kimi API (KIMI_API_KEY) for scoring but the skill manifest does not declare any required env vars. If you intend to supply such a key, require confirmation about where/how it will be used and stored. - Secrets storage risk: The design explicitly lists contacts.md in long-term memory and calls it '相关API密钥' (related API keys). That suggests storing API keys/credentials in plaintext within .memory/long-term — this is insecure. Do not store secrets in plain files. Prefer a secure secret/vault, or at minimum require guidance to encrypt or restrict permissions and add .memory to .gitignore. - Automatic write behavior: Silent Agent will extract and write conversation content at session end or after a timeout. Decide whether you want the agent to auto-write and where files are stored. If you keep it, restrict directory location, set strict file permissions, and avoid saving sensitive conversations or credentials. - Next steps to reduce risk before using: 1) Request the missing scripts and review their code (or ask for a manifest that lists the exact operations the agent will run). 2) Ask the author to declare required env vars (e.g., KIMI_API_KEY) in the manifest and justify them. 3) Remove any guidance to store API keys in contacts.md; implement secret-storage best practices (vault, encrypted files, or OS keyring) instead. 4) Configure .memory to be outside source control (add to .gitignore), set restrictive file permissions, and audit contents regularly. 5) If you cannot validate the missing scripts and secret-handling behavior, avoid enabling automatic Silent Agent writes and prefer manual review of any extracted content. Because these inconsistencies combine privacy and credential-handling risks, treat this skill as suspicious until the publisher provides the missing code and clear, secure handling of credentials and persistent storage.
功能分析
Type: OpenClaw Skill Name: memory-strategy Version: 0.1.0 The skill implements a complex memory management system that explicitly instructs the AI agent to store sensitive information, including 'API keys,' in plaintext files such as '.memory/long-term/contacts.md'. It references several external Python scripts (e.g., evaluate_importance.py, silent_agent.py) and automated 'Silent Agent' background tasks that are not provided in the bundle, making it impossible to verify if the collected sensitive data is exfiltrated or handled securely.
能力评估
Purpose & Capability
The name/description (manage conversation memory, short/long-term storage, decay, scoring, silent archival) is consistent with the SKILL.md content: creating a .memory tree, scoring entries, and performing retrieval. However the manifest declares no code or env requirements while the instructions expect helper scripts and an external Kimi API. Also the design explicitly includes contacts.md described as '相关API密钥', which is unexpected for a general memory manager and suggests storing secrets in plain memory files—this does not align cleanly with a benign memory-management purpose.
Instruction Scope
SKILL.md instructs agents to (a) create .memory in project root and write logs/indexes, (b) run scripts (evaluate_importance.py, silent_agent.py, retrieve_memory.py, update_index.py) to extract and auto-write conversation contents, and (c) use an external Kimi API if available. Yet the skill bundle contains no scripts or code and no explicit boundaries for what is extracted/written. It explicitly lists contacts.md as holding API keys. The instructions therefore ask the agent to read, extract, and persist potentially sensitive conversation data and credentials, with vague controls and no provided tooling — scope creep and privacy risk.
Install Mechanism
Instruction-only skill with no install spec and no code files; nothing will be automatically downloaded or executed by the installer. This is the lowest-risk install mechanism. The remaining risk comes from the runtime instructions the agent would follow.
Credentials
The SKILL.md references an external KIMI_API_KEY and recommends using a Kimi API for automatic scoring, but the skill manifest declares no required environment variables. There is also an explicit recommendation to store '相关API密钥' in long-term contacts.md. Requesting or encouraging storage of API keys/credentials in plaintext project files is disproportionate and insecure for a general memory-management skill.
Persistence & Privilege
always:false (good). The skill's Silent Agent concept instructs automatic extraction and writing of session content at session end or after timeout, which gives it potential persistent presence on disk (creates .memory and writes logs/indexes). While not requesting platform-level persistence privileges, this behavior has privacy implications because it writes conversation content and may persist secrets unless the user explicitly configures otherwise.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install memory-strategy
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /memory-strategy 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
memory-strategy v1.0.0 - Initial release with a dual-layer memory architecture (long-term + short-term), featuring a 30-day time decay mechanism. - Implements an intelligent 1-5 scoring system for memory importance based on four weighted dimensions. - Adds Silent Agent for automatic memory organization and archiving at session end or on demand. - Supports trigger phrase detection ("记下来", "别忘了", etc.) to boost memory scoring and storage priority. - Provides scripts for importance evaluation, memory retrieval (with decay), silent cleanup, and index updating. - Includes comprehensive setup, configuration, best practices, troubleshooting, and reference guides.
元数据
Slug memory-strategy
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Memory Strategy 是什么?

当用户需要管理对话记忆时应使用此skill。 触发条件包括: - 用户说"记下来"、"记住这个"、"别忘了"、"永久保存"、"这是一个重点" - 用户查询历史信息:"之前是怎么做的"、"查找关于...的记录"、"回忆一下..." - 会话结束需要自动整理归档 - 需要评估信息重要性并决定存储位置 - 需要更新记忆... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 248 次。

如何安装 Memory Strategy?

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

Memory Strategy 是免费的吗?

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

Memory Strategy 支持哪些平台?

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

谁开发了 Memory Strategy?

由 Hugoiku(@hugoiku)开发并维护,当前版本 v0.1.0。

💬 留言讨论