← 返回 Skills 市场
larios613-hub

Memory Tree Pipeline

作者 larios613-hub · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ pending
54
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install memory-tree-pipeline
功能描述
Three-scope structured memory for AI agents. Automatically organize, summarize, and index agent memory with sealing workers and topic extraction.
使用说明 (SKILL.md)

Memory Tree — Three-Scope Structured Memory

A structured memory system with three scopes (source, topic, global) that automatically organizes, summarizes, and indexes agent memory. Never lose context again.

Architecture

Source (raw) → Topic (summarized) → Global (cross-topic knowledge)
   134 files         13 files              6 files

Quick Start

from memory_tools import MemoryTools

tools = MemoryTools(workspace="/path/to/workspace")

# Store a memory
tools.store("User prefers dark mode for all UI", topic_hint="preferences")

# Recall memories
results = tools.recall("dark mode", scope="global")

# Seal source → topic summaries
tools.seal()

# Check status
status = tools.status()
# → {"source_files": 134, "topic_files": 13, "global_files": 6}

Features

  • Three-scope hierarchy: Source → Topic → Global
  • Automatic sealing: Raw memories compressed into topic summaries
  • Topic extraction: Automatic categorization by content
  • Index management: Full-text search across all scopes
  • Budget enforcement: Topic files \x3C 2000 tokens, Global \x3C 5000 tokens
  • Idempotent sealing: Safe to run multiple times

Testing

python -m pytest test_memory_tree.py -v
# 15 tests passing

License

MIT

能力标签
cryptorequires-walletrequires-sensitive-credentials
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install memory-tree-pipeline
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /memory-tree-pipeline 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release - three-scope structured memory with sealing, indexing, and budget enforcement
元数据
Slug memory-tree-pipeline
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Memory Tree Pipeline 是什么?

Three-scope structured memory for AI agents. Automatically organize, summarize, and index agent memory with sealing workers and topic extraction. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 54 次。

如何安装 Memory Tree Pipeline?

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

Memory Tree Pipeline 是免费的吗?

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

Memory Tree Pipeline 支持哪些平台?

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

谁开发了 Memory Tree Pipeline?

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

💬 留言讨论