| 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:
- Create directories in your
memory/ folder.
- Create boilerplate markdown files for new memory branches.
- 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:
-
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.
-
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.
-
Layer 3: Project Memories (memory/projects/*.md)