evidence-based-rag

Retrieve evidence from a knowledge base and detect conflicting claims.

278|52|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/xorbitsai/xagent --skill evidence-based-rag
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: evidence-based-rag
Source: https://github.com/xorbitsai/xagent/tree/main/src/xagent/skills/builtin/evidence-based-rag
Command: npx skills add https://github.com/xorbitsai/xagent --skill evidence-based-rag

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the need for verifiable, traceable, and auditable information retrieval in decision-critical scenarios, preventing the generation of unsubstantiated claims by strictly adhering to evidence from a specified knowledge base.

Core Features & Use Cases

  • Evidence-first Retrieval: Retrieves information and extracts verifiable evidence units from a knowledge base.
  • Conflict Detection: Identifies and surfaces conflicting claims within the retrieved information.
  • Traceability & Auditability: Ensures all conclusions are directly supported by source citations.
  • Use Case: For due diligence, this skill can analyze a set of legal documents, extract all clauses related to a specific entity's obligations, flag any contradictory statements across documents, and provide a confidence score for each finding, ensuring compliance and risk assessment are based on solid evidence.

Quick Start

Use the evidence-based-rag skill to find all evidence related to Entity A's contractual obligations within the provided documents.

Frequently Asked Questions about evidence-based-rag

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I ensure traceability and prevent unsubstantiated claims in legal compliance retrieval?

To ensure traceability in legal compliance retrieval, use evidence-first RAG to extract verifiable evidence units from a knowledge base. It enforces design invariants for non-assumption and entity binding, preventing the generation of unsubstantiated claims with direct source citations.

Can RAG detect conflicting claims across multiple legal documents during due diligence?

Yes, RAG can detect conflicting claims during due diligence by retrieving information from a knowledge base and identifying contradictory statements across documents. It surfaces these conflicts and provides explicit confidence and risk signals for each finding.

How does evidence-based retrieval evaluate answer sufficiency for decision-critical scenarios?

Evidence-based retrieval evaluates answer sufficiency by extracting verifiable evidence units, checking subject existence through hard gates, and applying entity binding. It outputs explicit confidence and risk signals to ensure conclusions are directly supported by source citations.

What is the best way to perform auditable information retrieval for risk assessment?

The best way to perform auditable information retrieval for risk assessment is using evidence-first RAG. It enforces traceability and non-assumption invariants, ensuring all conclusions are directly supported by source citations rather than generated assumptions.

Does this retrieval approach enforce data integrity checks for specific entities?

Yes, this retrieval approach enforces data integrity through hard gates for subject existence and entity binding. These design invariants ensure that extracted evidence strictly adheres to the specified knowledge base and correctly attributes obligations to the right entities.

When do I need conflict detection in compliance document analysis?

You need conflict detection in compliance document analysis when reviewing multiple legal agreements for a specific entity. It flags contradictory statements across documents, ensuring your risk assessment is based on solid, verified evidence rather than conflicting claims.