RAG Implementer

RAG Implementer is a skill for Claude Code, Codex from daffy0208/ai-dev-standards. It costs 51 tokens per session (3,223 once invoked), scanned A, original, MIT.

A guide for building retrieval-augmented generation, or RAG, systems that let an AI model find relevant information in documents or other external data before answering.

In plain words
What is it for?
Use it to build document search and question-answering systems, choose embedding and vector-storage approaches, design retrieval pipelines, and evaluate results.
Why use it?
It helps ground AI answers in fresh, private, or specialist information instead of relying only on what the model learned during training.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to build document search and question-answering systems, choose embedding and vector-storage approaches, design retrieval pipelines, and evaluate results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/daffy0208/ai-dev-standards/rag-implementer
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 daffy0208/ai-dev-standards --skill rag-implementer
Clone the repo
git clone --depth 1 https://github.com/daffy0208/ai-dev-standards

Made for: Claude Code, Codex.

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 Implementer

README.md
[![agentmods](https://agentmods.dev/badge/skills/daffy0208/ai-dev-standards/rag-implementer/github.svg)](https://agentmods.dev/skills/daffy0208/ai-dev-standards/rag-implementer)
Your own site
<a href="https://agentmods.dev/skills/daffy0208/ai-dev-standards/rag-implementer"><img src="https://agentmods.dev/badge/skills/daffy0208/ai-dev-standards/rag-implementer/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 Implementer

Your own site · 80×15
<a href="https://agentmods.dev/skills/daffy0208/ai-dev-standards/rag-implementer"><img src="https://agentmods.dev/badge/skills/daffy0208/ai-dev-standards/rag-implementer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,223 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 original 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.00051 $0.03223
Opus 5 $0.00026 $0.01612
Sonnet 5 $0.00010 $0.00645
Haiku 4.5 $0.00005 $0.00322

Measured 8d ago against content hash 4c02cd242ced, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

RAG Implementer 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 8d 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.

skills/rag-implementer/SKILL.md · 462 lines

How it starts

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

RAG Implementer

Build production-ready retrieval-augmented generation systems.

Core Principle

RAG = Retrieval + Context Assembly + Generation

Use RAG when you need LLMs to access fresh, domain-specific, or proprietary knowledge that wasn't in their training data.


⚠️ Prerequisites & Cost Reality Check

STOP: Have You Validated the Need for RAG?

Before implementing RAG, confirm:

  • Problem validated - Completed product-strategist Phase 1 (problem discovery)
  • Users need AI search - Tested with simpler alternatives (see below)
  • ROI justified - Calculated cost vs benefit of RAG vs alternatives

Try These FIRST (Before RAG)

RAG is powerful but expensive. Try cheaper alternatives first:

1. FAQ Page / Documentation (1 day, $0)

  • Create well-organized FAQ or docs
  • Add search with Cmd+F
  • Works for: <50 common questions, static content
  • Test: Do users find answers? If yes, stop here.

2. Simple Keyword Search (2-3 days, $0-20/month)

  • Use Algolia, Typesense, or PostgreSQL full-text search
  • Good enough for 80% of use cases
  • Works for: <100k documents, keyword matching sufficient
  • Test: Do users get relevant results? If yes, stop here.

3. Manual Curation (Concierge MVP) (1 week, $0)

  • Manually answer user questions
  • Build FAQ from common questions
  • Works for: <100 users, validating if users want AI
  • Test: Do users value your answers enough to pay? If yes, consider RAG.

4. Simple Semantic Search (1 week, $30-50/month)

  • Use OpenAI embeddings + Postgres pgvector
  • Skip complex retrieval, re-ranking, etc.
  • Works for: <50k documents, basic semantic search
  • Test: Are embeddings better than keyword search? If no, stop here.

Cost Reality Check

Naive RAG (Prototype):

  • Time: 1-2 weeks
  • Cost: $50-150/month (vector DB + embeddings + API calls)
  • When: Prototype, <10k documents, proof of concept

Advanced RAG (Production):

  • Time: 3-4 weeks
  • Cost: $200-500/month (hybrid search, re-ranking, monitoring)
  • When: Production, 10k-1M documents, validated demand

Read the full file on GitHub · 462 lines

Files

What ships with it

2 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. 8d ago First seen · 462 lines · 51 tokens per session scan A 4c02cd242ced

Subscribe to this mod's changes

RAG Implementer is a skill published in the GitHub repository daffy0208/ai-dev-standards (36 stars, last pushed 8mo ago), licensed MIT. It adds 51 tokens to every session and 3,223 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-09-03.

Related

Other skills, from other repositories

embeddings

Vector embeddings with HNSW indexing, sql.js persistence, and hyperbolic support. 75x faster with agentic-flow integration. Use when: semantic search, pattern matching, similarity queries, knowledge retrieval. Skip when: exact text matching, simple lookups, no semantic understanding needed.

ruvnet/ruflo · 62 tokens

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

llm-app-patterns

Production-ready patterns for building LLM applications. Covers RAG pipelines, agent architectures, prompt IDEs, and LLMOps monitoring. Use when designing AI applications, implementing RAG, building agents, or setting up LLM observability.

davila7/claude-code-templates · 54 tokens

9router-embeddings

Generate vector embeddings via 9Router /v1/embeddings using OpenAI / Gemini / Mistral / Voyage / Nvidia / GitHub embedding models for RAG, semantic search, similarity. Use when the user wants embeddings, vectors, RAG, semantic search, or to embed text.

decolua/9router · 66 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"…

microsoft/skills · 102 tokens

browserwing-admin

Manage and operate BrowserWing — an intelligent browser automation platform. Install dependencies, configure LLM, create/manage/execute automation scripts, use AI-driven exploration to generate scripts, browse the script marketplace, and troubleshoot issues.

MemTensor/MemOS · 47 tokens