← Back to Skills Marketplace
RAG System Builder
by
alexfeng75
· GitHub ↗
· v1.0.0
642
Downloads
0
Stars
3
Active Installs
1
Versions
Install in OpenClaw
/install rag-system-builder
Description
Build and deploy local RAG (Retrieval-Augmented Generation) systems with offline document processing, embedding models, and vector storage.
Usage Guidance
This skill provides useful, coherent templates for building a local RAG system, but pay attention to the following before installing or running anything:
- Offline claim vs. reality: Despite claiming 'works completely offline', the Quick Start and code instruct you to download models with huggingface_hub.snapshot_download and allow SentenceTransformer to load models by name (which will fetch from Hugging Face). Expect at least one network download to obtain model files unless you already have the model locally.
- Network and disk usage: Model files are large (hundreds of MBs to GBs). Make sure you have enough disk space and bandwidth and that you trust the model source (the instructions point to Hugging Face's sentence-transformers official repo, which is standard).
- Review code before running: The skill is instruction-only; it provides templates that will create and run Python code and a Flask web endpoint. Inspect the generated files (rag.py, web_interface.py, ingestion scripts) before running, especially if you plan to host the web UI on a machine accessible to others, since it will expose your ingested document contents over HTTP.
- Run in an isolated environment: Use a virtualenv or container to avoid polluting your system Python environment. If you want to limit risk, run ingestion and model downloads on an isolated VM or sandbox.
- No secret exfiltration detected: There are no required credentials or obfuscated endpoints in the provided files, and the regex scanner found no issues. However, because the skill instructs network downloads and runs code templates created at runtime, always validate the exact commands and code you execute.
If you want a truly offline workflow, ensure you manually download and place the model files into the indicated local_model_path and avoid running the snapshot_download or online fallback steps.
Capability Analysis
Type: OpenClaw Skill
Name: rag-system-builder
Version: 1.0.0
The skill provides a template for building a local RAG system but contains a shell injection vulnerability in USAGE.md, where os.system() is used with f-strings to process document folders. Additionally, the provided Flask web interface example in USAGE.md enables debug=True, which is a security risk that can lead to remote code execution (RCE) via the interactive debugger. While these appear to be unintentional coding flaws in a tutorial context rather than intentional malware, they represent significant security vulnerabilities.
Capability Assessment
Purpose & Capability
The stated purpose (local/offline RAG with FAISS and sentence-transformers) matches the provided templates and instructions. However, the README/SKILL.md repeatedly claim 'works completely offline' while the Quick Start and code show explicit calls to huggingface_hub.snapshot_download and SentenceTransformer(model_name) fallback behavior that will fetch model artifacts over the network. This is a noteworthy contradiction of the advertised 'offline' promise.
Instruction Scope
Instructions stay within the domain of building a RAG system (file ingestion, embedding generation, FAISS index, optional Flask web UI). They do instruct running pip installs, using huggingface_hub to download models, and provide examples that use os.system to run ingest commands. The web interface example exposes a local HTTP endpoint which will serve queries and therefore can expose ingested document content if hosted — expected for a web UI but worth noting. No instructions ask for unrelated system files or credentials.
Install Mechanism
This is an instruction-only skill with no install spec or bundled code to write to disk. It tells users to pip install common Python packages (sentence-transformers, faiss-cpu, click, flask) and to download models from Hugging Face. Those are standard, traceable operations; there are no obscure download URLs or archive extraction instructions from untrusted hosts.
Credentials
The skill requests no environment variables or credentials. The only external interaction is for model download from Hugging Face; no API keys are declared or required. This is proportionate to the task of obtaining large model artifacts, though network access contradicts the 'offline' claim.
Persistence & Privilege
The skill does not request always:true, does not modify agent configuration, and is user-invocable only. It does create local files and model/index directories as part of normal operation, which is appropriate for a local RAG system.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install rag-system-builder - After installation, invoke the skill by name or use
/rag-system-builder - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: Complete guide for building local RAG systems with offline document processing
Metadata
Frequently Asked Questions
What is RAG System Builder?
Build and deploy local RAG (Retrieval-Augmented Generation) systems with offline document processing, embedding models, and vector storage. It is an AI Agent Skill for Claude Code / OpenClaw, with 642 downloads so far.
How do I install RAG System Builder?
Run "/install rag-system-builder" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is RAG System Builder free?
Yes, RAG System Builder is completely free (open-source). You can download, install and use it at no cost.
Which platforms does RAG System Builder support?
RAG System Builder is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created RAG System Builder?
It is built and maintained by alexfeng75 (@alexfeng75); the current version is v1.0.0.
More Skills