Use Case
Layered Memory is a powerful AI agent skill that extends your assistant with new capabilities. The hierarchical memory management system based on the L0/L1/L2 three-layer structure significantly reduces Token consumption. L0 saves 99% Tokens (summary layer), L1 saves 88% (overview layer), and L2 is the complete content. Supports automatic generation of hierarchical files, intelligent on-demand loading, and prevention of repeated writing. Suitable for scenarios where large memory files need to be managed efficiently. This guide walks you through installing Layered Memory, configuring it for your setup, and running your first commands β so you can start getting value in minutes.
Install Layered Memory: npx clawhub@latest --dir ~/.claude/skills install layered-memory
Restart your AI client (Claude Code, Cursor, Gemini CLI, or OpenClaw)
Type a natural language request related to documents & notes to trigger Layered Memory
Review the output and refine your prompt for better results
Combine Layered Memory with other skills to build multi-step workflows
Copy these prompts and use them with your AI agent after installing Layered Memory
Help me get started with Layered Memory
What can Layered Memory do for my documents & notes workflow?
Show me an example of using Layered Memory
Select your agent
Option 1: Install via CLI (recommended)
Recommended (no pre-install needed)
npx clawhub@latest --dir ~/.claude/skills install layered-memoryOr via clawhub CLI (if already installed)
clawhub --dir ~/.claude/skills install layered-memoryβ οΈ Requires Node.js 18+. No Node? Use Option 2 below to download the ZIP instead. Install Node.js β
Option 2: Manual install (no Node required)
Download the ZIP, extract it, and place the folder at the path below. Restart your agent to activate.
Install path
~/.claude/skills/layered-memory/π‘Extract and place the folder at the path above, then restart your agent.