Borrowing it
Nothing to install: this file belongs to Aniket-a14/SRA. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Aniket-a14/SRA/main/.agents/skills/rag-agent-builder/SKILL.mdgit clone --depth 1 https://github.com/Aniket-a14/SRAWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/aniket-a14/sra/rag-agent-builder)<a href="https://agentmods.dev/skills/aniket-a14/sra/rag-agent-builder"><img src="https://agentmods.dev/badge/skills/aniket-a14/sra/rag-agent-builder/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/aniket-a14/sra/rag-agent-builder"><img src="https://agentmods.dev/badge/skills/aniket-a14/sra/rag-agent-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00061 | $0.02987 |
| Opus 5 | $0.00030 | $0.01494 |
| Sonnet 5 | $0.00012 | $0.00597 |
| Haiku 4.5 | $0.00006 | $0.00299 |
Grade A, and why
rag-agent-builder scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 441 lines — stays where its author put it; the contents beside it link to each section on GitHub.
RAG Agent Builder
Build powerful Retrieval-Augmented Generation (RAG) applications that enhance LLM capabilities with external knowledge sources, enabling accurate, contextualized AI responses.
Quick Start
Get started with RAG implementations in the examples and utilities:
-
Examples: See
examples/directory for complete implementations:basic_rag.py- Simple chunk-embed-retrieve-generate pipelineretrieval_strategies.py- Hybrid search, reranking, and filteringagentic_rag.py- Agent-controlled retrieval with iterative refinement
-
Utilities: See
scripts/directory for helper modules:embedding_management.py- Embedding generation, normalization, and cachingvector_db_manager.py- Vector database abstraction and factoryrag_evaluation.py- Retrieval and answer quality metrics
Overview
RAG systems combine three key components:
- Document Retrieval - Find relevant information from knowledge bases
- Context Integration - Pass retrieved context to the LLM
- Response Generation - Generate answers grounded in the retrieved information
This skill covers building production-ready RAG applications with various frameworks and approaches.
Core Concepts
What is RAG?
RAG augments LLM knowledge with external data:
- Without RAG: LLM relies on training data (may be outdated or limited)
- With RAG: LLM uses real-time, custom knowledge + training knowledge
When to Use RAG
- Document Q&A: Answer questions about PDFs, books, reports
- Knowledge Base Search: Query internal documentation, wikis
- Enterprise Search: Search proprietary company data
- Context-Specific Assistants: Customer support, HR assistants
- Fact-Heavy Applications: Legal docs, medical records, financial data
What ships with it
7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 441 lines · 61 tokens per session scan A 51538dccc9bb
rag-agent-builder is a skill published in the GitHub repository Aniket-a14/SRA (23 stars, last pushed 10d ago), licensed Apache-2.0. It adds 61 tokens to every session and 2,987 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
rag-knowledge
Work with the RAG knowledge base — ingest documents, run semantic search, manage collections, or add a sync source/connector (Google Drive, S3). Use when populating or debugging the knowledge base, tuning retrieval, or adding a new document source. This project uses {{ cookiecutter.vectorstore }} + {{…
postgres-semantic-search
PostgreSQL-based semantic and hybrid search with pgvector and ParadeDB. Use when implementing vector search, semantic search, hybrid search, or full-text search in PostgreSQL. Covers pgvector indexing, hybrid FTS/BM25 + RRF, ParadeDB, reranking, halfvec, multilingual search, query translation, and domain evals.…
chromadb
Operational skill for ChromaDB: collections, embeddings, metadata filters, persistence, and local RAG vector storage.
Cursor rules for Next
Cursor rules for Next.js development with Tailwind CSS and TypeScript integration.
ask-ai
Configure the Ask AI (RAG-powered AI chat) in @farming-labs/docs. Use when enabling AI chat, setting mode (search vs floating), floatingStyle (panel, modal, popover, full-modal), position, providers, models, suggestedQuestions, apiKey, systemPrompt, or maxResults. Covers Next.js, SvelteKit, Astro, Nuxt and env vars.
oma-db
Database specialist for SQL, NoSQL, and vector database modeling, schema design, normalization, indexing, transactions, integrity, concurrency control, backup, capacity planning, data standards, anti-pattern review, and compliance-aware database design. Use for database, schema, ERD, table design, document model…