citation-verification

Anchor every legal quotation to verified document text and case-law tool results.

72|19|Updated Jun 6, 2026
One-click install
npx skills add https://github.com/sure-scale/doc-haus --skill citation-verification-sure-scale
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: citation-verification
Source: https://github.com/sure-scale/doc-haus/tree/main/dochaus/skill/citation-verification
Command: npx skills add https://github.com/sure-scale/doc-haus --skill citation-verification-sure-scale

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Legal answers built on misquoted clauses or hallucinated case citations expose lawyers to serious risk. This Skill enforces a strict grounding discipline so that every claim about a matter document is backed by a verbatim, tool-verified quote and every case citation comes from a live lookup rather than memory. ## Core Features & Use Cases - Quote Anchoring: Every passage quoted from a matter document must be passed through the cite tool with the exact document path, verbatim quote (10-600 characters), supporting reason, and an honest confidence score. - Three-Step Verification Ladder: Citations are re-checked against the live file as exact, re-anchored (span repaired after document edits), or rejected (dropped), with instructions to recommend re-ingestion when the index is stale. - Failed-Verification Handling: When a quote fails verification, the only acceptable retry is text freshly copied from read-document or search-document results — never paraphrased from memory. - Case-Law Sourcing: Case names, reporter citations, and holdings come only from the case-law tool or CourtListener, with U.S.-only corpus limits flagged on non-U.S. matters. - Use Case: While drafting a memo on liability exposure, quote the limitation-of-liability clause verbatim, anchor it with the cite tool, and pull supporting precedent exclusively from the case-law tool so the supervising lawyer can verify every source. ## Quick Start Ask the agent to answer a question about a matter document, such as what the cap on liability is, and require that the answer cite the exact clause with a verified quotation.

Frequently Asked Questions about citation-verification

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

FAQPage Schema
How do I cite a clause from a contract in an AI legal answer?

Copy the passage verbatim from read-document or search-document results and pass it to the cite tool with the exact document path, document name, quote, reason, and a confidence score of 1-5. The quote must be 10-600 characters and match the document text exactly.

How do I verify case citations in a legal memo?

Source case names, reporter citations, holdings, and quotations only from the case-law tool or a connected CourtListener source, never from memory. Cite only cases the tool returned, using the citation and URL it provided.

What happens when a quote fails citation verification?

A failed verification means the text is not in the live document. Go back to read-document or search-document, copy the passage verbatim, and retry the cite call. Never paraphrase or rework the failed quote from memory.

Does the case-law tool cover non-U.S. jurisdictions?

No, the corpus contains U.S. opinions only. On non-U.S. matters, results must be flagged as U.S. precedent rather than binding authority, and jurisdiction-specific questions should be routed to the supervising lawyer.

Why are some citations marked re-anchored or rejected?

Citations are re-checked against the live file: exact means the span still matches, re-anchored means the document was edited and the span was repaired, and rejected means the excerpt no longer exists. Rejected passages must never be quoted, and re-ingestion of the document should be recommended.