搜索

PythonReactSEOPDF
OpenClaw

Afrexai Rag Engineering

RAG Engineering — Complete Retrieval Augmented Generation System

1kalin0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install 1kalin/afrexai-rag-engineering

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

RAG Engineering — Complete Retrieval-Augmented Generation System

Build production RAG systems that actually work. From chunking strategy to evaluation — the complete methodology.

You are an expert RAG engineer. When the user needs to build, optimize, or debug a RAG system, follow this complete methodology.


Phase 1: RAG Architecture Assessment

Quick Health Check (Existing Systems)
Signal Healthy Warning Critical
Answer relevance >85% users satisfied 60-85% <60%
Retrieval precision@5 >70% relevant chunks 40-70% <40%
Hallucination rate <5% 5-15% >15%
Latency (P95) <3s 3-8s >8s
Context utilization >60% of retrieved used 30-60% <30%
Cost per query <$0.05 $0.05-0.20 >$0.20
RAG Project Brief
rag_brief:
  project: "[name]"
  date: "YYYY-MM-DD"

  # What problem are we solving?
  use_case: "[customer support / code search / document Q&A / research / legal / medical]"
  user_persona: "[who asks questions]"
  query_types:
    - factual: "[percentage] — direct fact lookup"
    - analytical: "[percentage] — synthesis across documents"
    - procedural: "[percentage] — how-to, step-by-step"
    - comparative: "[percentage] — compare X vs Y"
    - conversational: "[percentage] — multi-turn follow-ups"

  # What data do we have?
  corpus:
    total_documents: "[count]"
    total_size: "[GB/TB]"
    document_types:
      - type: "[PDF/HTML/markdown/code/JSON/CSV]"
        count: "[count]"
        avg_length: "[pages/tokens]"
    update_frequency: "[static / daily / real-time]"
    languages: ["en", "..."]
    quality: "[curated / mixed / noisy]"

  # Requirements
  accuracy_target: "[% — start with 85%]"
  latency_target: "[ms P95]"
    max_cost_per_query: "[$]"
  scale: "[queries/day]"
  multi_turn: "[yes/no]"
  citations_required: "[yes/no]"

  # Constraints
  deployment: "[cloud / on-prem / hybrid]"
  data_sensitivity: "[public / inter...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/1kalin/afrexai-rag-engineering
Version
—
Commit
c41f0d99432d5118e1fb4c34f37fc298658fff7e
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

RAG Engineering — Complete Retrieval-Augmented Generation System

Build production RAG systems that actually work. From chunking strategy to evaluation — the complete methodology.

What This Skill Does

Turns your AI agent into a RAG engineering expert. Covers the entire pipeline:

  • Architecture design — Pattern selection, decision trees, project brief templates
  • Data ingestion — Extraction, cleaning, metadata enrichment for every document type
  • Chunking strategy — The #1 cause of bad RAG, solved with decision frameworks
  • Embedding selection — Model comparison, benchmarking, cost optimization
  • Vector store setup — Database selection, indexing strategy, hybrid search
  • Retrieval optimization — Multi-query, HyDE, reranking, context assembly
  • Generation & prompting — Grounding, citations, hallucination prevention
  • Evaluation framework — Golden test sets, LLM-as-judge prompts, automated CI
  • Production deployment — Security, caching, scaling, monitoring
  • Advanced patterns — Agentic RAG, Graph RAG, CRAG, Self-RAG, multimodal

Install

clawhub install afrexai-rag-engineering

Quick Start

Tell your agent:

  • "Design a RAG system for customer support documentation"
  • "My RAG results are bad — help me diagnose"
  • "Which embedding model should I use for code search?"
  • "Help me set up RAG evaluation"

What Makes This Different

  • 37KB of pure methodology — no API wrappers, no dependencies
  • Decision frameworks for every choice (chunking, embeddings, vector DB, reranking)
  • Production-tested patterns with specific thresholds and benchmarks
  • Complete evaluation system with LLM-as-judge prompts and golden test set design
  • Diagnostic decision tree for when things go wrong
  • Cost modeling at every scale tier
  • 100-point quality scoring rubric

⚡ Level Up

Want industry-specific AI agent context? Our $47 context packs include complete agent configurations for your vertical:...

来源内容

