- Home
- Skills
- Agents & Orchestration
- RAG Hallucination Root-Cause Analyzer
Works with the AI tools you already use
RAG Hallucination Root-Cause Analyzer
Diagnose RAG hallucinations, retrieval failures, and citation errors with a structured root-cause audit.
$14.99
RAG Hallucination Root-Cause Analyzer
Example session with this skill installed
Analyze this RAG trace: User asked for 2024 pricing, but the answer cited 2022 docs despite the 2024 PDF being in the corpus. Here are the retrieval logs and my chunking config.
- Read your context and instructions
- Compiled the rag hallucination root-cause
Root Cause: Freshness & Metadata Filtering. The retriever found the 2024 doc, but the Reranker (Top-3) prioritized the 2022 doc due to higher keyword density. Remediation: Implement a recency-weighted reranking score and add a 'is_superseded' metadata flag to the indexing pipeline.
Connects securely to your tools. The creator never sees your data.
What you get
About this skill
The problem
RAG pipelines often produce fluent but factually incorrect or poorly cited answers, making them risky for production. Developers frequently struggle to pinpoint whether the failure lies in the chunking strategy, vector retrieval, reranking logic, or the prompt itself.
What it does
- Identifies the exact failure stage across the 21-point RAG lifecycle, from corpus quality to citation binding.
- Performs a design-level audit of chunking configurations, metadata schemas, and retrieval logs to find hidden bottlenecks.
- Diagnoses specific grounding issues like lost-in-the-middle context, stale index skew, and citation fabrication.
- Produces a 100-point grounding score and a severity-ranked remediation plan for engineering teams.
Frameworks & tools
Compatible with any RAG stack including Pinecone, Weaviate, Milvus, LangChain, LlamaIndex, and various embedding models.
Why this beats prompting it yourself
General LLMs often overlook subtle retrieval-stage failures like metadata over-filtering or embedding dimension mismatches. This skill enforces a structured 23-step diagnostic workflow that separates symptoms from root causes, ensuring no stage of the pipeline is ignored.
Use cases
- Pre-release safety audits to determine if a RAG workflow is ready for production.
- Debugging specific user reports of hallucinations or missing citations in search results.
- Optimizing chunk size and overlap configurations based on evidence-span requirements.
- Establishing an evaluation matrix for multi-hop questions or complex document sets.
Known limitations
This skill does not query live production systems, execute retrieval scripts, or modify vector indexes directly. It relies on provided logs, configurations, and document samples for analysis.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 1 month ago
- Passed all security checks, Safe to install