← 返回 Skills 市场
yanshijun607-png

Memory Auto Archive

作者 yanshijun607-png · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
289
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install memory-auto
功能描述
Automatically archives daily chat logs with keyword highlights and optional AI summaries into organized memory files without manual setup.
安全使用建议
Key things to consider before installing: - Cross-platform claims vs Windows-specific code: index.js attempts to run powershell.exe and references a hard-coded Windows user path (C:\Users\42517...), and the referenced PowerShell scripts (archive.ps1/refine.ps1) are not included in the package. Ask the author which entrypoint is authoritative (index.js vs standalone-archive.js/src/) and whether the PowerShell scripts are intentionally omitted. - Sensitive-data capture: default keywords include 'password', 'token', 'secret' and the refine prompt explicitly instructs collecting 'data: important configs, passwords, tokens'. This plugin will write highlighted text to memory/*.md and possibly append to MEMORY.md. If your chats ever include secrets, they will be stored on disk and could be included in prompts. Disable refinement or remove secret-related keywords if you do not want secret capture. - AI refinement risk: refinement is disabled by default, but examples show enabling it with model identifiers. If you enable refinement and the code is later changed to call an external API, prompts could include sensitive info. Only enable AI refinement after confirming the callAI implementation and where the model runs (local vs external), and ensure proper credentials/permissions. - Sanity-check paths and startup behavior: the package has multiple entrypoints (index.js, standalone-archive.js, plugin.ts, src/index.ts). Confirm which one your OpenClaw installation will actually execute. The standalone-archive.js and src/archiver implement the expected cross-platform logic and may be safer; index.js is Windows-specific and seems out of sync. - If you plan to use it: review or test in a disposable workspace first (no real secrets), remove secret-related keywords, and verify that no external network calls are made (look for future callAI implementations). Ask the maintainer to remove hard-coded developer paths and either include or remove the PowerShell scripts so behavior is deterministic. Confidence notes: There are clear inconsistencies (Windows paths, missing scripts, secret-capturing defaults) that justify caution. I could raise confidence to high if the author confirms which entrypoint is intended and whether refine will ever send data to external services.
功能分析
Type: OpenClaw Skill Name: memory-auto Version: 1.0.0 The skill bundle is classified as suspicious due to high-risk data handling and execution patterns. Specifically, 'index.js' contains a hardcoded developer path ('C:\Users\42517\...') and attempts to execute external PowerShell scripts ('archive.ps1', 'refine.ps1') with a 'Bypass' execution policy, but these scripts are missing from the bundle. Additionally, the default configuration in 'src/defaults.ts' and 'standalone-archive.js' explicitly targets and extracts sensitive strings like 'password', 'token', 'key', and 'secret' from chat transcripts into plaintext markdown files. While this behavior is consistent with the stated 'memory archiving' purpose, the centralization of secrets without encryption and the reliance on missing external scripts are significant red flags.
能力评估
Purpose & Capability
The declared purpose—auto-archiving chat transcripts with keyword highlights and optional AI refinement—matches the majority of source files (archiver, standalone-archive, refiner). However there are inconsistencies: documentation and many files claim cross-platform TypeScript support, but index.js spawns powershell.exe and references a hard-coded Windows transcriptDir (C:\Users\42517\...) and missing PowerShell scripts (archive.ps1/refine.ps1). Several files (PUBLISH.md, test.js) embed a developer's Windows workspace path, which contradicts the 'workspace-agnostic' claim.
Instruction Scope
SKILL.md instructs the plugin to read OpenClaw transcripts (agents/*/sessions/*.jsonl) and write memory/*.md, which is expected. But the code will search and read all session JSONL files and will highlight and store any content matching keywords — the default keyword list explicitly includes 'password', 'token', 'secret' and DEFAULT_REFINE guidance mentions extracting 'data: important configs, passwords, tokens'. That means secrets present in chats may be captured and written to local MEMORY.md/memory logs. The index.js also attempts to execute external PowerShell scripts (not present) which would expand the runtime actions if those scripts existed.
Install Mechanism
There is no install spec in registry metadata (instruction-only), and the package is a normal npm package per package.json. No network-download install behavior or obscure installer URLs are present in the bundle. However index.js spawns PowerShell to run archive.ps1/refine.ps1 files that are not present in the package — that mismatch is a code-level inconsistency rather than an installer risk.
Credentials
The skill declares no required env vars or secrets (OK), but it will read any transcripts under the workspace and write logs and MEMORY.md files. The default keywords include terms that will match credentials (password/token/secret), and the refine flow explicitly includes a 'data' field intended to collect 'important configs, passwords, tokens'. Although refinement is disabled by default, examples in SKILL.md show enabling refine with an external model string. There is no request for API keys now, but enabling refine could lead to preparing prompts that contain secrets and (if future AI integration is implemented) sending them to an external model — the code currently does not implement remote calls, but the design invites potential exposure.
Persistence & Privilege
The plugin registers a startup handler and is designed to run on agent startup (checkOnStartup is true by default). It does not set always:true. Running at startup and via heartbeat is expected for this sort of plugin, but because it scans transcripts and writes persistent memory files, its startup invocation combined with secret-capturing keywords increases risk if you enable refine or use an external model. The plugin does not modify other plugins' configs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install memory-auto
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /memory-auto 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of openclaw-memory-auto: automatic memory archiving for OpenClaw. - Archives daily chat highlights using language-agnostic, customizable keywords. - Works out of the box; supports configuration for keywords, paths, and schedule. - Cross-platform, zero-setup, and compatible with multiple agents. - Optional AI refinement updates MEMORY.md with structured summaries. - Non-intrusive: runs on startup or cron, respecting user privacy by archiving only key messages.
元数据
Slug memory-auto
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Memory Auto Archive 是什么?

Automatically archives daily chat logs with keyword highlights and optional AI summaries into organized memory files without manual setup. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 289 次。

如何安装 Memory Auto Archive?

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

Memory Auto Archive 是免费的吗?

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

Memory Auto Archive 支持哪些平台?

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

谁开发了 Memory Auto Archive?

由 yanshijun607-png(@yanshijun607-png)开发并维护,当前版本 v1.0.0。

💬 留言讨论