Skip to content
Back to skills

Agent Memory Ultimate

ASecurity

Give your OpenClaw agent a memory system that actually works across sessions. Research-backed. Open source.

  • 21 stars
  • 0 votes
  • 0 copies
  • 8 views
  • Added September 7, 2026
databasesgosqlgitapidatabasesecurity

Works with

  • api

Security analysis

A100/100

Pro scans all 12 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill agent-memory-ultimate --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agent Memory Ultimate?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agent Memory Ultimate
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-agent-memory-ultimate/badge)](https://www.skillsdirectory.com/skills/modbender-agent-memory-ultimate)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: agent-memory-ultimate
version: 3.1.0
description: "Give your OpenClaw agent a memory system that actually works across sessions. Research-backed. Open source."
metadata:
  {
    "openclaw":
      {
        "emoji": "🧠",
        "os": ["linux", "darwin"],
        "requires":
          {
            "bins": ["sqlite3"],
          },
        "notes":
          {
            "security": "This skill stores memories in a local SQLite database. All data stays on your machine. No cloud calls, no external APIs, no data exfiltration. Vector embeddings are computed locally. Memory consolidation and decay run as local processes.",
          },
      },
  }
---

# Agent Memory Ultimate

### Your agent forgets everything. Let's fix that.

You spend 20 minutes explaining your architecture. Next session: *"Could you remind me what we're working on?"*

You decide on PostgreSQL over MongoDB with detailed reasoning. After compaction: *"What database are you using?"*

You tell it your wife's name is Sasha. Three sessions later it calls her Sarah.

This isn't a bug. This is vanilla OpenClaw — context fills up, compaction kicks in, thread lost. Every. Single. Time.

### What we built

A memory skill that makes your agent *significantly* better at retaining what matters. Not perfect — that's still an unsolved problem in AI — but good enough that it stops asking "what project?" for the third time this week.

- **Semantic vector search** — finds relevant context even when you phrase things differently
- **Two-tier index** — fast retrieval instead of scanning 50KB of logs
- **Automatic consolidation** — decisions, preferences, and facts persist across sessions
- **Natural memory decay** — old irrelevant stuff fades, recent memories surface faster
- **60–80% token savings** — loads only what's relevant instead of dumping everything into context
- **SQLite-backed** — everything local, everything persistent, survives restarts
- **Fully offline** — no cloud, no API calls, no data leaving your machine

We didn't guess at the architecture. It's backed by two research papers:

- [**HIPPOCAMPUS**](https://github.com/globalcaos/clawdbot-moltbot-openclaw/blob/main/docs/papers/hippocampus.md) — biologically-inspired memory formation with O(1) concept lookup
- [**ENGRAM**](https://github.com/globalcaos/clawdbot-moltbot-openclaw/blob/main/docs/papers/context-compaction.md) — context compaction as cache eviction, not summarization. Summarization destroys detail. Cache eviction preserves it.

Because we're that kind of obsessive.

### What you get

An agent that remembers your tech stack, your preferences, your team's names, and the decisions you already made — without you repeating yourself every session. It's not omniscient. But it's a dramatic improvement over the default.

## Pairs well with

- [**jarvis-voice**](https://clawhub.com/globalcaos/jarvis-voice) — Memory that speaks back
- [**ai-humor-ultimate**](https://clawhub.com/globalcaos/ai-humor-ultimate) — An agent that remembers *and* has personality
- [**agent-boundaries-ultimate**](https://clawhub.com/globalcaos/agent-boundaries-ultimate) — Perfect memory with clear limits on when to use it

👉 **Explore the full project:** [github.com/globalcaos/clawdbot-moltbot-openclaw](https://github.com/globalcaos/clawdbot-moltbot-openclaw)

Clone it. Fork it. Break it. Make it yours.

Files in this skill

  • SKILL.md3.4 KB
  • package.json1013 B
  • references/schema.md4.5 KB
  • scripts/embed_server.py5.2 KB
  • scripts/import_vcf.py5.4 KB
  • scripts/init_db.py11.6 KB
  • scripts/lib/embedder.py3 KB
  • scripts/lib/memory_core.py42.4 KB
  • scripts/mem.py24.8 KB
  • scripts/query.py10.6 KB
  • scripts/start-memory.sh436 B
  • scripts/sync_whatsapp.py6.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in databases →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.