Local-first RAG cache: distill docs into structured Markdown, then index/query with Chroma (vector) + ripgrep (keyword).
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install raglite或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install raglite⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/raglite/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: raglite version: 1.0.8 description: "Local-first RAG cache: distill docs into structured Markdown, then index/query with Chroma (vector) + ripgrep (keyword)." metadata: { "openclaw": { "emoji": "🔎", "requires": { "bins": ["python3", "pip", "rg"] } } } ---
RAGLite is a local-first RAG cache.
It does not replace model memory or chat context. It gives your agent a durable place to store and retrieve information the model wasn’t trained on — especially useful for local/private knowledge (school work, personal notes, medical records, internal runbooks).
RAGLite treats extracted document text as untrusted data. If you distill content from third parties (web pages, PDFs, vendor docs), assume it may contain prompt injection attempts.
RAGLite’s distillation prompts explicitly instruct the model to:
Hi — I’m Viraj. I built RAGLite to make local-first retrieval practical: distill first, index second, query forever.
If you hit an issue or want an enhancement:
Contributors are welcome — PRs encouraged; maintainers handle merges.
This skill defaults to OpenClaw 🦞 for condensation unless you pass --engine explicitly.
./scripts/install.sh
This creates a skill-local venv at skills/raglite/.venv and installs the PyPI package raglite-chromadb (CLI is still raglite).
# One-command pipeline: distill → index
./scripts/raglite.sh run /path/to/docs \
--out ./raglite_out \
--collection my-docs \
--chroma-url http://127.0.0.1:8100 \
--skip-existing \
--skip-indexed \
--nodes
# Then query
./scripts/raglite.sh query "how does X work?" \
--out ./raglite_out \
--collection my-docs \
--chroma-url http://127.0.0.1:8100
RAGLite is a local RAG cache for repeated lookups.
When you (or your agent) keep re-searching for the same non-training data — local notes, school work, medical records, internal docs — RAGLite gives you a private, auditable library:
1) Distill to structured Markdown (compression-before-embeddings) 2) Index locally into Chroma 3) Query with hybrid retrieval (vector + keyword)
It doesn’t replace memory/context — it’s the place to store what you need again.
安装 RAGLite 后,可以对 AI 说这些话来触发它
Help me get started with RAGLite
Explains what RAGLite does, walks through the setup, and runs a quick demo based on your current project
Use RAGLite to local-first RAG cache: distill docs into structured Markdown, then ...
Invokes RAGLite with the right parameters and returns the result directly in the conversation
What can I do with RAGLite in my data & analytics workflow?
Lists the top use cases for RAGLite, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/raglite/ 目录(个人级,所有项目可用),或 .claude/skills/raglite/(项目级)。重启 AI 客户端后,用 /raglite 主动调用,或让 AI 根据上下文自动发现并使用。
RAGLite 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
RAGLite 可免费安装使用。请查阅仓库了解许可证信息。
Local-first RAG cache: distill docs into structured Markdown, then index/query with Chroma (vector) + ripgrep (keyword).
RAGLite 属于「Data & Analytics」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my data & analytics tasks using RAGLite
Identifies repetitive steps in your workflow and sets up RAGLite to handle them automatically