Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
- Expanded description and keywords for improved discoverability, highlighting ChatGPT, Copilot, Cursor, and developer tooling. - Updated version to 1.2.3. - Clarified compatibility and marketing text in SKILL.md. - No functional or implementation changes to code logic.
What This Skill Does
A multi-layer memory system for AI coding agents that combines in-session file state, vector search via LanceDB, git-notes storage, curated markdown archives, optional cloud sync, and optional auto-extraction. Uses a Write-Ahead Log protocol to persist context before responding. Designed for agents running in Cursor, Claude Code, ChatGPT, and Copilot.
Instead of relying on a single memory mechanism, it layers six complementary approaches so that context survives compaction, session restarts, and sub-agent isolation simultaneously.
When to use it
- Retaining a project's tech stack decisions across sessions
- Preventing an agent from repeating a mistake it already made
- Keeping user preferences like code style or tooling choices persistent
- Passing relevant prior context to sub-agents in multi-step workflows
- Syncing agent memory across devices via cloud backup
Example Workflow
Here's how your AI assistant might use this skill in practice.
User says: 'Let's use Tailwind for this project, not vanilla CSS'
- 1Write decision to SESSION-STATE.md before responding
- 2Store structured decision in git-notes cold store silently
- 3Call memory_store with the preference and importance=0.9 to LanceDB
- 4Respond to the user acknowledging the choice
Decision is now retrievable via semantic search, readable in git history, and loaded automatically on next session start
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.