From sundial-org-awesome-openclaw-skills-4
Implements triple memory system combining LanceDB auto-recall/capture, Git-Notes structured storage per branch, and file-based workspace search for persistent agent context across sessions.
npx claudepluginhub joshuarweaver/cascade-ai-ml-agents-misc-2 --plugin sundial-org-awesome-openclaw-skills-4This skill uses the workspace's default tool permissions.
A comprehensive memory architecture combining three complementary systems for maximum context retention across sessions.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
A comprehensive memory architecture combining three complementary systems for maximum context retention across sessions.
User Message
↓
[LanceDB auto-recall] → injects relevant conversation memories
↓
Agent responds (using all 3 systems)
↓
[LanceDB auto-capture] → stores preferences/decisions automatically
↓
[Git-Notes] → structured decisions with entity extraction
↓
[File updates] → persistent workspace docs
memory_recall, memory_store, memory_forgetscripts/file-search.sh{
"plugins": {
"slots": { "memory": "memory-lancedb" },
"entries": {
"memory-lancedb": {
"enabled": true,
"config": {
"embedding": { "apiKey": "${OPENAI_API_KEY}", "model": "text-embedding-3-small" },
"autoRecall": true,
"autoCapture": true
}
}
}
}
}
Add to your Clawdbot config to automatically preserve context before compaction:
{
"agents": {
"defaults": {
"compaction": {
"mode": "safeguard",
"memoryFlush": {
"enabled": true,
"softThresholdTokens": 8000,
"systemPrompt": "Session nearing compaction. Preserve context using triple memory system (git-notes, LanceDB, files).",
"prompt": "Context is at ~80%. Write session summary to memory/YYYY-MM-DD.md, update MEMORY.md if needed, store key facts to git-notes. Reply NO_REPLY when done."
}
}
}
}
}
This triggers automatic memory dump when context reaches ~80%, before any information is lost to compaction.
clawdhub install git-notes-memory
Copy scripts/file-search.sh to your workspace.
python3 skills/git-notes-memory/memory.py -p $WORKSPACE sync --start
python3 skills/git-notes-memory/memory.py -p $WORKSPACE remember \
'{"decision": "Use PostgreSQL", "reason": "Team expertise"}' \
-t architecture,database -i h
./scripts/file-search.sh "database config" 5
LanceDB handles this automatically. Manual tools:
memory_recall "query" - search conversation memorymemory_store "text" - manually store somethingmemory_forget - delete memories (GDPR)| Flag | Level | When to Use |
|---|---|---|
-i c | Critical | "always remember", explicit preferences |
-i h | High | Decisions, corrections, preferences |
-i n | Normal | General information |
-i l | Low | Temporary notes |
| System | Use For |
|---|---|
| LanceDB | Conversation context, auto-retrieval |
| Git-Notes | Structured decisions, searchable by entity/tag |
| File Search | Workspace docs, daily logs, MEMORY.md |
workspace/
├── MEMORY.md # Long-term curated memory
├── memory/
│ ├── active-context.md # Current session state
│ └── YYYY-MM-DD.md # Daily logs
├── scripts/
│ └── file-search.sh # Workspace search
└── skills/
└── git-notes-memory/ # Structured memory
Never announce memory operations to users. Just do it: