Overview
- Skill Key
- hatim-be/ragie-rag
- Author
- hatim-be
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/hatim-be/ragie-rag
- Latest Commit SHA
- 2e37cedd694cad0beefc35eb6dac4e0eefea38e6
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Ragie Rag 技能。 若已安装,则直接安装 Ragie Rag 技能。
# Ragie.ai RAG Skill (OpenClaw Optimized)
This skill enables grounded question answering using Ragie.ai as a RAG backend.
Ragie handles:
- Document chunking
- Embedding
- Vector indexing
- Retrieval
- Optional reranking
The agent handles:
- Deciding when to ingest
- Triggering retrieval
- Constructing grounded prompts
- Producing final answers
---
# Core Principles
1. Never answer without retrieval.
2. Never hallucinate information not present in retrieved chunks.
3. Always cite the `document_name` when referencing specific facts.
4. If retrieval returns zero relevant chunks, explicitly say:
> "I don't have that information in the current knowledge base."
5. Do not expose API keys or raw API payloads in final answers.
---
# Deterministic Workflow
## Case A — User Provides a File or URL
IF the user provides:
- A file
- A document path
- A PDF/URL to ingest
THEN:
1. Execute ingestion:
```bash
python `skills/scripts/ingest.py` --file <path> --name "<document_name>"
```
OR
```bash
python `skills/scripts/ingest.py` --url "<url>" --name "<document_name>"
```
2. Capture returned `document_id`.
3. Poll document status:
```bash
python `skills/scripts/manage.py` status --id <document_id>
```
Repeat until status == `ready`.
4. Proceed to Retrieval (Case C).
---
## Case B — User Requests Document Management
### List documents
```bash
python `skills/scripts/manage.py` list
```
### Check document status
```bash
python `skills/scripts/manage.py` status --id <document_id>
```
### Delete a document
```bash
python `skills/scripts/manage.py` delete --id <document_id>
```
Return structured results to the user.
---
## Case C — Retrieval (Grounded Question Answering)
Execute:
```bash
python `skills/scripts/retrieve.py` \
--query "<user_question>" \
--top-k 6 \
--rerank
```
Optional flags:
- `--partition <name>`
- `--filter '{"key":"value"}'`
---
# Retrieval Output Format
Expected output:
```json
[
{
"text": ".....
youmind-openlab
AI skill for OpenClaw & Claude Code — recommend from 10000+ Nano Banana Pro (Gemini) image prompts. Smart search by use case, content remix, sample images.
23blocks-os
AI Agent Orchestrator with Skills System - Give AI Agents superpowers: memory search, code graph queries, agent-to-agent messaging. Manage Claude, Codex or any AI Agent from one dashboard. Move Agents between computers and locations
hashgraph-online
AI agent skills for the Universal Registry - search, chat, and register 72,000+ agents across 14+ protocols. Works with Claude, Codex, Cursor, OpenClaw, and any AI assistant.
rito-w
A cross-platform skills manager for AI IDEs. Search marketplace, download locally, and install to Claude, Cursor, Windsurf, and more with one click.
besoeasy
Battle-tested skill library for AI agents. Save 98% of API costs with ready-to-use code for crypto, PDFs, search, web scraping & more. No trial-and-error, no expensive APIs.
zeropointrepo
YouTube Transcript API skills for AI agents. Get transcripts, search videos, browse channels. Works with OpenClaw, ClawdBot, Claude Code, Cursor, Windsurf.