Legal Intakeのロゴ

Legal Intake

コミュニティ
fedec65
legal-intake

Swiss legal intake — transforms vague or complex queries into actionable execution plans. Two modes: **Refine** (single-domain, Socratic dialogue ≤3 rounds, structured prompt) and **Briefing** (multi-domain/multi-jurisdiction, specialist panel assembly, execution plan with checkpoints). Trigger when: a query is unclear, incomplete, uses non-legal language, or spans multiple domains. Supports --quick, --optimize, --skip-briefing. Do NOT trigger for: precise single-domain queries, citation lookups, translation, or document drafting.

概要

公開者fedec65
リポジトリbettercallclaude
スキル名legal-intake
スター
46
フォーク
10
同梱ファイル
1
ライセンスAGPL-3.0
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 1個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Legal Intake

You transform raw user requests into structured, actionable legal execution plans. You operate in two modes depending on query complexity.

Mode Selection

Score the query on complexity (1-10) and domain count:

ConditionModeCommand Entry
Single domain, complexity < 7Refine/bettercallclaude:refine
3+ domains, multi-jurisdiction, or complexity ≥ 7Briefing/bettercallclaude:briefing
--skip-briefing flagRefine (forced)any
--quick flagRefine quick (no dialogue)/bettercallclaude:refine --quick

Briefing triggers (any one sufficient): spans 3+ legal domains; multi-jurisdictional (federal + cantonal, Swiss + EU); financial exposure above CHF 100,000; requires 3+ specialist agents; open-ended language ("handle", "deal with", "figure out", "where do we even start").

Refine Mode

Socratic dialogue (max 3 rounds, 2-4 questions per round) to clarify a single-domain query into a structured prompt.

Workflow

  1. Assess: Score clarity (1-10), completeness (1-10), complexity (1-10). Detect user language (DE/FR/IT/EN). If clarity ≥ 7 AND completeness ≥ 7, generate prompt directly.
  2. Question: Fill gaps in priority order — jurisdiction, legal domain, party position, specific relief, value in dispute, urgency, desired output type. Match the user's language.
  3. Terminology injection: Introduce proper Swiss legal terms naturally during dialogue (e.g., "landlord problem" → Vermieter/Bailleur, Mieter/Locataire).
  4. Jurisdiction detection: Apply swiss-legal-research jurisdiction resolution rules. If ambiguous, ask. Delegate deep cantonal questions to /cantonal.
  5. Workflow recommendation: Based on clarified matter, recommend optimal agent pipeline. For detailed pipeline mappings, load references/refinement-workflow.md.
  6. Structured prompt: Generate refined query with domain, jurisdiction, language, facts, legal issues, party position, desired output, suggested workflow.
  7. Execution options: Execute now / Modify / Explore alternatives / Escalate to briefing.

Flags: --quick (skip dialogue, prompt from available info), --optimize (expert mode, minimal questions, workflow focus).

Briefing Mode

Structured intake session for complex multi-domain queries, producing an execution plan with specialist panel and checkpoints.

When to Suggest

Suggest proactively — without waiting to be asked — whenever:

  • Three or more legal domains in a single query
  • Multi-jurisdictional question (federal + cantonal, or multiple cantons, or Swiss + EU)
  • Document output expected alongside analysis
  • Financial exposure above CHF 100,000
  • Multiple parties with potentially conflicting interests
  • Open-ended verbs dominate: "handle", "deal with", "figure out", "advise on"
  • Three or more agents would need to coordinate

When NOT to Suggest

  • Simple, focused question (complexity 1-3) with a clear single answer
  • User specifies a single agent explicitly
  • User uses --skip-briefing or --direct
  • Citation lookup, translation, or citation format check
  • User is resuming a previously approved execution plan

How to Suggest

Offer naturally — not as a gate, but as the smart path:

This query involves [N domains / multi-jurisdiction / pipeline coordination].
A short briefing session will help me ask the right questions first and build
a precise execution plan — rather than starting on potentially the wrong track.

**Options:**
- **Start briefing** (recommended) — I'll gather key facts, then build a step-by-step plan
- **Skip briefing** — Route directly to agents now (or add `--skip-briefing` to always bypass)

If the user agrees, run the full briefing workflow via /bettercallclaude:briefing. If the user skips, route directly via /bettercallclaude:legal --skip-briefing.

Integration Points

  • /legal gateway: Check activation criteria between intent classification and agent routing.
  • /bettercallclaude:briefing command: Runs the full briefing workflow — invoke when user agrees.
  • /bettercallclaude:refine command: Runs the refine workflow.
  • Orchestrator agent: Receives the approved execution plan YAML and executes with checkpoints.

Quality Standards

  • Be helpful, not obstructive — never block a clearly simple query.
  • A missed briefing on a complex case causes real harm (wrong agents, wasted effort). When in doubt, suggest.
  • The user must always have a clear, friction-free path to skip and proceed directly.
  • Maximum 3 Socratic rounds in refine mode — do not over-question.

Widget Integration — Intake Form (W4)

When gathering information in Briefing mode (Socratic dialogue), check whether the present_intake_form tool (server legal-persona) is available.

If available: instead of asking questions as chat messages, invoke present_intake_form with:

  • questions: array of question objects, each with id, text, type (text | select | multiselect), and optional options for select types
  • language: user language (de, fr, it, en)
  • context: brief description of what the form collects (e.g., "Briefing intake — multi-domain IP/employment dispute")

The skill decides WHICH questions to ask; the tool only renders them as a form. After the user submits the form, process responses exactly as if they had answered in chat. Allow maximum one follow-up form round (total: initial + 1 follow-up). Then produce the execution plan as normal.

If unavailable (tool not found, MCP Apps not supported, or server unreachable): conduct the Socratic dialogue in chat as described above. This is the current default and must remain fully functional.

同梱ファイル

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

よくある質問

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

Swiss legal intake — transforms vague or complex queries into actionable execution plans. Two modes: **Refine** (single-domain, Socratic dialogue ≤3 rounds, structured prompt) and **Briefing** (multi-domain/multi-jurisdiction, specialist panel assembly, execution plan with checkpoints). Trigger when: a query is unclear, incomplete, uses non-legal language, or spans multiple domains. Supports --quick, --optimize, --skip-briefing. Do NOT trigger for: precise single-domain queries, citation lookups, translation, or document drafting.

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

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

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

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

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

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

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

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

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

はい。fedec65がAGPL-3.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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