Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

court-dockets

БесплатноЗапускает вложенные скриптыНе проверен

This skill should be used when the user asks to "get the complaint PDFs", "harvest court documents", "pull the docket", "download the opinions", "get filings…

edwinhuот edwinhu★ 28 звёзд на GitHub

Об этом скилле

Court dockets: retrieving filings from Lex Machina, Docket Alarm and Bloomberg Law

What this skill carries — grep references/ for any subject the names below miss: !d=${CLAUDE_SKILL_DIR}; command -v skill-toc >/dev/null 2>&1 && exec skill-toc "$d"; s=$HOME/.claude/skills/plugin-utils/bin/skill-toc; [ -x "$s" ] && exec "$s" "$d"; echo "(skill-toc unavailable: references and scripts are NOT listed here — install the plugin-utils plugin, or start a new session so its bin/ reaches PATH)"

Three commercial platforms, one job: turn a list of cases into a directory of PDFs plus a manifest you can defend. Verified end to end on 1,597 Delaware Chancery cases — ~4,000 documents retrieved across all three.

Auth is the user's live browser session on CDP 9222. None of these needs a password. Read the cookie with scripts/lm_cookie.py; never log in, and never touch stored credentials unless the user explicitly says to.

Full endpoint chains, request/response shapes and per-vendor quirks: ${CLAUDE_SKILL_DIR}/references/endpoints.md — read it before writing any fetch code.

The scripts are the interface

Do not hand-roll a harvester. These are working, resumable and manifest-writing:

script does
scripts/lm_cookie.py reads the live session cookie for any host over CDP
scripts/harvest_complaints.py Lex Machina: docket-search → tag-257 complaint → signed PDF
scripts/da_grab.py Docket Alarm: serial, boring, survives hanging documents
scripts/fetch_opinion_pdfs.py opinion/decision PDFs from a plan parquet
scripts/bl_docket_list.py Bloomberg Law: every docket matching facets + term, as a list (no PDFs)

Copy them into the project and adapt. Rewriting from the reference doc reproduces bugs that took hours to find.

## The Iron Law of Identification vs Retrieval

A document that is IDENTIFIED is not a document that is RETRIEVED. Never mark a substitute ok.

Every vendor names the complaint far more often than it serves the file. Measured on the same 1,597 cases: Lex identified 99.6% and served 81.0%; Docket Alarm identified 96.4% and served 81.7%. A fallback that takes "the first document that has a file" silently returns a Rule 5.1 certification, a cover letter or a verification page — and reports success.

Conflating the two overstates coverage by 15-20 points. That is not a rounding error: it is a fabricated denominator under every downstream rate, and shipping it is more harmful than returning nothing, because nobody downstream can see it happened.

## The Iron Law of Absence

Never record a document as unavailable because YOUR SELECTION RULE failed. Enumerate the docket entries and look for a later substantive version before concluding it is not public.

This is the mirror of the law above. That one catches substitutes passed off as complaints; this one catches real complaints recorded as absent — and it is the more expensive failure, because a substitute is visible in the data while an absence looks like a fact about the world.

Delaware Chancery files the complaint confidentially, then files a redacted PUBLIC VERSION days later as a SEPARATE docket entry (Ct. Ch. R. 5.1). Every vendor rule that stops at the first complaint-tagged entry sees no document and reports failure. The public version sits typically around entry 10-15, measured as deep as entry 91, on dockets running to 277 entries.

Measured on two independent Delaware populations:

population "unavailable" cases had a public version rate
DGCL 220 complaints 253 229 90.5%
fiduciary-duty follow-on suits 80 73 91.2%

Recovering them moved coverage 82.2% -> 95.3% and added 195 confirmed cases to a study population. The pre-recovery write-up asserted "~18% of complaints are not publicly retrievable — a finding about practice, not a collection defect." That sentence was wrong in both halves.

The correct statement is "~18% are filed confidentially, and ~90% of those are publicly available as a redacted version elsewhere on the same docket." Genuine unavailability is ~4%.

Two defects that bite while recovering them

  • Match the public version to a COMPLAINT, not to any document mentioning one. Public Version of Answer to Verified Complaint and Motion to Extend Deadline to File Public Version of the Verified Complaint both contain "public version" and "complaint". Requiring only those two terms returned the wrong document on 10.6% (23/218) and 10.0% (7/73) of cases across two populations — a stable rate, so expect it. Exclude answer|affirmative defense|motion|letter| certificat|opposition|brief|reply|response|stipulation|notice|transcript|order.
  • A resume guard keyed on filename alone silently preserves a known-bad file. After fixing the regex, the re-fetch skipped every corrected case as already_present,
Полный SKILL.md на GitHub

Установить court-dockets в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/endpoints.mdscripts/bl_docket_list.pyscripts/da_grab.pyscripts/fetch_opinion_pdfs.pyscripts/harvest_complaints.pyscripts/lm_cookie.py

FAQ

Что делает скилл court-dockets?

This skill should be used when the user asks to "get the complaint PDFs", "harvest court documents", "pull the docket", "download the opinions", "get filings from Lex Machina", "Docket Alarm", "Bloomberg Law docket", "Delaware Chancery filings", "who filed this case", or needs court filings, docket entries or written decisions out of a commercial legal database.

Как установить скилл court-dockets?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл court-dockets запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить court-dockets с