/dingduff:dingduff-legal-researchfrom DingDuff Legal Skills
Finds, retrieves, reads, and validates controlling cases, statutes, and regulations. Maps citation networks and statutory landscapes, verifies good law status. Use for any legal-research task as the authority-gathering step behind analysis, memos, or briefs.
Ships in DingDuff Legal Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
One skill for finding and verifying legal authority — case law, statutes, and regulations. It produces a reliable, citation-anchored body of authority you can build an analysis or a document on, having personally confirmed it is still good law. Research here is thorough by default: assume the user wants the full picture, not a single snippet. Keep this file in context; pull in a references/ file for the method you need.
This skill runs on the DingDuff research tools (CourtListener + code databases): opinion_search, courtlistener_full_search, fetch_opinion_file, opinion_view, show_citing_opinions, show_related_opinions for cases; codes_browse, codes_search, codes_view, metadata_view for statutes/regulations.
Never state a holding, quote any language, or recite statutory text from a search snippet. Snippets only help you decide what to retrieve — they are not citable substance.
fetch_opinion_file (preferred; needs network egress) or opinion_view, then cite by reporter citation + pinpoint page (Miranda v. Arizona, 384 U.S. 436, 444 (1966)). Cluster IDs are internal retrieval handles — keep them in your notes, never in user-facing citations.codes_view, then cite by proper statutory citation (Tex. Bus. Orgs. Code § 21.401(a); 18 U.S.C. § 1001(a)(2)). statute_id stays internal.The databases do not flag overturned, abrogated, or limited cases, and do not guarantee real-time tracking of statutory amendments. You must check, yourself, for every authority you will rely on — overturn/treatment checks for cases, currency/amendment checks for statutes. This is the single discipline that separates real research from a snippet dump. Do it before anything you find becomes part of an answer.
Case validation has two tiers, and choosing between them per case is your judgment call:
dingduff-validity-check skill, delegated to a subagent. Answers whether the case is good law for the specific proposition you're citing it for, and states its own coverage limits. Slow and sequential, so spend it where it counts.The test: does the answer change if this case is bad? If yes, heavyweight — the anchor of a rule you assert, anything headed into a filing or client advice, adverse authority you're distinguishing, anything the screen flagged. Do not run heavyweight on every case in a network; screen broadly, escalate narrowly.
Then tell the user which cases got which tier. A screened case and a verified case look identical in a finished answer, so the distinction only exists if you state it. Labels and the reporting convention are in references/validity.md, along with both procedures and the delegation contract.
Research and analysis are one intertwined process, not two phases. Analysis guides research (you research the specific issues, elements, and ambiguous terms the analysis has framed) and research guides analysis (what you find reshapes the issues, the rule, and the framing — a new exception, a circuit split, a controlling definition, an issue that turns out to be moot).
So do not treat research as a single up-front pass. Loop:
dingduff-legal-analysis; if none exist yet, frame them lightly first).dingduff-legal-analysis escalates back to research when it hits a hole; this skill closes the loop by sending you forward into analysis and back again. Neither is done until both are done.
Thorough by default — but set the breadth to the question. A regime-mapping, bet-the-matter, or appellate question gets the full sweep (deep citation network; complete statutory map). A tightly-bounded question (one well-defined hook, one defined term) gets a focused pass — don't expand a one-section lookup into a 100-case network. If a network grows past ~75–100 cases or ~50 statute sections, the issue was scoped too broadly: narrow it (to an element, jurisdiction, or fact pattern) and re-anchor. Rank what you find by weight of authority (binding > persuasive; higher court > lower; more recent and on-point > older and tangential) and spend your effort there.
When the user has connected a folder, create archive subfolders in it and save every retrieved opinion and section as markdown — a durable record for the user and a way for you to re-read without spending more tool calls.
mkdir -p "<user_folder>/saved cases"
mkdir -p "<user_folder>/saved statutes"
Naming: cases <cluster_id>_<short_case_name>_<reporter_cite>.md (e.g., 107252_miranda_v_arizona_384_US_436.md); statutes <jurisdiction>_<code>_<section>.md (e.g., us_18_usc_1001.md). Sanitize: lowercase, spaces → underscores, strip punctuation except underscores/dots, "v." → "v". If no folder is available, fetch_opinion_file still works — save into the working directory and tell the user no archive was produced. Fall back to inline retrieval (opinion_view / codes_view) only without network egress, which the returned download URLs require.
dingduff-legal-analysis, or frame them lightly. Decide whether the question is statute-driven, case-law-driven, or both.references/statutes.mdreferences/case-law.mddingduff-validity-check) on the load-bearing ones, currency checks for statutes. Report the tier each case received. → references/validity.mddingduff-legal-analysis; return here for each new question it surfaces. Continue until saturated and gap-free.references/case-law.md — finding cases (search strategies, tool patterns), mapping the citation network (ancestors / descendants / topical sweep), the working set, and the case-law output format (genealogy, network diagram, case table).references/statutes.md — jurisdiction/scope check, bidirectional code mapping (top-down hierarchy + bottom-up keyword), definition discovery, flagging phrases that need interpretation, targeted interpreting case law, and the statutory output format (tree, roadmap, section table).references/validity.md — the two validation tiers and how to choose between them; the lightweight screen; the delegation contract for heavyweight dingduff-validity-check; statutory currency and amendment checks; the verification pass and how to report tiers to the user.Interleaves with dingduff-legal-analysis (the reasoning it feeds and takes direction from). Heavyweight validation is delegated to dingduff-validity-check — always in a subagent, never loaded here. QC: dingduff-legal-citation-format, dingduff-citation-check.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub dingduff/dingduff-public --plugin dingduff5 skills in this plugin
/dingduff-citation-checkVerify every citation in a drafted legal memo (Markdown, Word, or Google Docs) against stored opinions and statutes plus any other source documents the attorney supplies (a Restatement section, an off-CourtListener case, an opposing brief, a factual PDF). Use after drafting a memo when the user asks to cite-check, citecheck, verify citations, verify quotes, check cites, or validate authorities. Produces cites.json, quality-checks the anchors for substance, and opens the interactive attorney review panel (or a standalone review.html that can display supplied PDF/Word sources in native format with the verified highlights overlaid) for the attorney to review. NOTE: a full cite-check reads every cited source and enumerates every citation instance, so it is context-heavy — run it in a subagent, delegating the cite-check task rather than loading the full skill and every source into the main context window. (v2.5.9)/dingduff-legal-analysisAnalyze a legal question rigorously and produce a citation-anchored analysis or proof skeleton — frame the issues, synthesize the governing rule, analyze the facts, organize the proof (CRAC/CREAC), and deploy authority. Use for ANY legal-reasoning task — "what's the law on X," "do we have a claim," "will this hold up," "analyze whether," "what are the issues," "how would we argue this" — and to build the analytical skeleton before drafting any memo, brief, or letter. Pairs with dingduff-legal-writing (which turns the analysis into a finished document) and the dingduff research and citation skills. Detailed method for each step lives in references/ and is loaded as needed. (v1.2)/dingduff-legal-citation-formatFormat legal citations in the style courts expect (briefs, motions, memoranda, pleadings). Use when drafting, inserting, or fixing a citation to a case, statute, constitution, regulation, rule, secondary source (treatise, law review, etc), or a same-matter filing — or when a draft needs signals (e.g. see, cf., but see), pincites, short forms (id./supra), string cites, explanatory parentheticals, or quotation formatting (block quotes, alterations, omissions). Trigger whenever the user is writing or revising a legal document that relies on authority and wants its citations to look right or when a citation looks malformed. Rules follow The Indigo Book. COVERS FORM ONLY: it does not verify that an authority exists, is good law, or is quoted accurately; pair it with primary-source verification (separate skill). NOTE: This skill and reference files are large, so run it in a subagent — delegate the formatting task rather than loading the full skill into the main context window. (v1.4)/dingduff-validity-checkConfirm whether a specific case is still good law before an argument rests on it. ALWAYS RUN IN A SUBAGENT (use Opus) — never in the main context window. Subagent will return the valid/invalid finding. Driven by the opinion_verify tool, with a docket check via the PACER tools for federal origins. Use on ANY load-bearing case — one an argument, memo section, brief point, or client advice actually rests on — whose validity has not already been confirmed. Also use when a case's status is contested or when a cite-check flags an authority. Delegate the citation plus the proposition it is cited for; get back a short verdict with confidence and coverage limits. (v3.8)Other plugins' skills for the same job