rag-learning-academy: Skill for Claude Code

.claude/skills/explain/SKILL.md

explain is a skill for Claude Code from TakaGoto/rag-learning-academy. It costs 14 tokens per session (1,281 once invoked), scanned A, original, MIT.

A learning guide for understanding retrieval-augmented generation, a way for an AI system to find relevant source information before answering a question.

In plain words
What is it for?
Use it to study a specific RAG concept in depth, or to get a simpler explanation when the topic is unfamiliar.
Why use it?
It provides deeper explanations when a quick glossary definition is not enough, helping learners understand how the parts of these systems work together.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is TakaGoto/rag-learning-academy's own configuration. It tells Claude Code how to work on rag-learning-academy itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything rag-learning-academy configures →

Reuse

Borrowing it

Nothing to install: this file belongs to TakaGoto/rag-learning-academy. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/TakaGoto/rag-learning-academy/main/.claude/skills/explain/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/TakaGoto/rag-learning-academy

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 explain

README.md
[![agentmods](https://agentmods.dev/badge/skills/takagoto/rag-learning-academy/explain.svg)](https://agentmods.dev/skills/takagoto/rag-learning-academy/explain)
Your own site
<a href="https://agentmods.dev/skills/takagoto/rag-learning-academy/explain"><img src="https://agentmods.dev/badge/skills/takagoto/rag-learning-academy/explain.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,281 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.00014 $0.01281
Opus 5 $0.00007 $0.00641
Sonnet 5 $0.00003 $0.00256
Haiku 4.5 $0.00001 $0.00128

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

Security

Grade A, and why

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

.claude/skills/explain/SKILL.md · 142 lines

How it starts

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

Explain: Deep-Dive into Any RAG Concept

Provide a thorough, multi-layered explanation of any RAG concept. Unlike /glossary (which gives quick definitions), /explain goes deep — this is for when the learner really wants to understand something.

Language awareness: See .claude/LANGUAGE_AWARENESS.md.

Step 1: Identify the Concept and Calibrate Depth

If the user specifies a concept (e.g., /explain cosine similarity), explain that. If they give a vague topic (e.g., "retrieval"), ask a clarifying question to narrow the scope. Good explanations are focused.

ELI5 Mode

If the learner says /explain eli5 [concept] or includes "eli5", "simple", "for dummies", or "no jargon":

  • Give the entire explanation using only everyday language and analogies
  • Zero technical terms. If you must use one, define it in parentheses immediately
  • Skip the code example and math. Use diagrams and real-world comparisons instead
  • Keep the whole explanation under 20 lines
  • End with: "Want the technical version? Just say 'go deeper.'"

Standard Mode

  • If the learner seems to want a quick answer (short question, or they say "briefly" / "quickly"), provide a 2-3 sentence TL;DR first, then ask "Want me to go deeper?" before proceeding through the full 9-step explanation.
  • If the learner wants depth, proceed normally through all steps.

Common concepts learners ask about:

  • How embeddings work
  • Vector similarity and distance metrics
  • Chunking strategies and trade-offs
  • How retrieval-augmented generation works end-to-end
  • Re-ranking and why it helps
  • Hybrid search (combining dense and sparse)
  • Prompt engineering for RAG
  • Evaluation metrics (RAGAS, faithfulness, etc.)
  • Hallucination and how to reduce it
  • Context window management
  • Fine-tuning vs. RAG

Step 2: The ELI5 Version

Start with the simplest possible explanation. Use an everyday analogy that anyone could understand. No jargon, no code, just the core idea.

Example for "vector embeddings": "Imagine every piece of text gets a home address in a huge city. Similar texts live in the same neighborhood. When you search, you are just looking for the nearest neighbors to your query's address."

Read the full file on GitHub · 142 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 · 142 lines · 14 tokens per session scan A 7359aa3bfb79

Subscribe to this mod's changes

explain is a skill published in the GitHub repository TakaGoto/rag-learning-academy (18 stars, last pushed 5mo ago), licensed MIT. It adds 14 tokens to every session and 1,281 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-08-30.

Related

Other skills, from other repositories

ml-system-design-interview

Coaches end-to-end ML system design interviews covering inference pipelines, recommendation systems, RAG, feature stores, and monitoring. Use for L6+ design rounds, ML architecture whiteboarding, system design practice, serving tradeoff analysis. Activate on "ML system design", "ML interview", "recommendation system…

curiositech/some_claude_skills · 100 tokens

local-rag-search

Efficiently perform web searches using the mcp-local-rag server with semantic similarity ranking. Use this skill when you need to search the web for current information, research topics across multiple sources, or gather context from the internet without using external APIs. This skill teaches effective use of…

nkapila6/mcp-local-rag · 80 tokens

02-ai-ml-learning

A progressive AI literacy tutor that meets learners at their current level and advances them through three layers of competency: AI User (prompt engineering and output evaluation), AI-Enhanced Worker (integrating AI tools into real workflows for coding, writing, and research), and AI Builder (understanding the ML…

gabrielmoreira/agent-skills-mirror · 0 tokens

learning-visualization-skill

Generate single-file HTML visual explanations for learning and review. Use this skill when the user wants concept maps, process diagrams, principle demos, comparison diagrams, timelines, AI/ML model visualizations, or animated teaching pages that make a topic easier to understand,复习, or present.

mingchen666/Reviva · 64 tokens

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

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