Registry / simbajigege

simbajigege/book2skills/folded-memory-implementation

Developer implementation guide for building hierarchical (folded) memory into an Agent. Three-layer architecture where recent turns stay detailed, older content compresses into episodes, and the oldest distills into durable semantic facts. Use when compact-memory-implementation is not retaining enough, or when agents need to recall decisions from many sessions ago.

Agent skill · version 0.0.0-main.1794528370.ge5ba66c · from simbajigege/book2skills

Install

npx yarkr-cli add skill:simbajigege/book2skills/folded-memory-implementation

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:simbajigege/book2skills/folded-memory-implementation
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:simbajigege/book2skills/folded-memory-implementation

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:simbajigege/book2skills/folded-memory-implementation

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.