Resources
14Install
npx skillscat add moerae-ai/moerae Install via the SkillsCat registry.
SKILL.md
Moerae - AI Memory
Local memory database for AI agents. Store facts with put, retrieve them with search. Content is embedded and indexed automatically.
Setup
Download the embedding model once:
mkdir -p ~/.moerae/models
curl -L -o ~/.moerae/models/embeddinggemma-300m-qat-q8_0.gguf \
"https://huggingface.co/ggml-org/embeddinggemma-300m-qat-q8_0-GGUF/resolve/main/embeddinggemma-300m-qat-Q8_0.gguf"Storing Content
# Store a fact (returns conversation UUID for future use)
moerae put -p myproject "The API rate limit is 1000 req/min"
# Store into an existing conversation
moerae put -p myproject -c <uuid> "The deploy key is in vault under /prod/keys"
# Store from stdin (pipe documents, logs, etc.)
cat error.log | moerae put -p myproject --stdin -m "prod error log 2026-04-08"
# Store persistent content (never forgotten, visible across all conversations)
moerae put -p myproject --persist "Database connection string: postgres://..."Content longer than 128 tokens requires a -m metadata summary. Only the summary is indexed; full content is stored and retrievable.
Searching
# Search within a conversation
moerae search -p myproject -c <uuid> "rate limit"
# 0.9793 1 The API rate limit is 1000 req/min
# Search across all promoted/persistent content in the project
moerae search -p myproject --project-scope "database connection"
# Limit results
moerae search -p myproject -n 5 "deploy"
# JSON output (for programmatic consumption)
moerae search -p myproject --json "error log"Output format: score\tnode_id\tdata (tab-separated). Higher score = better match.
Retrieving Full Content
# Get the full stored content by node ID (from search results)
moerae get -p myproject 42Useful when the original content was large and search returned only the metadata summary.
Managing State
# List all projects
moerae projects
# Project statistics
moerae stats -p myproject
# List conversations in a project
moerae convs -p myprojectKey Behaviors
- put is synchronous (~5-15ms). Content is searchable immediately.
- search returns results ranked by cosine similarity. No configuration needed.
- Conversations isolate memory. Content in one conversation is invisible to searches in another unless promoted.
- Persistence (
--persist) makes content visible across all conversations in the project and prevents eviction. - Eviction is automatic. Old, rarely-accessed content is forgotten when segment limits are reached. Persistent content is never evicted.
- Projects are independent databases. Use
-pto target a specific project.