courtlistener-api

courtlistener-api is a skill for Claude Code, Codex from wentorai/research-plugins. It costs 15 tokens per session (2,157 once invoked), scanned A, original, MIT.

An API for searching CourtListener, a free legal database containing court opinions, docket records, oral arguments, court information, and judge profiles.

In plain words
What is it for?
Use it to search opinions and dockets, retrieve judge and court information, track litigation, and study patterns in legal decisions.
Why use it?
It lets software query legal records and judicial information directly, supporting research and analysis across many types of court data.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to search opinions and dockets, retrieve judge and court information, track litigation, and study patterns in legal decisions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wentorai/research-plugins/courtlistener-api
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add wentorai/research-plugins --skill courtlistener-api
Clone the repo
git clone --depth 1 https://github.com/wentorai/research-plugins

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for courtlistener-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/wentorai/research-plugins/courtlistener-api/github.svg)](https://agentmods.dev/skills/wentorai/research-plugins/courtlistener-api)
Your own site
<a href="https://agentmods.dev/skills/wentorai/research-plugins/courtlistener-api"><img src="https://agentmods.dev/badge/skills/wentorai/research-plugins/courtlistener-api/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for courtlistener-api

Your own site · 80×15
<a href="https://agentmods.dev/skills/wentorai/research-plugins/courtlistener-api"><img src="https://agentmods.dev/badge/skills/wentorai/research-plugins/courtlistener-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,157 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00015 $0.02157
Opus 5 $0.00008 $0.01078
Sonnet 5 $0.00003 $0.00431
Haiku 4.5 $0.00002 $0.00216

Measured 7d ago against content hash 5282d123e3a0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

courtlistener-api scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl "https://www.courtlistener.com/api/rest/v4/opinions/?q=first+amendment"
skills/domains/law/courtlistener-api/SKILL.md · 214 lines

How it starts

The opening of the file, as written. The whole thing — 214 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CourtListener API Guide

Overview

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.

Authentication

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:

  1. Create a free account at https://www.courtlistener.com/
  2. Navigate to your profile settings
  3. Generate an API token
  4. Include it in the 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"

Read the full file on GitHub · 214 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 214 lines · 15 tokens per session scan A 5282d123e3a0

Subscribe to this mod's changes

courtlistener-api is a skill published in the GitHub repository wentorai/research-plugins (291 stars, last pushed 2mo ago), licensed MIT. It adds 15 tokens to every session and 2,157 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

jsonapi

Strict JSON:API v1.1 specification compliance. Trigger: When creating or modifying API endpoints, reviewing API responses, or validating JSON:API compliance.

prowler-cloud/prowler · 34 tokens

validating-us-core

Validate FHIR R4 resources and Bundles against US Core / USCDI profiles with the official HL7 FHIR validator before submitting to an EHR. Covers running validatorcli.jar (or the public validator.fhir.org), declaring meta.profile, must-support elements, common conformance gaps (missing code/category/status), and…

maziyarpanahi/openmed · 134 tokens

telnyx-10dlc-curl

10DLC brand and campaign registration for US A2P messaging compliance. Assign phone numbers to campaigns.

team-telnyx/ai · 31 tokens

806-regulations-eu-data-act

Use when reviewing, designing, or modifying Java enterprise systems that expose, exchange, store, process, export, or port data across users, businesses, connected products, cloud providers, APIs, event streams, AI data pipelines, data spaces, or SaaS platforms and need EU Data Act engineering controls. This should…

jabrena/plinth · 139 tokens

clio-webhooks

Receive and verify Clio (Clio Manage) webhooks. Use when setting up Clio webhook handlers, debugging X-Hook-Signature verification, completing the X-Hook-Secret handshake, or handling legal practice events like matter.created, contact.updated, activity.created, or bill events.

hookdeck/webhook-skills · 64 tokens

api-compliance-checker

Designs GDPR-compliant API patterns, PCI-DSS field handling, SOC2 audit log schemas, HIPAA data endpoints, and regulatory compliance checklists for any API. Use whenever the user asks about GDPR, data privacy, "right to be forgotten", data retention APIs, PCI compliance for payments, HIPAA for health data, SOC2 audit…

LambdaTest/agent-skills · 167 tokens