Retrieval-Augmented Generation

Retrieval-Augmented Generation is a skill for Claude Code, Codex from Raidriar7170/hermes-skilleval. It costs 17 tokens per session (56 once invoked), scanned A, original, MIT.

A question-answering approach that first retrieves relevant source material and then uses it to form an answer.

In plain words
What is it for?
Use it to retrieve benchmark documentation and include evidence from the retrieved sources in answers.
Why use it?
It helps keep generated answers tied to supporting context instead of relying only on the model’s general knowledge.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to retrieve benchmark documentation and include evidence from the retrieved sources in answers.

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

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 Retrieval-Augmented Generation

README.md
[![agentmods](https://agentmods.dev/badge/skills/raidriar7170/hermes-skilleval/rag/github.svg)](https://agentmods.dev/skills/raidriar7170/hermes-skilleval/rag)
Your own site
<a href="https://agentmods.dev/skills/raidriar7170/hermes-skilleval/rag"><img src="https://agentmods.dev/badge/skills/raidriar7170/hermes-skilleval/rag/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 Retrieval-Augmented Generation

Your own site · 80×15
<a href="https://agentmods.dev/skills/raidriar7170/hermes-skilleval/rag"><img src="https://agentmods.dev/badge/skills/raidriar7170/hermes-skilleval/rag.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 56 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.00017 $0.00056
Opus 5 $0.00009 $0.00028
Sonnet 5 $0.00003 $0.00011
Haiku 4.5 $0.00002 $0.00006

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

Security

Grade A, and why

Retrieval-Augmented Generation 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.

benchmarks/skills/retrieval/rag/SKILL.md · 13 lines

What it actually says

Retrieval-Augmented Generation

Answer questions using retrieved context with source-grounded reasoning.

Use Cases

  • Retrieve benchmark documentation.
  • Cite retrieved evidence in generated answers.
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 · 13 lines · 17 tokens per session scan A 5dd8575aa3d7

Subscribe to this mod's changes

Retrieval-Augmented Generation is a skill published in the GitHub repository Raidriar7170/hermes-skilleval (123 stars, last pushed 1mo ago), licensed MIT. It adds 17 tokens to every session and 56 once invoked, about $0.0001 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

rag-eval

NVIDIA RAG Blueprint evaluation guidance for measuring retrieval and answer quality with stable datasets, baselines, and reproducible scoring workflows.

PracticalSwan/agent-skills · 30 tokens

vector-db-init

Interactively initializes the Vector DB plugin. Guided discovery asks which folders to index, confirms the manifest, then scaffolds vectorprofiles.json for high-performance In-Process or Native Server connections. Mandatory first step before ingestion or search.

richfrem/agent-plugins-skills · 49 tokens

vector-db-launch

Start the Native Python ChromaDB background server. Use when semantic search returns connection refused on port 8110, or when the user wants to enable concurrent agent read/writes.

richfrem/agent-plugins-skills · 40 tokens

obsidian-graph-traversal

Semantic link traversal for Obsidian Vaults. Builds an in-memory graph index from wikilinks and provides instant forward-link, backlink, and multi-degree connection queries. Use when exploring note relationships or finding orphaned notes.

richfrem/agent-plugins-skills · 53 tokens

vector-db-cleanup

Removes stale and orphaned chunks from the ChromaDB vector store for files that have been deleted or renamed. Use after files are removed or moved to keep the vector index in sync with the filesystem. user: "Clean up the vector store after I deleted some files" assistant: "I'll use vector-db-cleanup to remove orphaned…

richfrem/agent-plugins-skills · 115 tokens

vector-db-ingest

Ingests repository files into the ChromaDB vector store. Builds or updates the vector index from a manifest or directory scan using ingest.py. Use when new files need to be indexed or the vector store is out of date. user: "Index these new plugin files into the vector database" assistant: "I'll use vector-db-ingest to…

richfrem/agent-plugins-skills · 122 tokens