building-rag-systems

building-rag-systems is a skill for Claude Code from mjunaidca/mjs-agent-skills. It costs 69 tokens per session (2,436 once invoked), scanned A, original, no licence file.

A guide to building retrieval-augmented generation (RAG) systems, which let an AI find relevant information in your documents before answering. It covers document splitting, indexing, vector search, and filtered retrieval with Qdrant.

In plain words
What is it for?
Use it to create document-ingestion pipelines, split text into searchable sections, detect changed files, search with filters, and add surrounding context to results.
Why use it?
It helps keep document search useful as files change, avoiding manually rebuilding the entire search index for every update.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to create document-ingestion pipelines, split text into searchable sections, detect changed files, search with filters, and add surrounding context to results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mjunaidca/mjs-agent-skills/building-rag-systems
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mjunaidca/mjs-agent-skills --skill building-rag-systems
Clone the repo
git clone --depth 1 https://github.com/mjunaidca/mjs-agent-skills

Made for: Claude Code.

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

agentmods badge for building-rag-systems

README.md
[![agentmods](https://agentmods.dev/badge/skills/mjunaidca/mjs-agent-skills/building-rag-systems/github.svg)](https://agentmods.dev/skills/mjunaidca/mjs-agent-skills/building-rag-systems)
Your own site
<a href="https://agentmods.dev/skills/mjunaidca/mjs-agent-skills/building-rag-systems"><img src="https://agentmods.dev/badge/skills/mjunaidca/mjs-agent-skills/building-rag-systems/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.

agentmods 80×15 button for building-rag-systems

Your own site · 80×15
<a href="https://agentmods.dev/skills/mjunaidca/mjs-agent-skills/building-rag-systems"><img src="https://agentmods.dev/badge/skills/mjunaidca/mjs-agent-skills/building-rag-systems.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,436 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00069 $0.02436
Opus 5 $0.00034 $0.01218
Sonnet 5 $0.00014 $0.00487
Haiku 4.5 $0.00007 $0.00244

Measured 9d ago against content hash 216f86698185, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

building-rag-systems 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/verify.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.claude/skills/building-rag-systems/SKILL.md · 354 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

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

Changes

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.

  1. 9d ago First seen · 354 lines · 69 tokens per session scan A 216f86698185

Subscribe to this mod's changes

building-rag-systems is a skill published in the GitHub repository mjunaidca/mjs-agent-skills (28 stars, last pushed 28d ago), with no licence file. It adds 69 tokens to every session and 2,436 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.

Related

Other skills, from other repositories

Azure Search Documents Py

Azure AI Search SDK for Python. Use for vector search, hybrid search, semantic ranking, indexing, and skillsets. Triggers: "azure-search-documents", "SearchClient", "SearchIndexClient", "vector search", "hybrid search", "semantic search".

mayurrathi/awesome-agent-skills · 59 tokens

Ai Engineer

Build production-ready LLM applications, advanced RAG systems, and intelligent agents. Implements vector search, multimodal AI, agent orchestration, and enterprise AI integrations. Use PROACTIVELY for LLM features, chatbots, AI agents, or AI-powered applications.

mayurrathi/awesome-agent-skills · 62 tokens

Azure Search Documents Dotnet

Azure AI Search SDK for .NET (Azure.Search.Documents). Use for building search applications with full-text, vector, semantic, and hybrid search. Covers SearchClient (queries, document CRUD), SearchIndexClient (index management), and SearchIndexerClient (indexers, skillsets). Triggers: "Azure Search .NET"…

mayurrathi/awesome-agent-skills · 101 tokens

Azure Search Documents Ts

Build search applications using Azure AI Search SDK for JavaScript (@azure/search-documents). Use when creating/managing indexes, implementing vector/hybrid search, semantic ranking, or building ag...

mayurrathi/awesome-agent-skills · 42 tokens

Ai Ml

AI and machine learning workflow covering LLM application development, RAG implementation, agent architecture, ML pipelines, and AI-powered features.

mayurrathi/awesome-agent-skills · 29 tokens

Ai Product

Every product will be AI-powered. The question is whether you'll build it right or ship a demo that falls apart in production. This skill covers LLM integration patterns, RAG architecture, prompt ...

mayurrathi/awesome-agent-skills · 43 tokens