More screenshots

    Works with the AI Agents you already use

    citewarden

    by Umer Farooq

    1

    Verify legal case citations against the CourtListener record to catch hallucinations and party name mismatches.

    Free

    Security scanned
    citewarden

    citewarden

    Example session with this skill installed

    Please cite-check this excerpt: The court in Smith v. Jones, 412 F.3d 110 (2d Cir. 2005) held that summary judgment was improper. Id. at 112. See also 26 U.S.C. § 7201.

    • Read your context and instructions
    • Compiled the citewarden
    • Generated the document

    I have processed the text through the CiteWarden verification script. I wrote the content to a temporary file and performed a lookup against the CourtListener record database.

    Citation Verification Report

    WARNING: Name Mismatch Detected
    The citation 412 F.3d 110 points to a real entry in the Federal Reporter, but the record indicates the case name is

    United States v. Mesirow (6th Cir. 2005), not

    Smith v. Jones. This is a high-confidence signal of a hallucinated or incorrect citation.

    Verified Full Citations

    CitationStatusVerified Case NameCourt / Year
    412 F.3d 110MATCH (Name Mismatch)United States v. Mesirow6th Cir. 2005

    Other References (Not Verified)

    • Short Form / Id. Cites: Id. at 112 (Linked to 412 F.3d 110). These were not independently checked.
    • Non-Case Citations: 26 U.S.C. § 7201. This tool does not verify statutes.

    Important Disclaimers

    1. Not a Citator: A match confirms the case exists in the record. It does not confirm the case is still "good law" or hasn't been overruled or vacated.
    2. Content Accuracy: This tool confirms the citation exists, not that it supports the specific legal proposition or quote attributed to it.
    3. Verification Limits: "Unmatched" results may include fabricated cases, but also valid cases not yet indexed, such as very recent or unpublished state court decisions.

    Next steps

    • Review the record for United States v. Mesirow to see if the holding was intended.
    • Manually verify the statutory reference to 26 U.S.C. § 7201.
    • Check if the 2005 6th Circuit holding is still valid in your jurisdiction.

    citewarden.pdf

    PDF · document

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    LLM-drafted legal documents often include fabricated or mismatched case citations, leading to severe professional and judicial consequences. CiteWarden mitigates this risk by verifying citations against the real court record rather than relying on model memory. It identifies hallucinated cases that reuse real reporter volumes and pages but substitute incorrect party names.

    What it does

    • Citation Extraction automatically parses legal text to identify full case citations, short forms, and statutes.
    • Record Verification checks full volume and page citations against the CourtListener/Free Law Project database.
    • Name Cross-Checking detects instances where a citation refers to a real case but the provided party names do not match the official record.
    • Categorized Reporting separates verifiable full citations from short-form references (Id., supra) and non-case citations like statutes.
    • Risk Signaling flags unmatched citations for manual review without making definitive claims of fabrication.

    How it works

    1. Source Ingestion where the user pastes a brief or memo into the agent environment.
    2. Secure Writing of the untrusted text to a local temporary file to prevent shell injection or command breakage.
    3. Execution of the verification script using a Free Law Project API token to query the official record.
    4. Data Analysis of the resulting JSON to match party names and verify citation existence.
    5. Report Delivery including a verification table, mismatch alerts, and mandatory legal disclaimers.

    Frameworks & tools

    The skill requires python3 with the eyecite and requests libraries. It interfaces with the CourtListener API and uses local file handling to process legal documents securely.

    Why this beats prompting it yourself

    Standard LLMs frequently hallucinate convincing but non-existent case law because they predict tokens rather than querying databases. CiteWarden forces an external truth check against a primary source, catching "phantom" citations that look correct but point to the wrong case or no case at all.

    Use cases

    • Verify AI-generated drafts before filing them with a court.
    • Cite-check opposing counsel's briefs for fabricated authority.
    • Audit internal memos for accuracy in citation formatting and naming.
    • Rapidly identify non-indexed or unpublished cases requiring manual lookup.

    Known limitations

    This tool does not verify statutes, regulations, or local rules. It cannot determine if a case is still "good law" (it does not Shepardize) or if a specific quote within the case is accurate.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 15 days ago

    • Free with an Agensi account

    Accounts
    Courtlistener
    Software
    Python

    Permissions

    Terminal / Shell
    Network Access
    Write Files
    Environment Variables

    Allowed Hosts

    www.courtlistener.com
    Listed15 days ago

    What's inside

    Frequently Asked Questions

    CiteWarden performs a live cross-reference of your document's citations against the CourtListener database to ensure party names match the official record, catching "hallucinations" that standard LLMs often generate.

    The skill focuses on identifying whether a cited case exists and if the party names are correct; it does not perform "Shepardizing" to determine if a case has been overturned or is still good law.

    This skill is designed for AI agents that support Python environments and requires a Free Law Project API token to access the official CourtListener record.

    You will receive the CiteWarden agent skill package, installation instructions for the required Python libraries (eyecite and requests), and a guide for configuring your CourtListener API integration.

    CiteWarden is optimized for full case citations (volume and page); while it identifies short-form references like "Id." and "supra" for your review, it cannot verify them against the database without a full citation context.

    To protect sensitive legal data, the skill writes text to a local temporary file for processing rather than passing raw text through potentially insecure shell commands.

    New in Legal & Compliance

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Legal & Compliance.

    Free