diff --git a/SKILL.md b/SKILL.md index f5dfcab..4a35439 100644 --- a/SKILL.md +++ b/SKILL.md @@ -18,6 +18,32 @@ This skill provides a complete RAG (Retrieval-Augmented Generation) system for O - 💾 Local ChromaDB storage (no API keys required) - 🚀 Automatic AI integration – retrieves context transparently +## For Nova (AI Assistant) - How to Query RAG + +**IMPORTANT:** The `memory_search` tool in OpenClaw is a SEPARATE system that requires external API keys (OpenAI/Google/Voyage). Do NOT use it. + +**Use the RAG skill scripts directly:** + +```bash +# Quick search (returns top 10 results) +python3 ~/.openclaw/workspace/skills/rag-openclaw/rag_query.py "your search query" + +# Search with type filter +python3 ~/.openclaw/workspace/skills/rag-openclaw/rag_query.py "SIP voip" --type session +python3 ~/.openclaw/workspace/skills/rag-openclaw/rag_query.py "porkbun DNS" --type skill + +# Check what's indexed +python3 ~/.openclaw/workspace/skills/rag-openclaw/rag_manage.py stats +``` + +**When to use RAG:** +- Before answering questions about past work, decisions, or context +- When the user says "remember when..." or "we set up..." +- When you need to recall configurations, credentials, or setup details +- Whendebugging - search for how similar issues were solved before + +The RAG uses local embeddings (all-MiniLM-L6-v2) and requires no external API keys. + ## Installation ### Prerequisites