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.
mdr add muvon/octomind-tap/ai-rag-patterns@git:20261013.a69e0bbPins 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
mdr add muvon/octomind-tap/ai-rag-patterns@sha256:a3936e4d57285f72The 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.
[](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.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261013.a69e0bb latest | 2026-10-13 | a69e0bb | 16,067 B | A | view · diff |
| git:20260521.845154d | 2026-05-21 | 845154d | 15,144 B | A | view |
Audit of the latest version
- 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
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
Every file in muvon/octomind-tap