← 返回 Skills 市场
Rag Retrieve
作者
Stephen Thorn
· GitHub ↗
· v2.0.0
· MIT-0
98
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install rag-retrieve
功能描述
Performs domain- and version-aware hybrid vector+BM25+metadata search on TiDB, with multi-query expansion and optional chain-of-retrieval for multi-hop queries.
安全使用建议
Do not install blindly. Confirm with the author/source: (1) Why the registry shows no required env vars/binaries while SKILL.md lists python3, pymysql/aiohttp and five sensitive endpoints (OPENCLAW_LLM_ENDPOINT, TIDB_HOST, TIDB_PORT, EMBEDDING_ENDPOINT, RERANKER_ENDPOINT). (2) Where do the endpoints point (internal private network vs third-party SaaS)? If endpoints are external, your code and documents could be sent to them during embedding/reranking. (3) Whether 'user_codebase' must be enabled; if not needed, set user_codebase=false to avoid including local code. (4) What shell/file-system commands the skill will actually run — ask for a minimal runtime log or code snippet. Prefer to run the skill in an isolated environment with network controls and internal-only endpoints. If the author can't explain the registry/SKILL.md discrepancies or the endpoints' hosts, treat the skill as untrusted.
功能分析
Type: OpenClaw Skill
Name: rag-retrieve
Version: 2.0.0
The rag-retrieve skill implements a sophisticated RAG pipeline featuring multi-query expansion, hybrid search in TiDB, and multi-hop retrieval (CoRAG). It utilizes local services for embeddings and reranking via shell-based curl commands and connects to a local TiDB instance. While the skill uses high-privilege tools and contains minor security flaws like hardcoded local database credentials (root with no password in SKILL.md), its behavior is entirely consistent with its stated purpose of document retrieval and lacks any evidence of malicious intent, data exfiltration, or unauthorized remote execution.
能力评估
Purpose & Capability
The SKILL.md describes a TiDB hybrid vector+BM25 retrieval pipeline (embeddings, reranker, LLM query expansion) which is coherent with the skill name and description. However, the published registry entry claims no required env vars/binaries while the SKILL.md metadata lists python3, pymysql/aiohttp, and env vars (OPENCLAW_LLM_ENDPOINT, TIDB_HOST, TIDB_PORT, EMBEDDING_ENDPOINT, RERANKER_ENDPOINT). That mismatch is unexpected.
Instruction Scope
Instructions and architecture reference accessing domain-specific and 'user_codebase' chunks, embedding/reranker/LLM endpoints, and list tools including shell and file-system. Default user_codebase=true means the skill will include user code by default (potentially exposing sensitive code to external endpoints). The SKILL.md does not show explicit safeguards or limits on what filesystem/shell actions are performed, which increases risk.
Install Mechanism
This is an instruction-only skill (no install spec, no code files). That keeps install risk low because nothing is written by an installer, but runtime behavior still matters.
Credentials
The endpoints and DB connection env vars declared inside SKILL.md (TiDB host/port, embedding/llm/reranker endpoints) are appropriate for a retrieval skill. However the registry listing omits these requirements—an inconsistency that prevents the platform from showing needed permissions up-front. The number and type of env vars are reasonable for the described functionality but are sensitive and should be explicitly declared in the registry.
Persistence & Privilege
The skill is not marked always:true. Triggers in the SKILL.md claim it's 'always called by coding-orchestrator before generation', which conflicts with the published flags. The skill also advertises use of shell and file-system tools; while not inherently malicious, these increase the blast radius if the skill is invoked automatically or with broad permissions.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install rag-retrieve - 安装完成后,直接呼叫该 Skill 的名称或使用
/rag-retrieve触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.0
**rag-retrieve 2.0.0 — Major architecture upgrade and new features**
- Adds multi-query expansion for richer, more comprehensive retrievals.
- Implements fast, version-aware filtering (essential for accurate iOS documentation).
- Supports hybrid vector + BM25 + metadata search via TiDB.
- Optional CoRAG (chain-of-retrieval) enables multi-hop reasoning and context accumulation.
- Output includes direct trace of retrieval steps, estimated token count, and query variants.
- Flexible filtering: domain, iOS version, frameworks, and user codebase now supported.
元数据
常见问题
Rag Retrieve 是什么?
Performs domain- and version-aware hybrid vector+BM25+metadata search on TiDB, with multi-query expansion and optional chain-of-retrieval for multi-hop queries. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 98 次。
如何安装 Rag Retrieve?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install rag-retrieve」即可一键安装,无需额外配置。
Rag Retrieve 是免费的吗?
是的,Rag Retrieve 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Rag Retrieve 支持哪些平台?
Rag Retrieve 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Rag Retrieve?
由 Stephen Thorn(@stephenlthorn)开发并维护,当前版本 v2.0.0。
推荐 Skills