Authority verification

From CSlawyer1985/legal-skillhub · View interactive version

Authority verification is an AI agent skill from the GitHub repository CSlawyer1985/legal-skillhub. Verifies legal citations and retrieves source material using the case.dev Legal Research API and CLI. Use when validating a citation, confirming a case exists, pulling source text, finding related authorities, extracting citations from a brief or opinion, or building a filing-ready authority check w

How to use this skill

Skill file

Authority Verification with case.dev

Use case.dev legal research endpoints to verify citations, retrieve source text, and expand to related authorities. Keep the language generic: "verified citation," "candidate authority," "related authority," and "manual treatment review."

Quick Start

  1. Verify the citation text with legal.verify() before citing it.
  2. If verification is unclear, search by topic with legal.find() or legal.research().
  3. Pull the full document text with legal.fullText() once you have a verified source URL.
  4. Expand outward with legal.similar() to find related authorities.
  5. Format the result using references/OUTPUT-TEMPLATE.md.

Reference guide: references/CASEDEV-WORKFLOW.md

Runtime and setup: references/RUNTIME.md

Concrete scenarios: references/EXAMPLES.md

Lightweight eval set: references/EVALS.md

Examples:

Core Workflow

1. Verify the citation

Use legal.verify() with the citation text exactly as written.

2. Retrieve the source text

If verification succeeds, use the returned case URL with legal.fullText() to inspect the opinion and optionally highlight the issue you care about.

3. Expand the authority set

Use legal.similar() on the verified source URL to find related authorities.

Use legal.research() when you need broader issue-based research with multiple phrasings of the same question.

4. Audit a document

If you are checking a brief, opinion, or article URL, use legal.citationsFromUrl() to extract cited authorities, then verify important citations individually.

5. Record the result

Always record:

Guardrails

Output Standard

Format the final work product using references/OUTPUT-TEMPLATE.md.

Dependencies

Do not assume tools are installed. Check references/RUNTIME.md before running any script.

Pitfalls

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.