SKILL.md
# RAG Engineering — Complete Retrieval-Augmented Generation System

> Build production RAG systems that actually work. From chunking strategy to evaluation — the complete methodology.

You are an expert RAG engineer. When the user needs to build, optimize, or debug a RAG system, follow this complete methodology.

---

## Phase 1: RAG Architecture Assessment

### Quick Health Check (Existing Systems)

| Signal | Healthy | Warning | Critical |
|--------|---------|---------|----------|
| Answer relevance | >85% users satisfied | 60-85% | <60% |
| Retrieval precision@5 | >70% relevant chunks | 40-70% | <40% |
| Hallucination rate | <5% | 5-15% | >15% |
| Latency (P95) | <3s | 3-8s | >8s |
| Context utilization | >60% of retrieved used | 30-60% | <30% |
| Cost per query | <$0.05 | $0.05-0.20 | >$0.20 |

### RAG Project Brief

```yaml
rag_brief:
  project: "[name]"
  date: "YYYY-MM-DD"

  # What problem are we solving?
  use_case: "[customer support / code search / document Q&A / research / legal / medical]"
  user_persona: "[who asks questions]"
  query_types:
    - factual: "[percentage] — direct fact lookup"
    - analytical: "[percentage] — synthesis across documents"
    - procedural: "[percentage] — how-to, step-by-step"
    - comparative: "[percentage] — compare X vs Y"
    - conversational: "[percentage] — multi-turn follow-ups"

  # What data do we have?
  corpus:
    total_documents: "[count]"
    total_size: "[GB/TB]"
    document_types:
      - type: "[PDF/HTML/markdown/code/JSON/CSV]"
        count: "[count]"
        avg_length: "[pages/tokens]"
    update_frequency: "[static / daily / real-time]"
    languages: ["en", "..."]
    quality: "[curated / mixed / noisy]"

  # Requirements
  accuracy_target: "[% — start with 85%]"
  latency_target: "[ms P95]"
    max_cost_per_query: "[$]"
  scale: "[queries/day]"
  multi_turn: "[yes/no]"
  citations_required: "[yes/no]"

  # Constraints
  deployment: "[cloud / on-prem / hybrid]"
  data_sensitivity: "[public / inter...
README
# RAG Engineering — Complete Retrieval-Augmented Generation System

> Build production RAG systems that actually work. From chunking strategy to evaluation — the complete methodology.

## What This Skill Does

Turns your AI agent into a RAG engineering expert. Covers the entire pipeline:

- **Architecture design** — Pattern selection, decision trees, project brief templates
- **Data ingestion** — Extraction, cleaning, metadata enrichment for every document type
- **Chunking strategy** — The #1 cause of bad RAG, solved with decision frameworks
- **Embedding selection** — Model comparison, benchmarking, cost optimization
- **Vector store setup** — Database selection, indexing strategy, hybrid search
- **Retrieval optimization** — Multi-query, HyDE, reranking, context assembly
- **Generation & prompting** — Grounding, citations, hallucination prevention
- **Evaluation framework** — Golden test sets, LLM-as-judge prompts, automated CI
- **Production deployment** — Security, caching, scaling, monitoring
- **Advanced patterns** — Agentic RAG, Graph RAG, CRAG, Self-RAG, multimodal

## Install

```bash
clawhub install afrexai-rag-engineering
```

## Quick Start

Tell your agent:
- "Design a RAG system for customer support documentation"
- "My RAG results are bad — help me diagnose"
- "Which embedding model should I use for code search?"
- "Help me set up RAG evaluation"

## What Makes This Different

- **37KB of pure methodology** — no API wrappers, no dependencies
- **Decision frameworks** for every choice (chunking, embeddings, vector DB, reranking)
- **Production-tested patterns** with specific thresholds and benchmarks
- **Complete evaluation system** with LLM-as-judge prompts and golden test set design
- **Diagnostic decision tree** for when things go wrong
- **Cost modeling** at every scale tier
- **100-point quality scoring rubric**

## ⚡ Level Up

Want industry-specific AI agent context? Our $47 context packs include complete agent configurations for your vertical:...

相关技能

OpenClaw

ai-maestro

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 c...

OpenClaw

registry-broker-skills

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.

OpenClaw

skills-manager

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.