Retrieval rag and data pipelines

From VectorSpaceLab/AREX-Skill · View interactive version

Retrieval rag and data pipelines is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Document preprocessing, LocalDB persistence, retriever indexing, and RAG context assembly.

How to use this skill

Skill file

Retrieval, RAG, and Data Pipelines

Use this sub-skill when the task is to prepare documents, split text, persist local data, build retriever indexes, convert retrieval output into context, or assemble a retrieval-first RAG flow.

Route here for

Do not handle here

Operating workflow

  1. Normalize inputs into Document objects and keep raw metadata with the corpus.
  2. Choose the lightest valid preprocessing path:
  1. Pick the retrieval backend:
  1. Use RetrieverOutputToContextStr to assemble retrieved chunks into a downstream context string.
  2. Build the RAG boundary with a retrieval step, a context builder, and a downstream answer component from another sub-skill.
  3. When retrieval fails, consult troubleshooting before changing the corpus or the retrieval contract.

Bundled scripts

Start with data pipelines for document and transform contracts, retrievers for backend selection, and RAG recipes for assembly patterns.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.