Dingduff Legal Researchのロゴ

Dingduff Legal Research

組織
DingDuff
dingduff-legal-research

Research 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)

Add to TypingMind

概要

公開者DingDuff
リポジトリdingduff-public
スキル名dingduff-legal-research
スター
63
フォーク
8
同梱ファイル
3
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 3個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    DingDuffがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Dingduff Legal Research」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/DingDuff/dingduff-public/tree/main/plugins/dingduff/skills/dingduff-legal-research
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/DingDuff/dingduff-public.git /tmp/dingduff-public
mkdir -p .claude/skills
cp -r /tmp/dingduff-public/plugins/dingduff/skills/dingduff-legal-research .claude/skills/dingduff-legal-research
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでDingduff Legal Researchを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にDingduff Legal Researchを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Dingduff Legal Researchは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Legal Research

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.

CRITICAL: Retrieve before you assert (anti-hallucination)

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.

  • Cases: retrieve the actual opinion via 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.
  • Statutes: retrieve the full section via 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.
  • If you cannot retrieve a source's text, do not discuss its substance — note the gap and move on.

CRITICAL: Verify it's still good law

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:

  • Lightweight — a heuristic screen you run inline, a few tool calls per case. Cheap and fast. It catches the loud failures, but a clean screen is not evidence of validity. Right for background cites, redundant supports, and quick orientation.
  • Heavyweight — the 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 interleave (the recursive loop)

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:

  1. Start from the framed issues (from dingduff-legal-analysis; if none exist yet, frame them lightly first).
  2. Research them (cases and/or statutes, below).
  3. Hand findings to analysis — let it synthesize the rule, analyze the facts, structure the proof.
  4. Return to research whenever analysis surfaces a new question — an ambiguous controlling term needing its judicial gloss, a newly-spotted sub-issue, a missing element, a needed counter-authority, an adverse case to confirm.
  5. Repeat until both the research network is saturated and the analysis has no unresearched gaps.

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.

Calibrate scope to the question

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.

Local storage: saved cases / saved statutes

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.

bash
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.

Workflow

  1. Take the issues — from dingduff-legal-analysis, or frame them lightly. Decide whether the question is statute-driven, case-law-driven, or both.
  2. Statutes & regulations (when a statutory or regulatory scheme governs) — map the code bidirectionally, pull definitions, flag phrases needing interpretation. → references/statutes.md
  3. Case law — search broadly, then map the citation network (back to the anchor, forward to current applications, plus a topical sweep). → references/case-law.md
  4. Validate everything you'll rely on — lightweight screen on every case, heavyweight (delegated dingduff-validity-check) on the load-bearing ones, currency checks for statutes. Report the tier each case received. → references/validity.md
  5. Interleave with analysis (the loop above) — feed findings to dingduff-legal-analysis; return here for each new question it surfaces. Continue until saturated and gap-free.
  6. Synthesize — present the authority with its current-validity status. Output formats (doctrinal genealogy + network diagram + case table for cases; statutory tree + roadmap + section table for statutes) are in the domain references.

References map

  • 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.

Related skills

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.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Dingduff Legal Research」では何ができますか?

Research 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 analys...

TypingMindでDingduff Legal Researchを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Dingduff Legal Researchはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにDingduff Legal Researchをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/DingDuff/dingduff-public/tree/main/plugins/dingduff/skills/dingduff-legal-researchを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Dingduff Legal Researchを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Dingduff Legal Researchで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもDingduff Legal Researchを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Dingduff Legal Research」は無料ですか?

DingDuffがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