CSlawyer1985/legal-skillhub / skills/authority-verification
authority-verification
VerifiedVerifies 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.
| File | Kind | Size |
|---|---|---|
| LICENSE.txt | markdown | 10.5 KB |
| SKILL.md | skill md | 3.8 KB |
| references/CASEDEV-WORKFLOW.md | markdown | 3.1 KB |
| references/EVALS.md | markdown | 1.0 KB |
| references/EXAMPLES.md | markdown | 1.7 KB |
| references/OUTPUT-TEMPLATE.md | markdown | 696 B |
| references/RUNTIME.md | markdown | 1.2 KB |
| scripts/verify_authority.py | script | 3.5 KB |
| scripts/verify_authority.sh | script | 1.3 KB |
| scripts/verify_authority.ts | script | 3.1 KB |
references/EXAMPLES.md
View on GitHub# Examples
## Table of Contents
- [Verified citation check](#verified-citation-check)
- [Unverified citation handling](#unverified-citation-handling)
- [Document audit workflow](#document-audit-workflow)
## Verified Citation Check
Goal: verify a citation, pull source text, and expand to related authorities.
CLI:
```bash
bash scripts/verify_authority.sh "531 U.S. 98" "equal protection"
```
Python:
```bash
python3 scripts/verify_authority.py --citation "531 U.S. 98" --highlight-query "equal protection"
```
TypeScript:
```bash
npx tsx scripts/verify_authority.ts --citation "531 U.S. 98" --highlight-query "equal protection"
```
Expected result shape:
```json
{
"citation": "531 U.S. 98",
"summary": {
"verified": 1
},
"results": [
{
"status": "verified",
"case": {
"name": "Bush v. Gore"
},
"highlights": [],
"relatedAuthorities": []
}
]
}
```
## Unverified Citation Handling
Goal: catch a likely hallucinated or malformed citation and stop before citing it.
CLI:
```bash
casedev legal:v1 verify --text "Smith v. Jones, 542 U.S. 123" --json
```
Expected behavior:
- If `not_found > 0`, do not cite the case.
- Search by issue instead:
```bash
casedev legal:v1 find --query "topic from the bad citation" --num-results 5 --json
```
## Document Audit Workflow
Goal: extract authorities from a document URL, then verify key citations individually.
Extract:
```bash
casedev legal:v1 citations-from-url \
--url "https://www.courtlistener.com/opinion/118365/bush-v-gore/" \
--json
```
Then verify a citation from the extracted list:
```bash
casedev legal:v1 verify --text "531 U.S. 98" --json
```
Use this when reviewing a brief, article, or opinion for citation hygiene.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| add-product-e2e-evalpaperclipai/paperclipAdd or extend a Paperclip full-stack runner E2E workflow, fixture, matcher, or report evidence path for local or Daytona execution. | Stars: 115k | Updated | Claude CodeCodex | Verified | Install |
| add-runner-evalpaperclipai/paperclipAdd or extend a Paperclip Runner protocol evaluation definition, roster, assertion, or report fixture with provenance and narrow validation. | Stars: 115k | Updated | Claude CodeCodex | Verified | Install |
| diagnose-why-work-stoppedpaperclipai/paperclipCompatibility entry point for failed, stalled, looping, or over-recovered Paperclip work. Use fix-failed-paperclip-run for the full diagnosis, regression, repair, real verification, and green-PR workflow; honor an explicitly requested diagnosis-only scope. | Stars: 115k | Updated | Claude CodeCodex | Verified | Install |
| fix-failed-paperclip-runpaperclipai/paperclipDiagnose and fix failed, stuck, slow, or incorrectly blocked Paperclip tasks and runs. Use with a task/run URL or failure report to trace the root cause, prove a regression red then green, check second-order effects, verify the real workflow, and deliver a PR with passing checks. | Stars: 115k | Updated | Claude CodeCodex | Verified | Install |