← 返回 Skills 市场
5rbdmak7f-alt

memory-guardian-agnet

作者 fengqing · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
84
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install memory-guardian-agent
功能描述
Agent workspace memory lifecycle management via 10 MCP tools + batch maintenance. Manages MEMORY.md, memory/ directory, meta.json, quality gate, Bayesian dec...
安全使用建议
This package appears to do what it says: local maintenance of an agent workspace (meta.json, MEMORY.md, memory/ files, compaction, decay, case workflows). Before installing or enabling: (1) Review and back up any real workspace you care about — the tool auto-writes and can auto-upgrade meta.json; (2) Use an explicit --workspace or set MG_WORKSPACE/OPENCLAW_WORKSPACE to an isolated test directory to avoid accidental writes to your default home workspace; (3) If you need to audit data flows, skim mg_events/telemetry.py and any code that writes logs to confirm there are no remote network sinks (the package appears local); (4) Because the MCP server imports and executes the bundled scripts at runtime, inspect any third-party code you don't trust and prefer running in a sandboxed environment if source provenance is unknown; (5) Note the small documentation mismatch: SKILL.md and code expect MG_WORKSPACE/OPENCLAW_WORKSPACE but the skill metadata lists no required env vars — set them explicitly to avoid surprises.
功能分析
Type: OpenClaw Skill Name: memory-guardian-agent Version: 1.0.0 The memory-guardian skill is a comprehensive workspace memory management system for AI agents. It implements sophisticated features such as Bayesian decay, quality gates, and automated file synchronization. Security analysis reveals defensive design patterns, including a dedicated security layer (security_layer.py) that uses regex patterns to prevent the exfiltration of API keys and private data. The MCP server (mcp_server.py) includes explicit protections against path traversal attacks by validating workspace paths using realpath and checking for parent directory traversal. The code is well-structured, lacks any external network calls or obfuscation, and includes an extensive test suite, indicating a legitimate and well-maintained tool.
能力标签
cryptorequires-sensitive-credentials
能力评估
Purpose & Capability
Name and description (manage MEMORY.md, memory/, meta.json, quality gate, decay, compaction, case lifecycle) match the included scripts, MCP server, CLI, and reference docs. The large test suite and modules correspond to the claimed features (sync, ingest, decay, compaction, quality gate, L3 confirmations).
Instruction Scope
SKILL.md directs local file operations (meta.json, MEMORY.md, memory/ directory, access_log.jsonl) and cron creation; it also instructs agents to append to access_log.jsonl after memory_get and to run maintenance (run_batch). These side-effecting operations are expected for a memory maintenance tool but are broader than a read-only skill — the agent will write/modify workspace files and may auto-upgrade meta.json during runs.
Install Mechanism
No external installer is declared and the package includes the Python scripts directly. The MCP server dynamically imports and executes local script files (importlib), which is expected for this packaged toolkit. There are no downloads from external URLs or package registry installs in the provided metadata.
Credentials
The skill declares no required environment variables or credentials, and it does not request cloud secrets. It does rely on OPENCLAW_WORKSPACE and MG_WORKSPACE as workspace selectors (DEFAULT_WORKSPACE falls back to OPENCLAW_WORKSPACE, then MG_WORKSPACE, then ~/workspace/agent/workspace). Those env vars are reasonable for workspace configuration but are not listed as required in metadata — benign but a small documentation mismatch.
Persistence & Privilege
always:false (no forced inclusion). The skill can be invoked autonomously (disable-model-invocation:false) which is normal. It performs persistent local actions (auto-create workspace dirs, write meta.json/memory files, append access_log), which align with its stated purpose and are not unexpected privileges for a memory lifecycle manager.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install memory-guardian-agent
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /memory-guardian-agent 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of memory-guardian-agent 1.0.0: - Provides workspace memory lifecycle management using 10 tools and batch maintenance workflows. - Supports Bayesian decay, four-state quality gate, case lifecycle, and MEMORY.md compaction. - Includes diagnostics for memory bloat, quality anomalies, and case review/invalidation. - Offers both scheduled (cron/batch) and on-demand memory maintenance. - CLI fallback provided when MCP is unavailable.
元数据
Slug memory-guardian-agent
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

memory-guardian-agnet 是什么?

Agent workspace memory lifecycle management via 10 MCP tools + batch maintenance. Manages MEMORY.md, memory/ directory, meta.json, quality gate, Bayesian dec... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 84 次。

如何安装 memory-guardian-agnet?

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

memory-guardian-agnet 是免费的吗?

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

memory-guardian-agnet 支持哪些平台?

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

谁开发了 memory-guardian-agnet?

由 fengqing(@5rbdmak7f-alt)开发并维护,当前版本 v1.0.0。

💬 留言讨论