rag-system-design

rag-system-design is a skill for Claude Code from komunite/kalfa. It costs 15 tokens per session (1,396 once invoked), scanned A, a copy of agent-evaluation, MIT.

A design guide for a retrieval-augmented generation system, which lets an AI find relevant information from a document collection before answering. It covers the system’s goals, context, constraints, and supporting project documents.

In plain words
What is it for?
Use it to plan how an AI application should retrieve information and use it when generating answers.
Why use it?
It helps turn a broad AI search-and-answer idea into a documented system design with identified requirements and review steps.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to plan how an AI application should retrieve information and use it when generating answers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/komunite/kalfa/rag-system-design
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 komunite/kalfa --skill rag-system-design
Clone the repo
git clone --depth 1 https://github.com/komunite/kalfa

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 rag-system-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/komunite/kalfa/rag-system-design/github.svg)](https://agentmods.dev/skills/komunite/kalfa/rag-system-design)
Your own site
<a href="https://agentmods.dev/skills/komunite/kalfa/rag-system-design"><img src="https://agentmods.dev/badge/skills/komunite/kalfa/rag-system-design/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 rag-system-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/komunite/kalfa/rag-system-design"><img src="https://agentmods.dev/badge/skills/komunite/kalfa/rag-system-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,396 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 78% copy Near-identical to another mod 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.00015 $0.01396
Opus 5 $0.00008 $0.00698
Sonnet 5 $0.00003 $0.00279
Haiku 4.5 $0.00002 $0.00140

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

Security

Grade A, and why

rag-system-design 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 7d 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.

Origin

This is a copy

78% identical to agent-evaluation — 54 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/ai-automation/rag-system-design/SKILL.md · 133 lines

How it starts

The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Rag System Design

Amaç

Eyleme dönüştürülebilir, ölçülebilir sonuçlar sunan kapsamlı bir rag system design oluşturun. Bu beceri, her seferinde profesyonel düzeyde çıktı sağlayan, kalite doğrulamalı yapılandırılmış bir süreç sunar.

Kategori: Yapay Zeka ve Otomasyon

Girdiler

Zorunlu

  • Hedef: Bu çıktı ile neyi başarmak istiyorsunuz
  • Bağlam: İlgili arka plan bilgileri

İsteğe Bağlı

  • Kısıtlamalar: Dikkate alınması gereken sınırlamalar veya gereksinimler
  • Mevcut Çalışma: Üzerine inşa edilecek önceki belgeler veya veriler

Sistem Bağlamı

Başlamadan önce:

  • Mevcut proje bağlamı ve öncelikleri için memory.md'yi oku
  • İlgili öğrenilmiş kurallar veya kısıtlamalar için knowledge-base.md'yi kontrol et
  • Projedeki mevcut ilgili belgeleri gözden geçir
  • Bu çıktı ile ilgili .claude/workspace/TaskBoard.md'deki aktif görevleri not et

Süreç

Adım 1: Bağlam ve Araştırma

  • Projedeki mevcut rag system design belgelerini gözden geçir
  • İlgili öğrenilmiş kurallar veya kısıtlamalar için knowledge-base.md'yi kontrol et
  • Mevcut proje bağlamı ve öncelikleri için memory.md'yi kontrol et
  • Kilit paydaşları ve gereksinimlerini belirle
  • En uygun çerçeveyi seç: AI Readiness Assessment, Automation ROI Calculator, Human-in-the-Loop Design

Adım 2: Analiz ve Çerçeve Uygulaması

  • rag system design yapılandırmak için seçilen çerçeveyi uygula
  • Boşlukları, fırsatları ve riskleri belirle
  • Başarı metriklerini tanımla: Time Saved Per Task, Automation Rate, Error Reduction %, Cost Per AI Operation
  • Varsayımları ve bağımlılıkları belgele
  • Yaklaşımı sektör en iyi uygulamalarına göre doğrula

Adım 3: Çıktıyı Oluştur

  • rag system design aşağıdaki çıktı formatını kullanarak yapılandır
  • Genel tavsiyeler değil, spesifik ve eyleme dönüştürülebilir öneriler ekle
  • Uygulanabilir yerlerde somut rakamlar, zaman çizelgeleri ve kıyaslamalar ekle
  • Tutarlılık için mevcut proje belgeleriyle çapraz referans yap
  • Her bölümün değer kattığından emin ol — dolgu içeriği çıkar

Read the full file on GitHub · 133 lines

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. 7d ago First seen · 133 lines · 15 tokens per session scan A b7ca55031d48

Subscribe to this mod's changes

rag-system-design is a skill published in the GitHub repository komunite/kalfa (244 stars, last pushed 4mo ago), licensed MIT. It adds 15 tokens to every session and 1,396 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 78% identical to agent-evaluation, differing in 54 lines, and is treated as a copy.

Related

Other skills, from other repositories

agent-platform-rag-engine-management

Manage and query Agent Platform RAG Engine Corpora and retrieve grounded contexts using the Google GenAI SDK. Use when listing RAG corpora or files, inspecting a corpus, retrieving contexts, or generating content grounded in a RAG corpus. Do not use for standard database queries (use SQL/Spanner skills), Google…

google/skills · 85 tokens

graphify

Use for any question about a codebase, its architecture, file relationships, or project content — especially when graphify-out/ exists, where the question should be treated as a graphify query first. Turns any input (code, docs, papers, images, videos) into a persistent knowledge graph with god nodes, community…

Graphify-Labs/graphify · 76 tokens

google-cloud-solution-rag-enterprise-search-gke-sqldb

Discovers requirements, and generates architectural, design, and deployment guidance for a retrieval-augmented generation (RAG)-capable enterprise search system in Google Cloud. Use when users need a vector-enabled SQL database as the store and index for the embedding vectors, an open model and open-source inferencing…

google/skills · 114 tokens

gpt-image-2

A skill for generating or editing images with GPT Image 2 across local, host-provided, or advisory setups.

ConardLi/garden-skills · 177 tokens

kb-retriever

A retrieval and question-answering assistant for a local folder of documents, including Markdown, text, PDFs, and spreadsheets.

ConardLi/garden-skills · 105 tokens

microsoft-extensions-ai

Build provider-agnostic .NET AI integrations with Microsoft.Extensions.AI, IChatClient, embeddings, middleware, structured output, vector search, and evaluation. USE FOR: building or reviewing .NET code that uses Microsoft.Extensions.AI, Microsoft.Extensions.AI.Abstractions, IChatClient, IEmbeddingGenerator…

managedcode/dotnet-skills · 128 tokens