← 返回 Skills 市场
loda666

RAG Search

作者 Loda666 · GitHub ↗ · v0.1.1
cross-platform ⚠ suspicious
2839
总下载
4
收藏
17
当前安装
2
版本数
在 OpenClaw 中安装
/install rag-search
功能描述
Backend retrieval skill for structured search of occupational health standards and documents, returning relevant text with source and clause details.
安全使用建议
The code implements a local RAG query but relies on an absolute workspace path and external embedding/rerank clients while declaring no config paths or credentials. Before installing: (1) confirm the runtime will host /root/.openclaw/workspace/rag_system/data/vectors.db and that returning raw DB content is acceptable; (2) ask the author for the implementations of embedding_client and search_pipeline (they may require API keys or network access); (3) require the skill manifest to declare any required config paths and env vars (e.g., API keys, DB location); (4) review embedding/rerank client code for outbound network calls or credential usage to avoid secret exfiltration; (5) avoid exposing this skill directly to end users until these questions are resolved.
功能分析
Type: OpenClaw Skill Name: rag-search Version: 0.1.1 The skill is classified as suspicious due to its reliance on hardcoded absolute paths within the `/root` directory for importing modules and accessing a database file. Specifically, `handler.py` uses `sys.path.insert(0, '/root/.openclaw/workspace/rag_system/scripts')` and accesses `db_path = "/root/.openclaw/workspace/rag_system/data/vectors.db"`. While this file access is plausibly needed for the stated RAG search purpose, it grants the skill implicit broad permissions to system-level components and data, posing a supply chain risk if the external RAG system components are compromised. There is no clear evidence of intentional malicious behavior like data exfiltration or unauthorized command execution within the provided skill bundle itself.
能力评估
Purpose & Capability
Name, SKILL.md and handler.py consistently implement a minimal RAG search against a local vector DB for occupational-health regulations. However, the code requires a specific workspace layout (/root/.openclaw/workspace/rag_system/...) and a vectors.db file that are not declared in the skill metadata (no required config paths). That mismatch (implicit dependency on a local repo) is unexpected and should be justified.
Instruction Scope
SKILL.md describes only querying and returning original text. The implementation imports modules from an absolute path and reads /root/.openclaw/.../data/vectors.db. The handler returns raw document content from the DB (potentially sensitive). SKILL.md also warns this is a backend-only component, but the skill metadata does not mark any special protection; the instructions/code will access local files outside the skill bundle at runtime.
Install Mechanism
There is no install spec and no remote downloads; the skill is instruction-only aside from a local handler.py. This minimizes installation risk because nothing is fetched or written by an install step.
Credentials
handler.py instantiates QwenEmbeddingClient and QwenRerankClient which likely require API credentials or network access, but the skill declares no required environment variables or primary credential. Additionally, it relies on a hard-coded filesystem path rather than a declared config path. Missing declarations (API keys, DB path) are incoherent and could hide secret requirements or unexpected network calls.
Persistence & Privilege
The skill does not request always:true and does not modify system configs. However it alters sys.path at runtime to import code from /root/.openclaw/workspace, granting it access to other code and data in that workspace—this pattern increases its blast radius compared with a self-contained skill.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install rag-search
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /rag-search 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
## 0.1.0 - 明确底层检索组件定位 - This skill is intended to be used as a backend retrieval component
v0.1.0
初始版本,支持职业卫生法规检索
元数据
Slug rag-search
版本 0.1.1
许可证
累计安装 19
当前安装数 17
历史版本数 2
常见问题

RAG Search 是什么?

Backend retrieval skill for structured search of occupational health standards and documents, returning relevant text with source and clause details. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2839 次。

如何安装 RAG Search?

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

RAG Search 是免费的吗?

是的,RAG Search 完全免费(开源免费),可自由下载、安装和使用。

RAG Search 支持哪些平台?

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

谁开发了 RAG Search?

由 Loda666(@loda666)开发并维护,当前版本 v0.1.1。

💬 留言讨论