agent-memory-ultimate
Give your OpenClaw agent a memory system that actually works across sessions. Research-backed. Open source.
Why use this skill?
Stop repeating yourself. Give your OpenClaw agent long-term memory with this SQLite-backed, research-driven skill that persists context across sessions.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/globalcaos/agent-memory-ultimateWhat This Skill Does
Agent Memory Ultimate revolutionizes how your OpenClaw agent manages long-term interactions. Standard LLMs suffer from context window limitations, forcing them to frequently "forget" past decisions, preferences, and project details. This skill implements a sophisticated, research-backed memory architecture using a SQLite-backed two-tier index system. By leveraging semantic vector search and a novel cache eviction strategy based on the ENGRAM research paper, it ensures that your agent retains crucial information across sessions without bloating the context window. It performs automatic consolidation and implements natural memory decay, allowing important facts to persist while irrelevant data fades. This results in an estimated 60–80% reduction in token usage compared to naive history dumping, providing a seamless experience where your agent maintains consistency in project context, user preferences, and shared history.
Installation
To integrate this memory system, ensure your OpenClaw environment is updated to the latest version. Execute the following command in your terminal:
clawhub install openclaw/skills/skills/globalcaos/agent-memory-ultimate
Once installed, the memory daemon initializes a local database file to store your agent's historical context. No external configuration or cloud setup is required, as the system is designed for fully offline operation.
Use Cases
- Long-term Project Management: Keep track of specific architectural decisions, database choices, or complex workflow rationales across multi-day coding sessions.
- Personalization: Maintain a record of user preferences, coding styles, and even personal details to create a more natural, tailored conversational experience.
- Collaborative Context: Ensure that when team members or stakeholders are referenced, the agent consistently remembers their roles and history without manual reminders.
- Decision Tracking: Log key takeaways from previous brainstorming sessions to avoid circular discussions.
Example Prompts
- "What was the reasoning we decided on PostgreSQL for the current project back in our session on Tuesday?"
- "Remember that I prefer using functional programming patterns and TypeScript strict mode for all my utility scripts."
- "Summarize the last three decisions we made regarding the API authentication flow so we can pick up where we left off."
Tips & Limitations
- Memory Decay: Understand that older, unreferenced information will naturally fade. If a specific piece of information is critical, explicitly ask the agent to 'commit it to core memory' if the implementation supports explicit locking.
- Performance: While the two-tier index is highly optimized, maintain a reasonable scope for the agent to ensure high-speed retrieval.
- Privacy: Since all data is stored locally in a SQLite database, ensure your host environment is secured. No data ever leaves your local machine, but standard file-system protections apply.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-globalcaos-agent-memory-ultimate": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read
Related Skills
jarvis-voice
Turn your AI into JARVIS. Voice, wit, and personality — the complete package. Humor cranked to maximum.
shell-security-ultimate
Classify every shell command as SAFE, WARN, or CRIT before your agent runs it.
memory-pioneer
Benchmark your agent's memory. Contribute anonymized scores to open research. Citizen science for AI memory.
subagent-overseer
Monitor sub-agent health and progress via a pull-based bash daemon. Use when spawning sub-agents that need progress tracking, staleness detection, and automatic status reporting. Replaces manual heartbeat polling with a deterministic status file the agent reads every 3 minutes. Zero AI tokens for monitoring — pure OS-level process checks and filesystem diffs.
model-router
Automatic LLM model selection for sub-agent tasks. Classifies tasks by complexity and type, then routes to the optimal model (cost vs capability). Use when spawning sub-agents, choosing models for cron jobs, or deciding which model to use for any task. Eliminates manual model specification by providing a decision tree and optional cheap-model classifier for ambiguous cases.