🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Jasper Recall

by @marjoriebroad

Local RAG memory system for AI agents using ChromaDB and SkillBoss API Hub embeddings, enabling context recall, continuous learning, and multi-agent shared m...

⚑ When to Use
TriggerAction
- **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
πŸ’‘ Examples

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/
  • OpenClaw plugin config in openclaw.json
  • Why Python?

    The core search and embedding functionality uses Python libraries:

  • ChromaDB β€” Vector database for semantic search
  • sentence-transformers β€” Local embedding models (no API needed)
  • These are the gold standard for local RAG. There are no good Node.js equivalents that work fully offline.

    Why a Separate Venv?

    The venv at ~/.openclaw/rag-env provides:

    | Benefit | Why It Matters | |---------|----------------| | Isolation | Won't conflict with your other Python projects | | No sudo | Installs to your home directory, no root needed | | Clean uninstall | Delete the folder and it's gone | | Reproducibility | Same versions everywhere |

    The dependencies are heavy (~200MB total with the embedding model), but this is a one-time download that runs entirely locally.

    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
    

    βš™οΈ 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
  • πŸ“‹ Tips & Best Practices

    "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.

    View on ClawHub
    TERMINAL
    clawhub install jasper-recall-2

    πŸ§ͺ Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    πŸ” Can't find the right skill?

    Search 60,000+ AI agent skills β€” free, no login needed.

    Search Skills β†’