Skip to content
Back to skills

Authority Verification

ASecurity

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 without branded citator terminology.

  • 41 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 12, 2026
researchtypescriptpythongorailsapidatabase

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 9 files and shows the line behind each finding

Scanned September 12, 2026

npx -y skills add CaseMark/skills --skill authority-verification --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Authority Verification?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Authority Verification
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/casemark-authority-verification/badge)](https://www.skillsdirectory.com/skills/casemark-authority-verification)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: authority-verification
language: en
description: >-
  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
  without branded citator terminology.
---

# 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](references/OUTPUT-TEMPLATE.md).

Reference guide: [references/CASEDEV-WORKFLOW.md](references/CASEDEV-WORKFLOW.md)

Runtime and setup: [references/RUNTIME.md](references/RUNTIME.md)

Concrete scenarios: [references/EXAMPLES.md](references/EXAMPLES.md)

Lightweight eval set: [references/EVALS.md](references/EVALS.md)

Examples:

- Python: [scripts/verify_authority.py](scripts/verify_authority.py)
- TypeScript: [scripts/verify_authority.ts](scripts/verify_authority.ts)
- CLI: [scripts/verify_authority.sh](scripts/verify_authority.sh)

## Core Workflow

### 1. Verify the citation

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

- `verified` means the citation matched a real source in the database.
- `not_found` means likely typo, hallucination, or unsupported citation.
- `multiple_matches` means manual review is required before citation.

### 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:

- the exact citation checked
- verification status
- authoritative URL
- jurisdiction used for search
- date checked
- any manual review needed before filing

## Guardrails

- Do not say a case was "Shepardized," "KeyCited," or given a proprietary signal.
- Do not describe case.dev results as editorial treatment analysis unless you performed separate manual review.
- Say "verified citation" instead of "good law."
- Say "manual treatment review required" when the workflow does not establish precedential weight by itself.
- Search results are candidates, not filing-ready authorities, until verified.
- Re-run verification immediately before filing.

## Output Standard

Format the final work product using [references/OUTPUT-TEMPLATE.md](references/OUTPUT-TEMPLATE.md).

## Dependencies

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

## Pitfalls

- Verifying only the case name and not the reporter citation.
- Treating `legal.find()` results as verified authorities.
- Assuming related cases from `legal.similar()` are citing references or direct history.
- Skipping the full-text read after verification.
- Hiding uncertainty when the result is `multiple_matches` or `not_found`.

Files in this skill

  • SKILL.md3.8 KB
  • references/CASEDEV-WORKFLOW.md3.1 KB
  • references/EVALS.md1 KB
  • references/EXAMPLES.md1.7 KB
  • references/OUTPUT-TEMPLATE.md696 B
  • references/RUNTIME.md1.2 KB
  • scripts/verify_authority.py3.5 KB
  • scripts/verify_authority.sh1.3 KB
  • scripts/verify_authority.ts3.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.