← 返回 Skills 市场
aixbinge

rag-knowledge-assistant

作者 AI小兵哥 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
121
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install rag-knowledge-assistant
功能描述
基于向量数据库的 RAG(检索增强生成) 知识库助手。支持语义检索、多格式文档 (PDF/Word/Excel/Markdown) 处理、智能问答。使用 Chroma 向量库 + BGE-M3 Embedding 模型。适用于从 knowledge 目录快速检索信息、回答基于文档的问题。触发词:"从知识库查"、"...
安全使用建议
This skill is mostly coherent for building a local RAG index and searching documents, but take these precautions before installing or running it: - Do NOT follow the PUSH_GUIDE recommendation to embed your GitHub Personal Access Token in the git push URL; that exposes the token to shell history/logs. Use a credential manager, SSH keys, or temporary tokens instead. - Inspect scripts/requirements.txt before pip installing. Consider running pip install inside a virtualenv or container to avoid affecting your system Python. - The code may download large HuggingFace models (BAAI/bge-m3) or expect a local Ollama service — ensure you have disk, bandwidth, and understand where models are fetched from. If you cannot or do not want remote downloads, use the Ollama/local models option but only if Ollama runs locally. - Only put documents you trust into the ./knowledge directory; the skill will read and index everything under that path (don’t index sensitive secrets, private keys, or system files). - Run the tooling in an isolated environment (VM/container) if you are unsure, and verify network activity if you need strong assurance that data is not being transmitted off-host. If you want a cleaner manifest: ask the author to list operational requirements (local Ollama service, approximate model download size, any optional env vars) and to remove or fix the insecure push instructions.
功能分析
Type: OpenClaw Skill Name: rag-knowledge-assistant Version: 1.0.0 The bundle provides a functional RAG (Retrieval-Augmented Generation) system using LangChain, ChromaDB, and Ollama or HuggingFace embeddings. The scripts (index_knowledge.py, rag_query.py, etc.) implement standard document loading, text splitting, and vector search logic aligned with the stated purpose of a knowledge assistant. No evidence of data exfiltration, unauthorized network calls, or malicious prompt injection was found. Documentation files like PUSH_GUIDE.md and README.md provide standard setup instructions, although PUSH_GUIDE.md references a specific GitHub repository (AIxbinge/rag-skill.git) which appears to be for project-specific contribution rather than a malicious redirect.
能力评估
Purpose & Capability
Name/description (RAG knowledge assistant) aligns with the included scripts: indexing, query, PDF/Docx/Markdown loaders, Chroma vectorstore and support for HuggingFace or Ollama embeddings. The functionality requested in files is coherent with the stated purpose.
Instruction Scope
SKILL.md and README instruct building an index from a local 'knowledge' directory and running local scripts — scope stays within the knowledge indexing/search domain. However the repository includes a PUSH_GUIDE that instructs pushing with a Personal Access Token embedded in the Git remote URL (git push https://[email protected]/...), which is an insecure practice that can leak credentials (shell history, logs). Also some instructions implicitly require running a local Ollama service (http://localhost:11434) and downloading large HuggingFace models; these operational requirements are not declared in the skill manifest's 'required env vars / binaries' fields.
Install Mechanism
There is no automatic install spec for the skill (instruction-only), which minimizes direct install risks. The scripts call pip install -r requirements.txt and may download models from HuggingFace or rely on local Ollama — expected for this type of tool. No downloads from arbitrary/personal URLs or archive extraction mechanisms were found.
Credentials
The skill declares no required environment variables or credentials, which is appropriate. The code and docs mention optional environment usage (e.g., HF_ENDPOINT mirror) and expect a locally running Ollama service; these are operational needs but not secret requirements. The PUSH_GUIDE encourages user-supplied GitHub tokens (PAT) for pushing — that is not required for the skill to operate and is disproportionate and insecure to recommend.
Persistence & Privilege
Skill flags are default (always:false, agent-invocable allowed). The skill does not request elevated privileges or set persistent system-wide changes. It creates local vectorstore files under an explicitly-configured path (./vectorstore), which is expected and limited in scope.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install rag-knowledge-assistant
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /rag-knowledge-assistant 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release - RAG knowledge base assistant with vector search, multi-format document support (PDF/Word/Excel/Markdown), intelligent Q&A using Chroma + BGE-M3 embedding model.
元数据
Slug rag-knowledge-assistant
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

rag-knowledge-assistant 是什么?

基于向量数据库的 RAG(检索增强生成) 知识库助手。支持语义检索、多格式文档 (PDF/Word/Excel/Markdown) 处理、智能问答。使用 Chroma 向量库 + BGE-M3 Embedding 模型。适用于从 knowledge 目录快速检索信息、回答基于文档的问题。触发词:"从知识库查"、"... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 121 次。

如何安装 rag-knowledge-assistant?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install rag-knowledge-assistant」即可一键安装,无需额外配置。

rag-knowledge-assistant 是免费的吗?

是的,rag-knowledge-assistant 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

rag-knowledge-assistant 支持哪些平台?

rag-knowledge-assistant 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 rag-knowledge-assistant?

由 AI小兵哥(@aixbinge)开发并维护,当前版本 v1.0.0。

💬 留言讨论