2026-01-31 14:50:27 -07:00

1.5 KiB

name description homepage metadata
agent-memory Integrate with ~/.agents/memory sqlite database for persistent cross-session memory https://github.com/nicholai/clawdbot
clawdbot
emoji events requires install
🧠
command:new
command:remember
command:recall
command:context
id kind label
workspace workspace Workspace hook

Agent Memory Hook

Integrates with the shared agent memory system at ~/.agents/memory/.

What It Does

On /context:

  • Loads CURRENT.md (daily synthesized summary) + database memories
  • Gives clawdbot the same context that Claude Code gets at session start
  • Use this at the start of a conversation to load memory context

On /remember <content>:

  • Saves explicit memories to the database
  • Supports critical: prefix for pinned memories
  • Supports [tag1,tag2]: prefix for tagged memories

On /recall <query>:

  • Searches the memory database using FTS
  • Returns relevant memories with scores

On /new command:

  • Extracts key facts from the ending session
  • Saves them to the sqlite memory database

Memory System

Uses the same memory system as Claude Code and OpenCode:

  • CURRENT.md: ~/.agents/memory/CURRENT.md (regenerated daily at 4am)
  • Database: ~/.agents/memory/memories.db
  • Script: ~/.agents/memory/scripts/memory.py
  • Features: FTS5 search, importance decay, pinning, tagging

Examples

/context
/remember critical: nicholai prefers bun over npm
/remember [discord,preferences]: always use embed for long responses
/recall discord preferences