← 返回 Skills 市场
phernandez

Memory Defrag

作者 Paul Hernandez · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
268
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install memory-defrag
功能描述
Defragment and reorganize agent memory files: split bloated files, merge duplicates, remove stale information, and restructure the memory hierarchy. Use when...
安全使用建议
This skill appears to do exactly what it says — reorganize and prune agent memory files — but it performs destructive actions (deleting or archiving content, removing old tasks, deleting nested directories). Before installing or enabling autonomous use: 1) Review the SKILL.md carefully and decide which destructive rules are acceptable. 2) Require explicit user confirmation for any delete/prune actions (disable autonomous invocation or configure the agent to prompt). 3) Take a backup snapshot of your memory directory (or run the skill in a dry-run mode) before applying changes. 4) Limit periodic automation (cron) until you have tested behavior on test data. 5) If the skill's source/maintainer is unknown, prefer a conservative setup (manual invocation + backups) until you trust it. These steps will reduce the chance of accidental data loss.
功能分析
Type: OpenClaw Skill Name: memory-defrag Version: 0.1.0 The memory-defrag skill is a utility designed to help an AI agent organize and maintain its internal memory files (e.g., MEMORY.md and the memory/ directory). The instructions in SKILL.md provide a structured process for auditing, splitting, merging, and pruning files to improve efficiency, including safety guidelines such as preserving audit trails and asking for confirmation before destructive changes. There are no indicators of malicious intent, data exfiltration, or unauthorized system access.
能力评估
Purpose & Capability
Name/description (memory defrag) match the instructions: all steps refer to memory files (MEMORY.md, memory/, memory/tasks/, daily notes) and operations (split, merge, prune, restructure) that are expected for this task.
Instruction Scope
SKILL.md explicitly instructs reading, splitting, merging, pruning, deleting nested directories, and removing completed tasks older than configured thresholds. That scope is consistent with defragmentation, but many steps are destructive (deletions/archives) and rely on agent judgment; the skill does advise 'ask before destructive changes' but the instructions still give broad discretion to modify or remove files.
Install Mechanism
Instruction-only skill with no install spec, no downloads, and no code files — minimal install risk.
Credentials
No environment variables, binaries, credentials, or config paths are requested — the permission scope is limited to manipulating agent memory files, which is proportional to the stated purpose.
Persistence & Privilege
always:false (good), but disable-model-invocation:false (default) means the agent could invoke this skill autonomously. Combined with the skill's destructive operations (deleting/pruning files), that increases risk if you permit autonomous runs without safeguards.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install memory-defrag
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /memory-defrag 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of memory-defrag skill for reorganizing agent memory files. - Defragments agent memory by splitting large files, merging duplicates, and pruning stale or irrelevant information. - Provides clear signals and fixes for common memory organization problems. - Recommends periodic or on-demand operation, with concrete thresholds for action. - Establishes a step-by-step process: audit, identify issues, plan, execute, and verify changes. - Includes detailed guidelines to preserve audit trails, avoid over-organization, and maintain scannable file names.
元数据
Slug memory-defrag
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Memory Defrag 是什么?

Defragment and reorganize agent memory files: split bloated files, merge duplicates, remove stale information, and restructure the memory hierarchy. Use when... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 268 次。

如何安装 Memory Defrag?

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

Memory Defrag 是免费的吗?

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

Memory Defrag 支持哪些平台?

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

谁开发了 Memory Defrag?

由 Paul Hernandez(@phernandez)开发并维护,当前版本 v0.1.0。

💬 留言讨论