Case Prepのロゴ

Case Prep

コミュニティ
danepps
case-prep

Gather the full document set for a SCOTUS case being prepped for a podcast episode, class, or article — cert-stage filings, merits briefs, lower-court opinion, questions presented, and oral-argument transcript — and load them onto the user's reMarkable in a per-case folder. Manual trigger — use when the user says "prep <case>", "grab the briefs for <case>", "load up <case>", or similar.

概要

公開者danepps
リポジトリlegal-research-skills
スキル名case-prep
スター
46
フォーク
9
同梱ファイル
1
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 1個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

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

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

スキルの指示

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

SCOTUS case prep → reMarkable

Given a case name (and optionally a docket number), collect the canonical reading set and upload it to the tablet under <Project>/<Case>/.

Hard rules

  • Every uploaded document is a real PDF you actually downloaded. Verify each file begins with %PDF before uploading. Never hand-construct a document URL and assume it worked — fetch it and check.
  • Web-confirm the caption and docket number first. If the name is ambiguous (multiple granted cases, consolidated cases, common party names), confirm with the user before downloading the wrong case's briefs.
  • Report gaps honestly. If a document isn't filed yet, isn't public, or can't be found, say so in the final manifest. Never substitute a look-alike document.

Step 1 — Resolve the case

  1. Web-search the case name to confirm the exact caption and Supreme Court docket number (format NN-NNN, e.g. 24-316). Good confirming sources: supremecourt.gov, SCOTUSblog's case page, Oyez.
  2. Note whether the case is consolidated with others (grab the lead docket; mention companions in the manifest).
  3. Note argument status: not yet argued / argued (transcript available) / decided.

Step 2 — Download documents (to the scratchpad, via curl)

Docket page (index of every filing, with PDF links): https://www.supremecourt.gov/search.aspx?filename=/docket/docketfiles/html/public/<DOCKET>.html Fetch it and extract the DocketPDF links. Entry text identifies each filing ("Petition for a writ of certiorari filed", "Brief of petitioner", "Brief amicus curiae of United States", etc.).

Default document set (in reading order — skip whatever doesn't exist yet; note it in the manifest):

#DocumentSource
00Questions presentedhttps://www.supremecourt.gov/qp/<TERM>-<5-digit-zero-padded-number>qp.pdf (e.g. docket 24-316 → 24-00316qp.pdf)
01Lower-court opinionCourtListener (below)
02Cert petitiondocket page
03Brief in oppositiondocket page
04Cert-stage replydocket page
05Petitioner's merits briefdocket page
06Respondent's merits briefdocket page
07Merits reply briefdocket page
08U.S. / SG amicus brief (if any, either stage)docket page
09Oral-argument transcript (if argued)https://www.supremecourt.gov/oral_arguments/argument_transcripts/ — links follow .../argument_transcripts/<TERM>/<docket>_<suffix>.pdf; find the real link on the term's transcript index page

Other amicus briefs: don't download them all by default (there can be dozens). Tell the user how many were filed and offer to add specific ones.

Lower-court opinion via CourtListener: search https://www.courtlistener.com/api/rest/v4/search/?q=<case name>&court=<lower court id> or the website search, matching the docket number / caption from the cert petition (the petition's first pages identify the opinion below precisely). Then resolve and download the PDF deterministically with the legal-research skill's helper (prefers CourtListener's stored copy, falls back to the court's own file, verifies %PDF magic before saving):

python3 ${CLAUDE_PLUGIN_ROOT}/skills/legal-research/cl_case_tools.py pdf cluster:<cluster_id> --out "01 Lower-court opinion.pdf"

(cluster_id comes from the search result; a reporter cite works too once one exists). If no PDF is on CourtListener or the court's site, the cert petition's appendix contains the opinion below — flag that as the fallback rather than uploading something unverified.

Use a browser-plausible User-Agent for supremecourt.gov (it 403s bare curl): curl -sL -A "Mozilla/5.0" -o <file> <url>.

Step 3 — Upload to the reMarkable

Tools: the remarkable_* MCP tools (if not loaded: ToolSearch "select:mcp__remarkable__remarkable_upload,mcp__remarkable__remarkable_mkdir,mcp__remarkable__remarkable_browse" — adjust prefix to whatever the connected server exposes).

  1. Crop margins first — run this skill's crop_pdf.py on every PDF so documents open margin-free on the tablet (the user shouldn't have to adjust borders by hand): uv run <this skill's directory>/crop_pdf.py <file.pdf> A nonzero exit means no plausible content box was found — upload that file uncropped rather than failing.
  2. remarkable_mkdir → <Project>/<Short Caption> (e.g. SCOTUS Prep/Smith v. Arizona).
  3. Upload each PDF named NN Title.pdf per the table (keep the numbers so they sort in reading order), e.g. 02 Cert Petition.pdf, 06 Respondent Merits Brief.pdf.
  4. remarkable_browse the folder afterward to confirm everything landed.

Step 4 — Report

Give the user a manifest: caption, docket number, argument date/status, each document uploaded (with filing date where the docket shows it), each document not available and why, companion cases, and the amicus count with an offer to pull specific ones.

同梱ファイル

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

よくある質問

AIスキル「Case Prep」では何ができますか?

Gather the full document set for a SCOTUS case being prepped for a podcast episode, class, or article — cert-stage filings, merits briefs, lower-court opinion, questions presented, and oral-argument transcript — and load them onto the user's reMarkable in a per-case folder. Manual trigger — use when the user says "prep <case>", "grab the briefs for <case>", "load up <case>", or similar.

TypingMindでCase Prepを使うメリットは何ですか?

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

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

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

Case Prepを使えるAIモデルはどれですか?

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

Case Prepは何個のAIモデルで使えますか?

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

AIスキル「Case Prep」は無料ですか?

はい。daneppsがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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