Install any skill in seconds. Free to start, no credit card required.
Get Started Free →brycewang-stanford/courtlistener-api
Legal case law database with PACER data and judge profiles
Passed 20 of 22 test cases with the skill, and 15 of 22 without it.
and 2 more in the full report
5 fixed15 passed either way2 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 5 test cases the skill fixed. Same model, same prompt, with and without the skill.
I need to retrieve a list of all state-level courts available in CourtListener's database. What query parameter and value should be sent to the courts API endpoint to filter for state jurisdiction courts?
| Checked | Without skill | With skill |
|---|---|---|
| Uses jurisdiction=S as the query parameter to request state court systems. | Passed | Passed |
| Distinguishes state court records from federal records using single-character codes. | Missed | Passed |
The instructions your model reads when the skill loads.
CourtListener is a free legal research platform operated by Free Law Project, a non-profit organization dedicated to making legal data freely accessible. The platform hosts one of the largest open collections of U.S. case law, containing millions of court opinions, docket entries, oral arguments, and judge profiles sourced from PACER (Public Access to Court Electronic Records), state court websites, and historical digitization efforts.
The CourtListener REST API provides programmatic access to this extensive legal database, enabling searches across court opinions, dockets, judge biographical data, and court information. The API covers federal courts (Supreme Court, Circuit Courts, District Courts, Bankruptcy Courts) and many state courts, with records spanning from the founding of the republic to the present day.
Legal scholars, law students, practicing attorneys, journalists, policy researchers, and civic technologists use the CourtListener API to conduct legal research, perform empirical legal studies, build litigation analytics tools, track judicial behavior, monitor active litigation, and analyze trends in case law. It serves as a critical resource for computational legal studies and access-to-justice initiatives.
No authentication is required for basic API access. The CourtListener API is publicly accessible for read operations. However, creating an account and using an API token provides higher rate limits and access to additional features. Authentication is recommended for production applications.
To obtain an API token:
Authorization header# Unauthenticated request
curl "https://www.courtlistener.com/api/rest/v4/opinions/?q=first+amendment"
# Authenticated request (higher rate limits)
curl -H "Authorization: Token YOUR_TOKEN" \
"https://www.courtlistener.com/api/rest/v4/opinions/?q=first+amendment"
Search and retrieve the full text of court opinions (judicial decisions) across all indexed courts.
GET https://www.courtlistener.com/api/rest/v4/opinions/| Parameter | Type | Required | Description |
|---|
test cases passed, vs 15 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.