Agent skill · Audited from source
Caselaw Access Api
skill · brycewang-stanford/Auto-Empirical-Research-SkillsNOASSERTION licenceAudited 8 Oct 2026 · source e1ba289846fd
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit e1ba289846fd and found no filesystem, network or shell access and no hard-coded secrets. What it does: Query 360+ years of US case law via the Harvard Caselaw Access Project
Cite
Cite this page
ModelsAtlas. “Caselaw Access Api (brycewang-stanford/Auto-Empirical-Research-Skills)”. Retrieved 8 Oct 2026. https://modelsatlas.com/skills/brycewang-stanford/caselaw-access-api
Trust audit
Audit 0.4.1 · source read 8 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha e1ba289846fd · 8 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherbrycewang-stanford GitHub userOwner of the repository this skill is read from
- Source folderbrycewang-stanford/Auto-Empirical-Research-Skills/skills/43-wentorai-research-plugins/skills/domains/law/caselaw-access-apiThe exact folder we audited
- LicenceNOASSERTIONAs the repository states it
- Commit pinned for this verdicte1ba289846fdA new audit runs when the source changes
- Repository statusNot archivedLast push 2 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Query 360+ years of US case law via the Harvard Caselaw Access Project
---
name: caselaw-access-api
description: "Query 360+ years of US case law via the Harvard Caselaw Access Project"
metadata:
openclaw:
emoji: "⚖️"
category: "domains"
subcategory: "law"
keywords: ["case law", "legal database", "court opinions", "Harvard law", "judicial data", "legal research"]
source: "https://case.law/"
---
# Caselaw Access Project API
## Overview
The Caselaw Access Project (CAP) by Harvard Law School provides free access to 6.9 million US court opinions spanning 360+ years. The REST API enables searching, filtering, and downloading full-text case opinions from all federal and state courts. No authentication required for metadata; API key (free registration) required for full text of post-1923 cases.
## API Endpoints
### Base URL
```
https://api.case.law/v1/
```
### Cases
```bash
# Search cases by keyword
curl "https://api.case.law/v1/cases/?search=free+speech&decision_date_min=2020-01-01"
# Get a specific case by ID
curl "https://api.case.law/v1/cases/12345678/"
# Filter by jurisdiction and court
curl "https://api.case.law/v1/cases/?jurisdiction=us&court=us-sup-ct&search=miranda+rights"
# Filter by date range
curl "https://api.case.law/v1/cases/?decision_date_min=2015-01-01&decision_date_max=2025-12-31"
# Get full text (requires API key for post-1923)
curl -H "Authorization: Token YOUR_API_KEY" \
"https://api.case.law/v1/cases/12345678/?full_case=true"
```
### Query Parameters
| Parameter | Description | Example |
|-----------|-------------|---------|
| `search` | Full-text search | `search=due+process` |
| `jurisdiction` | Filter by jurisdiction slug | `jurisdiction=cal` (California) |
| `court` | Filter by court slug | `court=us-sup-ct` |
| `decision_date_min` | Earliest date | `decision_date_min=2020-01-01` |
| `decision_date_max` | Latest date | `decision_date_max=2025-12-31` |
| `cite` | Search by citation | `cite=410+U.S.+113` |
| `name_abbreviation` | Case name | `name_abbreviation=Roe+v.+Wade` |
| `ordering` | Sort results | `ordering=-decision_date` |
| `page_size` | Results per page (max 100) | `page_size=50` |
| `full_case` | Include full text | `full_case=true` |
### Courts and Jurisdictions
```bash
# List all courts
curl "https://api.case.law/v1/courts/"
# List all jurisdictions
curl "https://api.case.law/v1/jurisdictions/"
# List all reporters (case report series)
curl "https://api.case.law/v1/reporters/"
```
## Python Usage
```python
import requests
BASE_URL = "https://api.case.law/v1"
def search_cases(query: str, jurisdiction: str = None,
court: str = None, max_results: int = 20) -> list:
"""Search US case law."""
params = {"search": query, "page_size": min(max_results, 100)}
if jurisdiction:
params["jurisdiction"] = jurisdiction
if court:
params["court"] = court
resp = requests.get(f"{BASE_URL}/cases/", params=params)
resp.raise_for_status()
data = resp.json()
cases = []
for case in data.get("results", []):
cases.append({
"id": case["id"],
"name": case["name_abbreviation"],
"citation": case["citations"][0]["cite"] if case.get("citations") else None,
"court": case["court"]["name"],
"date": case["decision_date"],
"url": case["frontend_url"]
})
return cases
# Search Supreme Court cases
results = search_cases("fourth amendment", court="us-sup-ct")
for case in results:
print(f"{case['citation']}: {case['name']} ({case['date']})")
```
## Bulk Data Access
For large-scale research, download bulk datasets instead of querying the API:
```bash
# Bulk data available at:
# https://case.law/bulk/download/
# Formats: JSON (full case data) or text-only
# Organized by jurisdiction and reporter
```
## Key Jurisdictions
| Slug | Jurisdiction | Cases |
|------|-------------|-------|
| `us` | Federal (all) | ~1.5M |
| `us-sup-ct` | US Supreme Court | ~65K |
| `cal` | California | ~500K |
| `ny` | New York | ~600K |
| `tex` | Texas | ~300K |
| `ill` | Illinois | ~250K |
## Authentication
```
1. Register at https://case.law/user/register/
2. Get API token from your account page
3. Include in requests: Authorization: Token YOUR_TOKEN
```
Free accounts get full text for pre-1923 cases. Post-1923 full text requires an API token (still free).
## References
- [CAP API Documentation](https://case.law/api/)
- [CAP Bulk Data](https://case.law/bulk/download/)
- [Harvard Library Innovation Lab](https://lil.law.harvard.edu/)Excerpt, first 4,530 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit e1ba289
git clone https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills git -C Auto-Empirical-Research-Skills checkout e1ba289846fd
The author documents no install command, so this uses the repository directly. Our verdict covers commit e1ba289846fd only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| OpenClaw | Mentioned in its text, not tested | Skills for OpenClaw · About OpenClaw |
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
e1ba289846fd
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/brycewang-stanford/caselaw-access-api/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
brycewang-stanford/Auto-Empirical-Research-Skills
GIS analysis and remote sensing workflows for geospatial research applications
brycewang-stanford/Auto-Empirical-Research-Skills
Run and manage Google Colab notebooks for Python and ML research
brycewang-stanford/Auto-Empirical-Research-Skills
Advanced Google Scholar search techniques for comprehensive literature discovery
brycewang-stanford/Auto-Empirical-Research-Skills
Ethical Google Scholar data collection techniques and best practices
brycewang-stanford/Auto-Empirical-Research-Skills
Autonomous agent for comprehensive deep research on any topic
brycewang-stanford/Auto-Empirical-Research-Skills
Practical advice for thriving in PhD programs and academic research
Add this badge to your README
[](https://modelsatlas.com/skills/brycewang-stanford/caselaw-access-api/)
<a href="https://modelsatlas.com/skills/brycewang-stanford/caselaw-access-api/"><img src="https://modelsatlas.com/skills/brycewang-stanford/caselaw-access-api/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Caselaw Access Api
What does the Caselaw Access Api skill do?
Is Caselaw Access Api safe to install?
What can Caselaw Access Api access on my machine?
Which assistants does Caselaw Access Api work with?
How current is this page?
Sources
- github.com/brycewang-stanford/Auto-Empirical-Research-Skills/tre — the audited source at commit e1ba289846fd and every finding aboveObserved · 8 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Caselaw Access Api skill do?
- Is Caselaw Access Api safe to install?
- What can Caselaw Access Api access on my machine?