ai-rag-patterns SKILL.md skillA

ai-rag-patterns from muvon/octomind-tap is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add muvon/octomind-tap/ai-rag-patterns@git:20261013.a69e0bb

Pins git:20261013.a69e0bb in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
muvon/octomind-tap
Path
skills/ai-rag-patterns/SKILL.md
Versions recorded
2
Latest version
git:20261013.a69e0bb, committed Oct 13, 2026
First version recorded
May 21, 2026
Size
16,067 bytes
Repository stars
6
License
Apache-2.0

Operational playbook for designing and tuning production RAG (Retrieval-Augmented Generation) systems in 2026. Covers chunking strategies (fixed/recursive, semantic, late chunking, Anthropic Contextual Retrieval), retrieval (BM25, dense, hybrid with reciprocal rank fusion, ColBERT late-interaction), query rewriting (HyDE, multi-query, decomposition), reranking (Cohere Rerank 4, cross-encoders, BGE-Reranker), evaluation (RAGAS metrics, TruLens RAG Triad, DeepEval), the seven failure modes…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

## Overview

Production RAG in 2026 is no longer "embed, retrieve top-5, generate." Three measurable shifts changed the playbook: hybrid retrieval beating either BM25 or dense alone, reranking moving from optional to default, and Anthropic's Contextual Retrieval (September 2024) collapsing retrieval-failure rates dramatically. This skill encodes the patterns that actually move the metrics, with cited numbers and the failure modes they address.

Use this skill when designing a new RAG pipeline, diagnosing why an existing one underperforms, or evaluating retrieval quality before generation. Skip it for a small, stable corpus (under ~200K tokens) where putting everything in a cached prompt is the cheaper answer — see §6.

## Mental model
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add muvon/octomind-tap/ai-rag-patterns@sha256:a3936e4d57285f72

The line at the top of this page pins the label git:20261013.a69e0bb, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_mrq54tpf5tcmbyn4.svg)](https://markdownregistry.com/a/art_mrq54tpf5tcmbyn4)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between May 21, 2026 and Oct 13, 2026, about one every 145 days.

versioncommittedcommitsizeaudit
git:20261013.a69e0bb latest2026-10-13 a69e0bb 16,067 BA view · diff
git:20260521.845154d2026-05-21 845154d 15,144 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (16067 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

muvon/octomind-tap · 6 stars · license Apache-2.0 · pushed 2026-11-08 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_mrq54tpf5tcmbyn4
GET https://markdownregistry.com/api/v1/resolve?ref=muvon/octomind-tap/ai-rag-patterns
GET https://markdownregistry.com/api/v1/blob/a3936e4d57285f72c3292470b334eac18881a2c21cd5410d80f913a124cc9d58

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from muvon/octomind-tap

AGENTS.md AGENTS.md file
muvon/octomind-tap · AGENTS.md
git:20261024.3aa968c · audit A · 6 stars
AGENTS.md@scaffolds/tap/root AGENTS.md file
muvon/octomind-tap · scaffolds/tap/root/AGENTS.md
git:20261020.0b1da85 · audit A · 6 stars
ad-bing SKILL.md skill
muvon/octomind-tap · skills/ad-bing/SKILL.md · Specifies what to produce for a Microsoft Advertising (Bing) creative: Responsive Search Ads, Multimedia Ads (with…
git:20261013.a69e0bb · audit A · 6 stars
ad-frameworks SKILL.md skill
muvon/octomind-tap · skills/ad-frameworks/SKILL.md · Compact playbook of ad copy frameworks (AIDA, PAS, problem-agitation-solution, before-after-bridge, 4Us, FAB) and when…
git:20261031.c5bcf00 · audit A · 6 stars
ad-google SKILL.md skill
muvon/octomind-tap · skills/ad-google/SKILL.md · Specifies what to produce for a Google Ads creative: Search RSA, Performance Max, and Display, with the exact slots…
git:20261013.a69e0bb · audit A · 6 stars
ad-linkedin SKILL.md skill
muvon/octomind-tap · skills/ad-linkedin/SKILL.md · Specifies what to produce for a LinkedIn ad: Sponsored Content (single image, video, carousel, document), Message Ads…
git:20261013.a69e0bb · audit A · 6 stars
ad-meta SKILL.md skill
muvon/octomind-tap · skills/ad-meta/SKILL.md · Specifies what to produce for a Meta ad: Facebook Feed, Instagram Feed, Stories, Reels, and the CTA enum, with the…
git:20261013.a69e0bb · audit A · 6 stars
ad-reddit SKILL.md skill
muvon/octomind-tap · skills/ad-reddit/SKILL.md · Specifies what to produce for a Reddit ad: Promoted Posts (image, video, link, text), Free-form Ads (the rich-content…
git:20261013.a69e0bb · audit A · 6 stars
ad-tiktok SKILL.md skill
muvon/octomind-tap · skills/ad-tiktok/SKILL.md · Specifies what to produce for a TikTok ad: In-Feed Ads, Spark Ads, TopView, Branded Effect, and Branded Mission, with…
git:20261031.c5bcf00 · audit A · 6 stars
ad-x SKILL.md skill
muvon/octomind-tap · skills/ad-x/SKILL.md · Specifies what to produce for an X (Twitter) ad: Promoted Posts, Website Cards, App Cards, and Video Ads, with the…
git:20261013.a69e0bb · audit A · 6 stars
ad-youtube SKILL.md skill
muvon/octomind-tap · skills/ad-youtube/SKILL.md · Specifies what to produce for a YouTube ad: Skippable In-Stream (TrueView), Non-Skippable, Bumper, In-Feed (Discovery)…
git:20261013.a69e0bb · audit A · 6 stars
ai-agent-design SKILL.md skill
muvon/octomind-tap · skills/ai-agent-design/SKILL.md · Operational playbook for designing production LLM agents in 2026. Covers agent loop patterns (ReAct, Reflexion…
git:20261013.a69e0bb · audit A · 6 stars

Every file in muvon/octomind-tap

Other files named ai-rag-patterns

ai-rag-patterns SKILL.md skill
peterbamuhigire/chwezi-dev-engine · skills/ai/ai-rag-patterns/SKILL.md · Use when building features that answer questions from private data, documents, policies, or time-sensitive information…
git:20260929.65e3315 · audit A · 30 stars

Browse by kind, by grade A, or by owner.