Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计提醒

hierarchical-memory分层记忆

Agent Skill

hierarchical-memory 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

20,095

周安装

829

GitHub Stars

2

下载量

6,566
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:hierarchical-memory(分层记忆)
来源仓库:https://github.com/balkanblbn/hierarchical-memory
安装命令:
openclaw skills install hierarchical-memory
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install hierarchical-memory

简介

多层级分支内存管理系统,支持根-域-项目三级结构组织代理上下文。

  • 适合处理多项目并行或多领域交叉任务的复杂记忆管理需求。
  • 通过预设模板初始化各层目录与元数据,降低手动维护成本。
  • 写入权限需谨慎控制,避免意外覆盖重要上下文导致任务中断。
  • 检索效率受层级深度影响,建议保持结构扁平化以提升响应速度。

SKILL.md

name
hierarchical-memory
description
Manage and navigate a multi-layered, branch-based memory system. This skill helps organize complex agent context into Root, Domain, and Project layers to prevent context bloat. It includes a helper script add_branch.py which creates local markdown files and directories to structure your memory.

Hierarchical Memory (Neural Branching)

This skill provides a structured method for managing long-term memory in a multi-layered, branched format to prevent context bloat and ensure high-fidelity recall.

🛡️ Security & Transparency

This skill includes a Python script scripts/add_branch.py. This script is used solely to:

  1. Create directories in your memory/ folder.
  2. Create boilerplate markdown files for new memory branches.
  3. Append links to these new files in your existing memory maps.

It does not perform any network activity, access sensitive system files, or execute external code.

Memory Architecture

The memory system is organized into three primary layers:

  1. Layer 1: Root Memory (MEMORY.md)

- The central nervous system. - Contains high-level context about the partnership, core missions, and global goals. - Acts as a map to all other memory layers.

  1. **Layer 2: Domain Memories (memory/domains/*.md)**

- Specialized knowledge silos. - Examples: coding.md, trading.md, social.md, research.md. - Contains domain-specific philosophies, tech stacks, and project indices.

  1. **Layer 3: Project Memories (memory/projects/*.md)**

- Deep-dive details for specific initiatives. - Examples: hesapgaraj.md, clawguard.md, baa.md. - Contains project status, to-dos, technical specs, and history.

How to Use This Skill

1. Recalling Information

  • Always start by searching MEMORY.md.
  • Follow the "Map" links to the relevant Domain or Project file.
  • Use read to load only the specific branch needed for the current task.

2. Adding New Information

  • New Fact about the Partnership: Update MEMORY.md.
  • New Domain: Create a new file in memory/domains/ and link it from MEMORY.md.
  • New Project: Create a new file in memory/projects/ and link it from its primary Domain file.

3. Cross-Referencing

  • If a project belongs to multiple domains (e.g., a trading bot that requires coding), link the Project file from both Domain files.

Automation Tools

Use the provided scripts to maintain the hierarchy:

  • scripts/add_branch.py: Automatically create a new domain or project file with the correct template and linking.

Best Practices

  • Atomic Writes: Keep project files focused only on that project.
  • Backlinks: Every branch should have a "Back to Root" or "Back to Domain" link.
  • Pruning: During heartbeats, review branches and remove obsolete information.
  • Why This Matters: Every branch and major entry must include a "Significance" line (Why is this important?) to prevent "Zombie Memory" (useless data accumulation).
  • Recent Delta: Maintain a recent_delta.md in each domain/project folder containing changes from the last 3-7 days for rapid context synchronization.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

70.79%
按下载量换算4,648

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills