Skip to content

CSlawyer1985/legal-skillhub / skills/authority-verification

authority-verification

Verified

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.

references/RUNTIME.md

View on GitHub
# Runtime

## Requirements

- `CASEDEV_API_KEY` in the environment
- `casedev` CLI for the shell script
- `jq` for the shell script follow-on steps
- Python 3.9+ and the `casedev` package for the Python script
- Node.js 18+ and the `casedev` package for the TypeScript script

## Install

CLI:

```bash
brew tap CaseMark/casedev && brew install casedev
```

Python:

```bash
python3 -m pip install casedev
```

TypeScript:

```bash
npm install casedev
npm install -D tsx typescript @types/node
```

Shell helper:

```bash
brew install jq
```

## Environment

```bash
export CASEDEV_API_KEY="sk_case_YOUR_API_KEY"
```

## Preflight Checks

CLI workflow:

```bash
command -v casedev
command -v jq
casedev --version
```

Python workflow:

```bash
python3 -c "import casedev; print('ok')"
```

TypeScript workflow:

```bash
npx tsx --version
node -e "console.log(process.version)"
```

## Run Commands

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"
```
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: 115kUpdated Claude CodeCodexVerifiedInstall
add-runner-evalpaperclipai/paperclipAdd or extend a Paperclip Runner protocol evaluation definition, roster, assertion, or report fixture with provenance and narrow validation.Stars: 115kUpdated Claude CodeCodexVerifiedInstall
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: 115kUpdated Claude CodeCodexVerifiedInstall
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: 115kUpdated Claude CodeCodexVerifiedInstall