case-law-research

case-law-research is a skill for Claude Code, Codex from LegalQuants/lq-ai. It costs 51 tokens per session (2,009 once invoked), scanned A, original, Apache-2.0.

A research assistant for finding, reading, and citing U.S. court opinions through CourtListener, a searchable collection of legal decisions. It grounds claims in passages from the opinions it retrieves.

In plain words
What is it for?
Use it to research controlling or persuasive U.S. case law, read relevant passages, and assemble source-based material for a legal brief or memo.
Why use it?
It helps lawyers and researchers locate relevant decisions and avoid describing a case's ruling without checking the actual opinion text.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to research controlling or persuasive U.S. case law, read relevant passages, and assemble source-based material for a legal brief or memo.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/legalquants/lq-ai/case-law-research
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 LegalQuants/lq-ai --skill case-law-research
Clone the repo
git clone --depth 1 https://github.com/LegalQuants/lq-ai

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 case-law-research

README.md
[![agentmods](https://agentmods.dev/badge/skills/legalquants/lq-ai/case-law-research/github.svg)](https://agentmods.dev/skills/legalquants/lq-ai/case-law-research)
Your own site
<a href="https://agentmods.dev/skills/legalquants/lq-ai/case-law-research"><img src="https://agentmods.dev/badge/skills/legalquants/lq-ai/case-law-research/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 case-law-research

Your own site · 80×15
<a href="https://agentmods.dev/skills/legalquants/lq-ai/case-law-research"><img src="https://agentmods.dev/badge/skills/legalquants/lq-ai/case-law-research.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,009 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00051 $0.02009
Opus 5.5 $0.00020 $0.00804
Sonnet 5.5 $0.00010 $0.00402
Haiku 4.5 $0.00005 $0.00201

Measured 1mo ago against content hash e8b9e171a21e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

case-law-research scanned grade A with 0 findings 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 1mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/case-law-research/SKILL.md · 156 lines

How it starts

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

Case-Law Research

Conduct a structured search of U.S. case law via CourtListener, read the opinion text, and produce a grounded research report. Every statement in the report must be traceable to retrieved text — do not assert what a case holds unless you have read the relevant passage.

When this skill applies

Apply when the user asks to locate, read, or cite court decisions on a legal question. Common triggers: finding controlling or persuasive authority, confirming whether authority exists, reading specific language from an opinion, assembling citations for a brief or memo.

Do not apply this skill when:

  • The user asks about statutory text, regulations, or administrative guidance. Those are not in the CourtListener corpus; direct the user to the appropriate source.
  • The user asks about non-U.S. law. CourtListener covers U.S. federal and state courts only; this skill does not extend beyond that coverage.
  • The user needs to confirm whether a case is still good law (overruled, distinguished, limited). This skill is not a citator. It does not perform Shepardizing or KeyCiting. Always recommend the user validate any case's current status in Westlaw, Lexis, or a comparable citator before relying on it.

Inputs

Required: the question input — the legal question or issue to research. If the user has not stated a question clearly, ask before searching.

Optional: the jurisdiction input — a court or jurisdiction to focus on (e.g., "9th Circuit", "New York Court of Appeals", "SCOTUS"). When provided, weight searches toward that jurisdiction. When absent, begin with a broad U.S. search and note which courts produced the most relevant results.

If the user's question is ambiguous (e.g., "case law on good faith") and the jurisdiction materially affects which results are relevant, ask one clarifying question before searching. Do not block on optional inputs.

Tool chain

This skill runs through the LQ.AI governed gateway. All CourtListener tool calls are tier-gated and audited; the "Sources consulted" panel (visible to the user after the run) shows the provenance trail.

Read the full file on GitHub · 156 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 156 lines · 51 tokens per session scan A e8b9e171a21e

Subscribe to this mod's changes

case-law-research is a skill published in the GitHub repository LegalQuants/lq-ai (156 stars, last pushed today), licensed Apache-2.0. It adds 51 tokens to every session and 2,009 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

fto-triage

Freedom-to-operate triage — a structured first look at potentially blocking patents, not an FTO opinion. Use when a product, process, or feature is being evaluated for blocking patents, when asked whether anything stops a launch, or to build a claim-chart first pass against the most plausible patents before patent…

anthropics/claude-for-legal · 81 tokens

legal-hold

Issue, refresh, release, or report on legal holds — drafts the hold notice as .docx, updates legalhold fields in log.yaml, and calendars the next refresh. Use when the user says "issue a hold", "refresh hold", "release hold", or asks for a portfolio-wide hold status report.

anthropics/claude-for-legal · 68 tokens

specification-writing

A workflow for writing complete patent specifications from patent claims and an invention disclosure. It adapts the document to a chosen jurisdiction, such as the US, Europe, or China.

wanshuiyin/Auto-claude-code-research-in-sleep · 49 tokens

terms-of-service

Draft terms of service and a companion privacy notice matched to the product's form and feature modules, not legal advice, delivered as a Word document.

genspark-ai/genoffice · 32 tokens

x-scorecard

OpenSSF Scorecard for assessing open source project security. Check security best practices and compliance. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

x-cmd/x-cmd · 57 tokens

ai-risk-management

Apply the NIST AI Risk Management Framework (AI RMF 1.0) and adjacent guidance to AI / ML systems — model lifecycle governance, fairness and bias evaluation, robustness, transparency, accountability, third-party model risk, monitoring for drift, and AI incident response. Broader than prompt-injection (which is the…

briiirussell/cybersecurity-skills · 180 tokens