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/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"
```
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 |