/dingduff:dingduff-validity-checkfrom DingDuff Legal Skills
Confirms whether a specific case is still good law for the proposition it is cited for. Uses opinion_verify tool and PACER docket checks for federal cases. Delegate to a subagent (Opus) for load-bearing citations in arguments, memos, briefs, or client advice.
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.
Determines whether one case is still good law for the specific proposition it is being cited for. Deeper than the light treatment sweep in dingduff-legal-research/references/validity.md. Use that to triage; use this before an argument or opinion actually rests on a case.
Built around opinion_verify. If it is unavailable, load references/fallback.md.
Parameter detail, output anatomy, index glossary, failure modes, and cost live in references/opinion-verify.md. Keep this file in context; load that one when you need to change a default, when a response contains something you do not recognise, or when a status comes back other than ok.
Written for a delegated subagent (use Opus; the reading and judgment this takes are demanding), not the main thread. This task will flood the main context window if not delegated.
Return the structured verdict at the bottom. Nothing else.
The mirror contains opinions that postdate your training data. Treat them as real, not as hallucinations.
Capacity etiquette: call sequentially within this check; do not launch several validity subagents in parallel.
Any case where the answer changes if the case is bad: the anchor for a rule being asserted; any case cited for a proposition in a filing or advice letter; any case being quoted; any adverse case being distinguished; any case supplied by an opponent or client.
Skip only when validity was confirmed in this matter and nothing changed, or when the cite is purely descriptive.
Age is not a proxy for risk.
opinion_verify is deterministic and decides nothing.
| Leg | Tool does | You do |
|---|---|---|
| 1. Direct history | Cluster text fields, docket linkage, party-name overlap | Check the docket (Step 3); confirm any chain; retrieve the reversing opinion |
| 2. Forward sweep | Large graph → small graph → tiered snippets, sub-opinion labels, parentheticals | Read every surviving Tier A case; classify treatment; recurse |
| 3. Upstream hop | Origin's outbound citations; co-cited siblings | Verify the parents that matter; assess reach |
| 4. Non-citation | Nothing | All of it |
status before reading counts. Several statuses are not findings at all.opinion_verifyResolve the citation to a cluster ID first (opinion_search / opinion_view).
If the reporter citation does not resolve, do not stop — search by name. Citation metadata is uneven. A case can be present, complete, and full-text searchable while carrying no reporter citation, in which case it is unreachable by cite and reachable by name. Escalate in this order, stopping when you have the cluster:
opinion_search on the case name in quotes — "Fought v. City of Wilkes-Barre".opinion_search on a distinctive phrase from the opinion, if you have one.opinion_search on the citation string in quotes — this returns opinions citing the case, whose text confirms it is real and gives you the parties and court.A citation that will not resolve is not evidence that the case does not exist, and is never a basis for suggesting a citation is fabricated. Say which routes you tried.
{
"cluster_id": "<origin>",
"court_scope": "invalidating",
"include_upstream": true,
"include_parentheticals": true,
"output_format": "markdown"
}
Everything else defaults correctly. Three deviations matter enough to state here; the rest are in references/opinion-verify.md.
filed_afterThe tool already applies citing_date >= origin.date_filed unconditionally. You do not need filed_after for that.
Passing one narrows further, and the failure is silent: Bowers with filed_after: 2010-01-01 misses Lawrence and returns status: ok, a plausible graph, zero Tier A, and no warning. Overruling has no characteristic distance — Lawrence came 17 years after Bowers, Loper Bright 40 after Chevron. No cutoff is safe.
Two legitimate uses only: the upstream hop (pass the origin's date) and re-verification (pass the prior check's date).
additional_courts is required for ErieA federal court's construction of state law is displaced by that state's highest court, which sits nowhere in the federal chain and will never be admitted by default. Omitting it on a diversity case produces a clean graph that structurally cannot contain the authority most likely to have superseded the origin.
Texas and Oklahoma each have two courts of last resort — pass both: ["tex","texcrimapp"], ["okla","oklacrimapp"]. Verify against the Courts admitted line, not the case count; an unchanged count may be a true negative.
flag_terms_mode: "replace"It discards the 67 curated terms and makes recall a function of your vocabulary. Add doctrine-specific phrasing via flag_terms instead — a superseding statute's name, a competing test, a retired standard. Literal phrases, not regexes.
For a SCOTUS origin the small graph is scotus alone, because nothing sits above it. Correct, but it means the graph structurally cannot show lower-court erosion — for a SCOTUS origin, Leg 4 is the only place erosion can surface. Do not skip it on the strength of a clean graph.
status firststatus | Do this |
|---|---|
ok | Proceed |
no_flag_hits | A distinct finding. Not "valid." Go run Leg 4 |
small_graph_empty | Not "no treatment." Check whether Erie courts were omitted |
no_citers_genuine | Not a finding until the full-text searches are run — see "Finding citing opinions" in Step 4 |
integrity_warning | STOP. INDETERMINATE. |
origin_not_found | May postdate the generation, or you passed an opinion ID. Re-resolve |
mirror_unavailable | Not a finding. No API fallback exists by design |
mirror_busy | Not a finding. Wait and retry |
tool_disabled | Load references/fallback.md |
Never collapse any of these into "no adverse treatment."
Direct history — was this decision appealed, reversed, vacated, amended, or superseded on reconsideration — is the most common way a lower-court ruling stops being law. The citing graph reaches it only indirectly, and opinion_verify reads only sparse cluster fields and party-name overlap. The docket records it directly, in the clerk's own entries.
Do this whenever the origin is a federal district, circuit, or bankruptcy decision. PACER covers federal courts only — skip it for state origins and say so in the coverage line.
Sequence, cheapest first:
Resolve the docket. search_for_pacer_docket with court_id and the shortest distinctive party name; add docket_number from the opinion's metadata when you have it. case_name matches as a phrase, not as ANDed tokens, so a full caption returns zero: "Dorley" resolves, "Dorley South Fayette" returns nothing. A zero result here is far more often a query that was too long than a docket that is absent. Retry with a single party name before concluding the case is not in RECAP.
Confirm and orient. pacer_docket_view with include_entries: false — metadata only, fast. Check the parties, judge, and terminated date against the opinion so you know you have the right case.
List everything filed after the decision. search_within_pacer_docket with filed_after set to the origin's decision date and no document_type. No text query is needed — filed_after works on its own. This is the highest-value call in the sequence: it enumerates everything the court did after the opinion issued.
Do not narrow this call with document_type: "orders". An appellate mandate is classified appeals, not orders, so the orders filter drops the single entry most likely to decide validity — MANDATE of USCA — Affirming in part, Reversing in part, Remanding. Take the unfiltered list and read it. If the docket is large enough that you must narrow, run orders and appeals as separate calls.
(The caution against defaulting filed_after under Step 1 governs opinion_verify only. On search_within_pacer_docket, filed_after is the correct and intended filter.)
Target the dispositive entries. title_query for mandate, notice of appeal, amended judgment, reconsideration, vacate, remand, stay, amended opinion, substituted opinion, withdrawn, superseding, errata, clarify, alter or amend, Rule 59, Rule 60, relief from judgment. Use this to supplement item 3, never to replace it — some dockets return entries with an empty description, and those are invisible to any text query.
Read the (Attachments: ...) parenthetical in every entry description. An entry listing an Amended Opinion, Substituted Opinion, Corrected Opinion, or Errata is notice that the published opinion was changed — and the parenthetical is frequently the only evidence, because those attachments are often not archived as separate retrievable documents. Report a known, unretrieved amendment. Never record it as an absence.
Follow the appeal. For an appellate origin, or to learn how an appeal came out, search the reviewing court's own docket — search_for_pacer_docket with court_id set to the circuit plus the party names.
Before retrieving any PDF, batch the document IDs through check_pacer_availability (up to 300 at once). It reports which documents are actually archived and saves a failed pacer_document_view.
What the docket settles that the citing graph cannot: whether an appeal was taken at all; whether the mandate issued and what it said; whether the judgment was amended or vacated on reconsideration without any published opinion to cite; whether the case was consolidated or stayed.
Limits — state these whenever you rely on the docket.
is_available before reporting a document as unretrievable.If the docket shows the origin was reversed or vacated, the verdict is settled — retrieve the reviewing court's opinion to confirm and name it, then go to Step 5.
opinion_verify reads only cluster text fields and the docket linkage, and measured on this mirror generation those are almost never populated — history on ~0.5% of clusters, date_cert_granted on effectively none. Its silence is not evidence. Step 3 is the real check. What the tool does find reliably is same_litigation_candidate by party-name overlap — treat those as leads to confirm, not findings.
Direct history means same-litigation appellate treatment only — was this opinion reversed, vacated, or modified on appeal. A later unrelated case overruling the origin is adverse treatment, not direct history. Do not put it in the DIRECT HISTORY field.
Before calling something direct history, confirm the later court had authority to review or modify the origin. A coordinate court reaching the same litigation — after transfer, for instance — can disagree with the origin and reach the opposite result, but it cannot review it. That disagreement is worth reporting; report it as a conflict rather than as direct history, and name both decisions.
The citation graph and full-text search each miss cases the other finds. Run both on every load-bearing case. Neither alone is complete coverage.
opinion_verify, and show_citing_opinions where you need the list.opinion_search on the case name in quotes — "Fought v. City of Wilkes-Barre". Catches citers the graph holds no edge for, including courts citing by short form, docket number, or Westlaw number.opinion_search on the citation string in quotes — "466 F. Supp. 3d 477".Deduplicate by case name and triage the combined set exactly as you would Tier A output — the snippets give you the citing court, the date, and the surrounding language.
Running court_scope at more than one setting is not a cross-check: every setting reads the same edge table, so a missing edge is missing at all of them. Agreement between scopes says nothing about completeness.
A zero or a thin graph is not a finding until the searches are run. State in the coverage line which routes produced the citing results.
Three kinds of repetition appear in the index, and conflating them inflates your adverse-authority count: same cluster with different sub-opinions (Lawrence is three rows in Bowers's index, all cluster 130160); genuinely duplicate clusters, which the tool cannot merge (Georgia v. Public.Resource.Org under three IDs, Loper Bright under two); and collapsed sub-opinion records, which the tool does handle and reports.
Deduplicate by case name before counting or reporting adverse authorities. Bowers's 35-row index is roughly 24 distinct decisions. Column-by-column detail is in references/opinion-verify.md.
Integrity warning → provenance and content_hash → graph size, admitted courts, unaudited courts, truncation → index → signal summary → analytics (the hub is the likely replacement rule; the co-cited list is the doctrinal line Leg 3 needs).
| Tier | Means | Response |
|---|---|---|
| A | Flag term near an origin reference in an opinion speaking for the court | Retrieve and read. A candidate, not a finding |
| B | Flag terms present but not near a reference, or co-occurrence only in a separate writing | Read the snippet; retrieve on real engagement |
| C | Cites the origin, no flag terms | Bulk applications; skim for recency |
| unscanned | Truncated before scanning | UNKNOWN, not clean |
Tier A is mostly noise, and you should expect that. Measured on Bowers: 6 Tier A, of which only Lawrence is actual treatment. Dobbs is Tier A because it lists Lawrence-overruling-Bowers in a string cite about overruled cases; Casey because the word "overruling" appears near a Bowers reference in a passage about overruling Roe; McDonald because Scalia discusses stare decisis. A 1-in-6 signal rate is normal. Zero Tier A does not mean valid — that is Leg 4's job.
Do not widen cooccurrence_window to catch more; it lowers precision far faster than it raises recall.
Validity is proposition-specific: a case gutted on one holding may be untouched on another. Nothing in the tool output tells you which holding a citing case engaged, and page numbers will not tell you either — CourtListener frequently lacks reporter pagination, so pages are absent from most snippets and unreliable where present. Do not try to filter by page.
Determine it by reading. For each Tier A candidate, read the passage around the origin reference and answer three questions:
Never report treatment without having identified which holding it reached.
Full SCOTUS opinions exceed single-response limits. Do not try to read one straight through. fetch_opinion_file, save to disk, then read targeted regions — use the snippet start/end offsets and the origin's party name to locate the passage that matters. For a shortlist of ambiguous cases, submit_batch_screen (≤20 clusters) is cheaper than reading each.
If Step 3 or Leg 2 produces a clear, express reversal, vacatur, or overruling that you have retrieved and read, and it (a) addresses the proposition at issue and (b) comes from a court that binds the target court — the finding is dispositive. Legs 3 and 4 are moot. Say so in the coverage line and stop.
Still apply the recursion rule: verify the overruling case is itself good law before naming it as the replacement.
Otherwise continue.
The forward sweep only sees edges that exist. It cannot see the origin relying on a parent that was later killed without anyone telling the origin's citing history.
opinion_verify on each with filed_after = the origin's decision date. ~150–305 ms each.A graph cannot detect a court that changed the law without citing anyone in the line. The tool does none of this.
-dateFiled, last ~10 years. Read the recent authoritative statements, then compare to the origin. A new element, a shifted burden, a differently-phrased standard, a vanished exception — any is a silent-shift flag.show_related_opinions for subject-matter neighbors that never cite the origin.codes_search, check effective dates. A statutory amendment can abrogate a line while citing nothing.VALID · VALID BUT NARROWED · AT RISK · QUESTIONED · INVALID FOR THIS PROPOSITION · INVALID · INDETERMINATE
Always qualified by the proposition. Name the replacement whenever the case is unusable.
| Cap confidence at | When |
|---|---|
| INDETERMINATE | integrity_warning; origin_not_found; origin has no text |
| Low | API supplement failed or skipped; truncation with Tier A dropped |
| Moderate | api_truncated; unaudited courts in the graph; Leg 4 inconclusive; adverse cases screened but not read; federal origin whose docket could not be checked; citing opinions sought by only one route |
| High | Full coverage, every surviving Tier A read, Leg 4 run and consistent — or an express reversal or overruling retrieved and verified under Step 5 |
Unaudited courts. 3,330 courts in the hierarchy, 205 human-audited; the state intermediate appellate layer is largely unaudited. The tool names them — pass that through.
Roughly 250 words. Structured, quoting the operative language, no traversal narrative.
CASE: <full citation>
PROPOSITION CHECKED: <the rule>
JURISDICTION: <target court>
STATUS: <one of the seven> — confidence <high/moderate/low>
DIRECT HISTORY (same litigation only): <reversal/vacatur/amendment chain. Say whether
the docket was checked and what it showed, or why it could not be (state origin, no
RECAP coverage).>
ADVERSE TREATMENT: <each: citing case, full cite, the operative language quoted, and
which of the origin's holdings it reached. DEDUPLICATED BY CASE NAME. Or "none located.">
AT-RISK FINDINGS: <upstream authority undermined after this case relied on it, or
divergence between this case and the current rule. Or "none.">
RECENT APPLICATION: <most recent case applying it for this proposition — or the silence>
IF UNUSABLE — WHAT REPLACES IT: <case or statute now stating the rule, with cite and
operative language. The graph hub is usually the candidate.>
COVERAGE: <small graph size and distinct-case count; courts admitted; mirror generation
and watermark; API supplement status; truncation/unscanned; unaudited courts; docket
check status; which routes produced the citing results; content_hash. Say which legs ran
and which were moot under Step 5.>
Most of the coverage line is copied from provenance rather than composed. A verdict without a stated boundary invites more reliance than the method can bear.
Smith v. Acme, 900 F.3d 100 (5th Cir. 2018), cited for presumptive enforceability of a forum-selection clause in an employment contract under Texas law. Diversity; brief headed for N.D. Tex.
include_upstream: true and, because this is Erie, additional_courts: ["tex","texcrimapp"]. Confirm all four courts in Courts admitted.status: ok; no integrity warning; 41 rows, no truncation; 5 Tier A.ca5, then search_within_pacer_docket with filed_after the opinion date and no document_type. Panel rehearing denied, no en banc, mandate issued. No direct history.ca5 panel (depth 7, out-degree 5, term "to the extent that"), engages the enforceability holding directly and narrows it to at-will employment, reserving fixed-term contracts.filed_after = Smith's date → clean. Top sibling → clean.These bound what the evidence can support. Raise one in the verdict only when it actually bit on this case.
opinion_verify's own direct-history detection is near-blind on this mirror generation; the docket check in Step 3 is the real one.Called by dingduff-legal-research, dingduff-legal-analysis, dingduff-legal-writing, and dingduff-citation-check. Note the capacity ceiling: a 20-citation cite-check is ~160 tool calls and ~2 minutes occupying both admission slots — do not run two at once. Citation form is dingduff-legal-citation-format; this skill checks whether a case is good law, not whether the cite looks right.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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-legal-researchResearch the law on a question — find, retrieve, read, and validate the controlling cases, statutes, and regulations; map the citation network and the statutory landscape; and verify everything is still good law. Use for ANY legal-research task — "what's the law on X," "find cases/statutes on Y," "research precedent," "is this still good law," "map the statutory scheme," "what does § __ mean" — and as the authority-gathering step behind any analysis, memo, or brief. Research is thorough by default. It interleaves with dingduff-legal-analysis (analysis guides research; research guides analysis). Validates cases at two tiers — a cheap inline screen for everything, and the heavyweight dingduff-validity-check skill, delegated to a subagent, for the cases an argument actually rests on — and reports which tier each case received. Method detail for case law, statutes, and validity lives in references/ and is loaded as needed. (v2.7)Other plugins' skills for the same job