From 97649d7c7f233699342477c2212cd29bb531ffda Mon Sep 17 00:00:00 2001 From: Nova AI Date: Thu, 12 Feb 2026 14:22:32 +0000 Subject: [PATCH] Add YAML front matter with description, security notes, and auto-update script --- SKILL.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/SKILL.md b/SKILL.md index e917819..2234ed9 100644 --- a/SKILL.md +++ b/SKILL.md @@ -1,3 +1,8 @@ +--- +name: rag +description: Complete RAG (Retrieval-Augmented Generation) system for OpenClaw. Indexes chat sessions, workspace code, documentation, and skills into local ChromaDB for semantic search. Enables finding past solutions, code patterns, and decisions instantly. Uses local embeddings (all-MiniLM-L6-v2) with no API keys required. Automatically ingests and updates knowledge base from ~/.openclaw/agents/main/sessions and workspace files. +--- + # OpenClaw RAG Knowledge System **Retrieval-Augmented Generation for OpenClaw – Search chat history, code, docs, and skills with semantic understanding** @@ -334,6 +339,21 @@ This skill integrates seamlessly with OpenClaw: 3. **Workspace awareness**: Code and docs indexed for reference 4. **Skill accessible**: Use from any OpenClaw session or script +## Security Considerations + +**⚠️ Important Privacy Note:** This RAG system indexes local data, which may contain: +- API keys, tokens, or credentials in session transcripts +- Private messages or personal information +- Tool results with sensitive data +- Workspace configuration files + +**Recommended:** +- Review session files before ingestion if concerned about privacy +- Consider redacting sensitive data from session files +- Use `rag_manage.py reset` to delete the entire index when needed +- The ChromaDB persistence at `~/.openclaw/data/rag/` can be deleted to remove all indexed data +- The auto-update script only runs local ingestion - no remote code fetching + ## Example Workflow **Scenario:** You're working on a new automation but hit a Cloudflare challenge.