Overview
- Skill Key
- balkanblbn/hierarchical-memory
- Author
- balkanblbn
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/balkanblbn/hierarchical-memory
- Latest Commit SHA
- 8820085127b79fb32a6671a3cc1b5495c78a1fbd
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.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 hierarchical-memory 技能。 若已安装,则直接安装 hierarchical-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.
2. **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.
3. **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 requ...
# Hierarchical Memory (Neural Branching) 🧠🏗️
A modular, multi-layered memory system designed for long-term AI agents to prevent context bloat and ensure high-fidelity recall.
## 🌟 Key Features
- **Neural Branching:** Organize memory into Root, Domain, and Project layers.
- **Recent Delta:** Quick-load mechanism for the last 3-7 days of context.
- **Zombie Prevention:** Mandatory significance markers for every memory branch.
- **Low Latency:** Only load the specific context needed for the current task.
## 🛠️ Structure
```
workspace/
├── MEMORY.md (Root Map)
└── memory/
├── domains/ (Coding, Trading, Social, etc.)
└── projects/ (Project-specific deep dives)
```
## 🚀 How to Use
1. **Initialize:** The skill sets up your base directories.
2. **Add Branch:** Use `scripts/add_branch.py` to create new domains or projects.
3. **Recall:** Start at `MEMORY.md`, follow the link, and `read` the specific branch.
## 📦 Installation
If published on ClawHub:
```bash
clawhub install hierarchical-memory
```
Or manually add the `SKILL.md` to your skills directory.
---
*Built with ❤️ by maymun & Balkan.*
capt-marbles
Task Router
captchasco
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
carol-gutianle
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
cartoonitunes
Read-only factual data about historical Ethereum mainnet contracts. Use when the user asks about a specific contract address, early Ethereum contracts, deployment era, deployer, bytecode, decompiled code, or documented history (what a contract is and is not). Data is non-opinionated and includes runtime bytecode, decompiled code, and editorial history when available. Base URL https://ethereumhistory.com (or set BASE_URL for local/staging).
cassh100k
Portable agent identity encoding. Compress SOUL.md/MEMORY.md into transferable DNA fingerprints, detect identity drift between snapshots, and port personality across platforms (OpenClaw, Claude, GPT, CrewAI). Pure Python, zero dependencies. Use when migrating agents between platforms, detecting personality drift, or backing up agent identity.
camopel
One-command disk cleanup for macOS and Linux — trash, caches, temp files, old kernels, snap revisions, Homebrew, Docker, and Xcode artifacts. Use when user asks to free storage, clean up disk, reclaim space, reduce disk usage, or encounters low disk / "disk full" warnings. Safe by default with dry-run mode. No dependencies beyond bash and awk.