3.5k★by emberdesire
jasper-recall – OpenClaw Skill
jasper-recall is an OpenClaw Skills integration for writing workflows. Local RAG system for agent memory using ChromaDB and sentence-transformers. Provides semantic search over session logs, daily notes, and memory files. Use when you need persistent memory across sessions, want to search past conversations, or build agents that remember context. Commands: recall "query", index-digests, digest-sessions.
Skill Snapshot
| name | jasper-recall |
| description | Local RAG system for agent memory using ChromaDB and sentence-transformers. Provides semantic search over session logs, daily notes, and memory files. Use when you need persistent memory across sessions, want to search past conversations, or build agents that remember context. Commands: recall "query", index-digests, digest-sessions. OpenClaw Skills integration. |
| owner | emberdesire |
| repository | emberdesire/jasper-recall |
| language | Markdown |
| license | MIT |
| topics | |
| security | L1 |
| install | openclaw add @emberdesire/jasper-recall |
| last updated | Feb 7, 2026 |
Maintainer

name: jasper-recall description: Local RAG system for agent memory using ChromaDB and sentence-transformers. Provides semantic search over session logs, daily notes, and memory files. Use when you need persistent memory across sessions, want to search past conversations, or build agents that remember context. Commands: recall "query", index-digests, digest-sessions.
Jasper Recall
Local RAG (Retrieval-Augmented Generation) system for AI agent memory. Gives your agent the ability to remember and search past conversations.
When to Use
- Memory recall: Search past sessions for context before answering
- Continuous learning: Index daily notes and decisions for future reference
- Session continuity: Remember what happened across restarts
- Knowledge base: Build searchable documentation from your agent's experience
Quick Start
Setup
One command installs everything:
npx jasper-recall setup
This creates:
- Python venv at
~/.openclaw/rag-env - ChromaDB database at
~/.openclaw/chroma-db - CLI scripts in
~/.local/bin/
Basic Usage
Search your memory:
recall "what did we decide about the API design"
recall "hopeIDS patterns" --limit 10
recall "meeting notes" --json
Index your files:
index-digests # Index memory files into ChromaDB
Create session digests:
digest-sessions # Process new sessions
digest-sessions --dry-run # Preview what would be processed
How It Works
Three Components
- digest-sessions — Extracts key info from session logs (topics, tools used)
- index-digests — Chunks and embeds markdown files into ChromaDB
- recall — Semantic search across your indexed memory
What Gets Indexed
By default, indexes files from ~/.openclaw/workspace/memory/:
*.md— Daily notes, MEMORY.mdsession-digests/*.md— Session summariesrepos/*.md— Project documentationfounder-logs/*.md— Development logs (if present)
Embedding Model
Uses sentence-transformers/all-MiniLM-L6-v2:
- 384-dimensional embeddings
- ~80MB download on first run
- Runs locally, no API needed
Agent Integration
Memory-Augmented Responses
# Before answering questions about past work
results = exec("recall 'project setup decisions' --json")
# Include relevant context in your response
Automated Indexing (Heartbeat)
Add to HEARTBEAT.md:
## Memory Maintenance
- [ ] New session logs? → `digest-sessions`
- [ ] Memory files updated? → `index-digests`
Cron Job
Schedule regular indexing:
{
"schedule": { "kind": "cron", "expr": "0 */6 * * *" },
"payload": {
"kind": "agentTurn",
"message": "Run index-digests to update the memory index"
},
"sessionTarget": "isolated"
}
CLI Reference
recall
recall "query" [OPTIONS]
Options:
-n, --limit N Number of results (default: 5)
--json Output as JSON
-v, --verbose Show similarity scores
index-digests
index-digests
Indexes markdown files from:
~/.openclaw/workspace/memory/*.md
~/.openclaw/workspace/memory/session-digests/*.md
~/.openclaw/workspace/memory/repos/*.md
~/.openclaw/workspace/memory/founder-logs/*.md
Skips files that haven't changed (content hash check).
digest-sessions
digest-sessions [OPTIONS]
Options:
--dry-run Preview without writing
--all Process all sessions (not just new)
--recent N Process only N most recent sessions
Configuration
Custom Paths
Set environment variables:
export RECALL_WORKSPACE=~/.openclaw/workspace
export RECALL_CHROMA_DB=~/.openclaw/chroma-db
export RECALL_SESSIONS_DIR=~/.openclaw/agents/main/sessions
Chunking
Default settings in index-digests:
- Chunk size: 500 characters
- Overlap: 100 characters
Troubleshooting
"No index found"
index-digests # Create the index first
"Collection not found"
rm -rf ~/.openclaw/chroma-db # Clear and rebuild
index-digests
Model download slow First run downloads ~80MB model. Subsequent runs are instant.
Links
Jasper Recall 🦊
Local RAG (Retrieval-Augmented Generation) system for AI agent memory. Gives your agent the ability to remember and search past conversations using ChromaDB and sentence-transformers.
Features
- Semantic search over session logs and memory files
- Local embeddings — no API keys needed
- Incremental indexing — only processes changed files
- Session digests — automatically extracts key info from chat logs
- OpenClaw integration — works seamlessly with OpenClaw agents
Quick Start
# One-command setup
npx jasper-recall setup
# Search your memory
recall "what did we decide about the API"
# Index your files
index-digests
# Process new session logs
digest-sessions
What Gets Indexed
By default, indexes markdown files from ~/.openclaw/workspace/memory/:
- Daily notes (
*.md) - Session digests (
session-digests/*.md) - Project docs (
repos/*.md) - SOPs (
sops/*.md)
How It Works
┌────────────────┐ ┌──────────────┐ ┌───────────┐
│ Session Logs │────▶│ digest- │────▶│ Markdown │
│ (.jsonl) │ │ sessions │ │ Digests │
└────────────────┘ └──────────────┘ └─────┬─────┘
│
▼
┌────────────────┐ ┌──────────────┐ ┌───────────┐
│ Memory Files │────▶│ index- │────▶│ ChromaDB │
│ (*.md) │ │ digests │ │ Vectors │
└────────────────┘ └──────────────┘ └─────┬─────┘
│
▼
┌──────────────┐ ┌───────────┐
│ recall │◀────│ Query │
│ "query" │ │ │
└──────────────┘ └───────────┘
CLI Reference
recall
Search your indexed memory:
recall "query" # Basic search
recall "query" -n 10 # More results
recall "query" --json # JSON output
recall "query" -v # Show similarity scores
index-digests
Index markdown files into ChromaDB:
index-digests # Index all files
digest-sessions
Extract summaries from session logs:
digest-sessions # Process new sessions only
digest-sessions --all # Reprocess everything
digest-sessions --dry-run # Preview without writing
Configuration
Set environment variables to customize paths:
export RECALL_WORKSPACE=~/.openclaw/workspace
export RECALL_CHROMA_DB=~/.openclaw/chroma-db
export RECALL_SESSIONS_DIR=~/.openclaw/agents/main/sessions
export RECALL_VENV=~/.openclaw/rag-env
OpenClaw Integration
Add to your agent's HEARTBEAT.md for automatic memory maintenance:
## Memory Maintenance
- [ ] New sessions? → `digest-sessions`
- [ ] Files updated? → `index-digests`
Or schedule via cron:
{
"schedule": { "kind": "cron", "expr": "0 */6 * * *" },
"payload": {
"kind": "agentTurn",
"message": "Run index-digests to update memory index"
},
"sessionTarget": "isolated"
}
Technical Details
- Embedding model:
sentence-transformers/all-MiniLM-L6-v2(384 dimensions, ~80MB) - Vector store: ChromaDB (persistent, local)
- Chunking: 500 chars with 100 char overlap
- Deduplication: Content hash check skips unchanged files
Requirements
- Python 3.10+
- Node.js 18+ (for setup CLI)
- ~500MB disk space (model + dependencies)
License
MIT
Links
Permissions & Security
Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.
Requirements
- OpenClaw CLI installed and configured.
- Language: Markdown
- License: MIT
- Topics:
Configuration
### Custom Paths Set environment variables: ```bash export RECALL_WORKSPACE=~/.openclaw/workspace export RECALL_CHROMA_DB=~/.openclaw/chroma-db export RECALL_SESSIONS_DIR=~/.openclaw/agents/main/sessions ``` ### Chunking Default settings in index-digests: - Chunk size: 500 characters - Overlap: 100 characters
FAQ
How do I install jasper-recall?
Run openclaw add @emberdesire/jasper-recall in your terminal. This installs jasper-recall into your OpenClaw Skills catalog.
Does this skill run locally or in the cloud?
OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.
Where can I verify the source code?
The source repository is available at https://github.com/openclaw/skills/tree/main/skills/emberdesire/jasper-recall. Review commits and README documentation before installing.
