forge-rag

Community

Stop hallucinations with verifiable RAG.

Authorf4rkh4d
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It prevents RAG systems from hallucinating and returning unverifiable answers by enforcing retrieval quality, chunking structure, citation discipline, and refusal behavior.

Core Features & Use Cases

  • Semantic chunking with hierarchy: Chunks by meaningful units and preserves document structure so the model can answer with the right context.
  • Hybrid retrieval with reranking: Combines BM25 and dense retrieval, then uses cross-encoder reranking to select the most relevant passages.
  • Citation and refusal guardrails: Requires inline citations to retrieved chunks and includes a low-confidence refusal path to avoid fabrication.
  • Freshness and evaluation-first iteration: Supports version-aware retrieval, scheduled indexing, and an eval set that covers both answerable and refusal cases.

Quick Start

Ask your AI to redesign your RAG pipeline to use semantic hierarchical chunking, hybrid BM25+dense retrieval with reranking, and a generation prompt that requires inline citations to verified retrieved chunks or returns a refusal when no good passages are found.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: forge-rag
Download link: https://github.com/f4rkh4d/forge-skill/archive/main.zip#forge-rag

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.