← 返回 Skills 市场
orime

Agent Memory Ops

作者 Orime · GitHub ↗ · v0.1.1 · MIT-0
cross-platform ✓ 安全检测通过
136
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install agent-memory-ops
功能描述
Audit and maintain OpenClaw-style long-term memory. Use for MEMORY.md cleanup, daily-note digestion, duplicate detection, stale-memory review, and promoting...
使用说明 (SKILL.md)

Agent Memory Ops

Use this skill when you need to keep an agent's memory layer healthy instead of letting MEMORY.md rot.

What it does

  • scans MEMORY.md + memory/*.md
  • detects duplicate / near-duplicate bullets
  • extracts memory candidates from recent daily notes
  • surfaces active follow-ups / TODOs
  • filters obvious secrets from suggested memory output
  • produces a concise maintenance report you can act on

Good use cases

  • "帮我整理 MEMORY.md"
  • "检查记忆层有没有重复和过期信息"
  • "把最近几天的重要内容沉淀到长期记忆"
  • "做一次 agent memory audit"
  • "维护长期记忆 / daily memory / notebook memory"

Commands

Run from the workspace root that contains MEMORY.md and memory/.

python3 {baseDir}/scripts/memory_ops.py report --root .
python3 {baseDir}/scripts/memory_ops.py dedupe --root .
python3 {baseDir}/scripts/memory_ops.py digest --root . --days 7
python3 {baseDir}/scripts/memory_ops.py digest --root . --files 5 --format json

Recommended workflow

  1. Run report to see gaps, duplicates, and follow-ups.
  2. Run digest on the last 5-7 daily notes.
  3. Promote only durable facts into MEMORY.md.
  4. Keep volatile chatter in daily notes.
  5. Never copy secrets into curated memory unless the user explicitly asks.

Output policy

  • Prefer --format markdown for human review.
  • Prefer --format json when another tool or script will consume the result.
  • The script intentionally redacts / skips likely secrets from digest suggestions.

References

  • references/playbook.md
安全使用建议
This skill appears coherent and implements the advertised memory-audit functionality, but take these precautions before running it: 1) Inspect the full scripts/memory_ops.py file yourself (the prompt included a truncated view) to confirm there are no hidden network calls or surprising behavior. 2) Run the script locally in a safe/dev environment first — it reads and prints items from MEMORY.md and memory/*.md, so outputs could expose sensitive content. 3) Don't run it against repos containing live secrets; the secret-detection is heuristic and can miss things. 4) Back up MEMORY.md before applying any automated changes and manually review suggestions before promoting items into curated memory.
功能分析
Type: OpenClaw Skill Name: agent-memory-ops Version: 0.1.1 The agent-memory-ops skill bundle is designed to manage and audit local markdown-based memory files. The core logic in scripts/memory_ops.py focuses on deduplication and categorization of text using standard libraries (difflib, re, pathlib) and includes security-conscious features such as regex-based filtering to prevent the accidental promotion of secrets (API keys, tokens) into long-term memory. No network activity, file-writing operations, or malicious prompt-injection attempts were found.
能力评估
Purpose & Capability
Name/description match what is present: SKILL.md and scripts/memory_ops.py implement scanning MEMORY.md and memory/*.md, deduping, digesting, and reporting. No unrelated binaries, credentials, or config paths are requested.
Instruction Scope
Instructions correctly tell the agent to run the included Python script from the workspace root. The script reads MEMORY.md and files under memory/*.md and prints markdown/JSON reports including extracted bullet text. This is within scope, but note that the tool reads and outputs content from local files (which may contain sensitive data). The script contains heuristics to filter likely secrets but uses pattern matching (heuristic), so it may miss some secrets or redact too little — review outputs before promoting content.
Install Mechanism
No install spec is provided (instruction-only skill) and the repository includes a Python script to run. Nothing is downloaded or written to disk by an installer; running the script executes only local code.
Credentials
The skill declares no required environment variables, no primary credential, and no config paths. The script likewise does not read environment variables or external credentials. Requested access is proportional to the stated task (reading local memory files).
Persistence & Privilege
always:false and default autonomous-invocation are set (normal). The skill does not request permanent system-wide privileges or modify other skills' configs per the provided files.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install agent-memory-ops
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /agent-memory-ops 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
Trimmed the skill package, removed redundant docs, regenerated agent metadata, and revalidated the memory audit workflow on a real OpenClaw workspace.
v0.1.0
Initial release: memory audit, dedupe detection, and digest generation for MEMORY.md + daily notes.
元数据
Slug agent-memory-ops
版本 0.1.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Agent Memory Ops 是什么?

Audit and maintain OpenClaw-style long-term memory. Use for MEMORY.md cleanup, daily-note digestion, duplicate detection, stale-memory review, and promoting... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 136 次。

如何安装 Agent Memory Ops?

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

Agent Memory Ops 是免费的吗?

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

Agent Memory Ops 支持哪些平台?

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

谁开发了 Agent Memory Ops?

由 Orime(@orime)开发并维护,当前版本 v0.1.1。

💬 留言讨论