← Back to Skills Marketplace
loda666

RAG Search

by Loda666 · GitHub ↗ · v0.1.1
cross-platform ⚠ suspicious
2839
Downloads
4
Stars
17
Active Installs
2
Versions
Install in OpenClaw
/install rag-search
Description
Backend retrieval skill for structured search of occupational health standards and documents, returning relevant text with source and clause details.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install rag-search
  3. After installation, invoke the skill by name or use /rag-search
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.1
## 0.1.0 - 明确底层检索组件定位 - This skill is intended to be used as a backend retrieval component
v0.1.0
初始版本,支持职业卫生法规检索
Metadata
Slug rag-search
Version 0.1.1
License
All-time Installs 19
Active Installs 17
Total Versions 2
Frequently Asked Questions

What is RAG Search?

Backend retrieval skill for structured search of occupational health standards and documents, returning relevant text with source and clause details. It is an AI Agent Skill for Claude Code / OpenClaw, with 2839 downloads so far.

How do I install RAG Search?

Run "/install rag-search" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is RAG Search free?

Yes, RAG Search is completely free (open-source). You can download, install and use it at no cost.

Which platforms does RAG Search support?

RAG Search is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created RAG Search?

It is built and maintained by Loda666 (@loda666); the current version is v0.1.1.

💬 Comments