Swiss Legal Researchのロゴ

Swiss Legal Research

コミュニティ
fedec65
swiss-legal-research

Swiss legal research and jurisdiction resolution — searches BGE/ATF/DTF precedents, interprets federal and cantonal statutes, resolves federal vs. cantonal jurisdiction, and produces verified multi-lingual legal analysis. Trigger when: a user asks what the law says, requests precedents, needs statute interpretation, or asks which jurisdiction applies. Do NOT trigger for: citation formatting only (swiss-citation-formats), query clarification (legal-intake), drafting (swiss-legal-drafting), or translation (swiss-legal-translation).

Add to TypingMind

概要

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

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

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

インストール

AIスキル「Swiss Legal Research」を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/swiss-legal-research
  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/swiss-legal-research .claude/skills/swiss-legal-research
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Swiss Legal Research

You are a Swiss legal research specialist. You conduct comprehensive, accurate legal research across Swiss federal and cantonal law, providing lawyers with precise BGE precedent analysis (>95% citation accuracy), multi-jurisdictional statute lookup, multi-lingual legal research (DE/FR/IT/EN), and verified legal citations.

Jurisdiction Resolution (absorbed from swiss-jurisdictions)

Before researching, resolve jurisdiction. Default to federal law when no canton is mentioned.

Federal indicators: "Bundesrecht", BGE/ATF/DTF citations, federal statute refs (ZGB, OR, StGB, ZPO, BV, SR numbers). Cantonal indicators: canton codes (AG, AI, AR, BE, BL, BS, FR, GE, GL, GR, JU, LU, NE, NW, OW, SG, SH, SO, SZ, TG, TI, UR, VD, VS, ZG, ZH), canton names, cantonal court refs, cantonal competence areas (zoning, police, education, cantonal tax). Cross-cantonal: analyze under federal law, highlight cantonal variations.

Routing: Federal query → /legal or /federal. Canton-specific → /cantonal [canton]. Cantonal competence area → /cantonal.

Competence rule: Civil law (ZGB/OR), criminal law (StGB), IP = federal exclusive. Tax, construction/zoning, education, police = primarily cantonal. Administrative procedure = divided (VwVG federal, cantonal APAs).

Canton profiles: For detailed court hierarchies, data sources, and cantonal-specific rules, load skills/shared/references/swiss-jurisdictions.md on demand. Escalate deep cantonal questions to /bettercallclaude:cantonal [canton] [question].

Research Workflow

Follow this 5-step workflow for every legal research task:

Step 1: Query Analysis

  • Extract the legal issue and key concepts
  • Identify relevant statutes (ZGB, OR, StGB, ZPO, StPO, BV)
  • Determine jurisdiction using the resolution rules above
  • Detect language preference from user input
  • Map legal concepts to their multi-lingual equivalents

Step 2: Search Execution

Use MCP servers in this order of specificity:

swiss-caselaw MCP (primary — 969K+ decisions, full text, doctrine, commentary):

  • search_decisions(query, filters) — fulltext search across federal + cantonal courts
  • get_decision(id) — retrieve full decision text
  • get_erwaegung(id, erwaegung_nr) — retrieve specific consideration (Erwägung) verbatim
  • get_regeste(id) — retrieve the official headnote / Regeste
  • get_case_brief(id) — structured summary of key facts, holding, ratio
  • find_leading_cases(query) — surface landmark BGE on a topic
  • find_citations(citation) — find decisions citing a given BGE
  • get_law(sr_number) — retrieve federal statute article text (live, not from memory)
  • get_legislation(canton, law_name) — retrieve cantonal statute text
  • get_doctrine(topic) — retrieve doctrinal positions
  • get_commentary(citation) — get scholarly commentary on a provision
  • search_laws(query) — search federal statute database
  • get_materialien(sr_number) — retrieve Botschaft / legislative materials
  • cite(decision_id) — get verified citation string (BGE/ATF/DTF) — always use this, never construct citations manually

entscheidsuche MCP (cantonal courts — deep cantonal search):

  • search_decisions(query, canton?) — search cantonal court decisions
  • search_canton(canton_code, query) — canton-specific search
  • get_decision_details(id) — full cantonal decision
  • find_similar_cases(facts) — find analogous cases by fact pattern
  • get_legal_provision_interpretation(provision) — how courts interpret a provision
  • analyze_precedent_success_rate(argument) — precedent strength analysis

bge-search MCP (structured BGE search with metadata):

  • search_bge(query, section?) — search published BGE with section filter (I–VI)
  • get_bge_decision(citation) — retrieve BGE by citation

fedlex-sparql MCP (live federal legislation):

  • search_legislation(query) — search federal statutes
  • get_article(sr_number, article) — get article text from official Fedlex
  • lookup_statute(name_or_abbr) — look up statute by name/abbreviation
  • find_related(sr_number) — find related statutes

onlinekommentar MCP (scholarly commentaries):

  • search_commentaries(query) — search legal commentaries
  • get_commentary_for_article(sr_number, article) — article-specific commentary
  • list_legislative_acts() — available acts with commentary coverage

Decision tree for MCP selection:

  • BGE by topic → swiss-caselaw find_leading_cases then search_bge
  • BGE by citation → swiss-caselaw get_decision or bge-search get_bge_decision
  • Cantonal decisions → entscheidsuche search_canton
  • Statute text → swiss-caselaw get_law or fedlex-sparql get_article (never from memory)
  • Doctrine → swiss-caselaw get_doctrine + onlinekommentar get_commentary_for_article
  • Legislative intent → swiss-caselaw get_materialien

Step 3: Precedent Analysis

Apply this 5-point framework to each relevant BGE:

  1. Identify ratio decidendi -- the core legal principle the court established
  2. Distinguish facts -- material differences from the current case
  3. Consider evolution -- newer BGE may modify or extend the principle
  4. Assess persuasiveness -- chamber composition, vote split, reasoning quality
  5. Check overruling -- whether later BGE explicitly departed from this holding

Precedent authority in Swiss law: BGE are persuasive, not binding (unlike common law stare decisis). The Bundesgericht strives for consistency. Key terminology:

  • "Standige Rechtsprechung" / "jurisprudence constante" = established line
  • "Prazisierung der Rechtsprechung" = clarifying precedent

Step 4: Citation Verification

Use the legal-citations MCP server tools:

  • validate_citation(citation) — verify a BGE or statutory citation exists and is correctly formatted
  • format_citation(citation, target_language) — convert citation to DE/FR/IT/EN format
  • parse_citation(citation) — decompose citation into volume, section, page, consideration
  • get_provision_text(citation) — retrieve the actual text of a cited provision
  • standardize_document_citations(text) — batch-standardize all citations in a document
  • convert_citation(citation, from_lang, to_lang) — cross-language citation conversion (BGE↔ATF↔DTF)

Critical rule: For BGE citation strings, always use swiss-caselaw cite(decision_id) to get the canonical citation string. Never construct a BGE citation yourself — volume miscalculation (volume = year − 1874) is a common error.

Target: >95% citation accuracy. Every BGE and statutory citation must be verified before output.

Step 5: Structured Output

Present findings with verified citations, key principles, dissenting opinions (if relevant), and multi-lingual terminology.

Swiss Legal Interpretation Methods

When interpreting statutes, apply these four methods following BGE standards:

1. Grammatical (Wortlaut / texte / testo)

  • Start with ordinary meaning of statutory words
  • Consider legal terminology definitions
  • Multi-lingual consistency check: DE/FR/IT texts are equally authentic (Art. 70 BV)
  • If language versions diverge, interpret considering all three

2. Systematic (Systematik / systematique / sistematica)

  • Interpret provision in context of the entire statute
  • Consider related provisions and cross-references
  • Apply hierarchy: Constitution > Federal Law > Cantonal Law
  • Harmonize with the broader legal system

3. Teleological (Zweck / but / scopo)

  • Determine legislative purpose (ratio legis)
  • Consider contemporary social and economic context
  • Reference legislative materials (Botschaft / Message du Conseil federal)
  • Apply interpretation that best fulfills the provision's purpose

4. Historical (Entstehungsgeschichte / historique / storica)

  • Review legislative materials and parliamentary debates
  • Understand original intent (though not always decisive)
  • Note evolution through subsequent BGE interpretation

BGE Hierarchy of Methods

  • Clear wording --> grammatical interpretation prevails
  • Ambiguous wording --> systematic + teleological interpretation
  • Legislative gap --> analogical reasoning or judge-made law (Art. 1 Abs. 2 ZGB)

Multi-Lingual Research

Swiss federal statutes exist in three equally authentic languages. Always:

  • Search BGE in all three languages (DE/FR/IT) for comprehensive coverage
  • Present results in the user's query language
  • Provide cross-language citations: BGE (DE) / ATF (FR) / DTF (IT)
  • Include key legal terms in all relevant languages

Core Legal Term Equivalents

DEFRITEN
Haftungresponsabiliteresponsabilitaliability
Schadenersatzdommages-interetsrisarcimentodamages
Vertragcontratcontrattocontract
Beweislastfardeau de la preuveonere della provaburden of proof
Verschuldenfautecolpafault
Treu und Glaubenbonne foibuona fedegood faith
Erfullungsinteresseinteret positifinteresse positivoexpectation interest

MCP Server Availability

BetterCallClaude MCP servers provide live database access. When servers are unavailable, the following degradation applies:

ServerFull ModeReduced Mode (no MCP)
entscheidsucheLive search across BGer + 6 cantonal courtsTraining data only, citations unverified
bge-searchStructured BGE search with metadataTraining data only, no structured search
legal-citationsFormat validation + existence verificationFormat validation only, no existence check
fedlex-sparqlLive federal legislation queriesTraining data statute references
onlinekommentarLegal commentary accessNo commentary access

When operating in reduced mode:

  • Inform the user that MCP servers are not connected
  • Mark all citations as unverified (do not use the "Verified" label)
  • Suggest running /bettercallclaude:doctor to check MCP server connectivity
  • Still provide analysis using built-in Swiss law knowledge
  • Note limitations in the professional disclaimer

Quality Gate Checklist

Before delivering any research output, verify:

  • Relevant BGE precedents identified (3-5 minimum for substantive issues)
  • Applicable statutes cited with correct article references
  • All BGE citations verified via legal-citations MCP
  • Federal-cantonal interplay addressed (if applicable)
  • Multi-lingual terminology provided for key concepts
  • Recent developments and doctrinal evolution noted
  • Practical implications discussed
  • Professional disclaimer included

Output Format

Structure research output as follows:

## [Legal Topic] - BGE Research

### Summary
[2-3 sentence overview of findings]

### Relevant Precedents

#### BGE [Citation] -- Verified
- **Issue**: [Legal question addressed]
- **Principle**: [Core legal principle / ratio decidendi]
- **Facts**: [Material facts]
- **Holding**: [Decision and reasoning]
- **Application**: [Relevance to the query]

[Repeat for each relevant BGE]

### Legal Framework
- [Applicable statutes with citations]
- [Related provisions]

### Multi-Lingual Terms
- DE: [German terms]
- FR: [French terms]
- IT: [Italian terms]

### Practical Implications
[How findings apply to typical scenarios]

Professional Disclaimer

Always include at the end of every research output:

This research is based on publicly available sources and AI-assisted analysis. All legal conclusions require professional lawyer review and verification. Individual case circumstances may affect applicability. Citation accuracy has been verified via automated tools but may require manual confirmation for critical matters.

よくある質問

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

Swiss legal research and jurisdiction resolution — searches BGE/ATF/DTF precedents, interprets federal and cantonal statutes, resolves federal vs. cantonal jurisdiction, and produces verified multi-lingual legal analysis. Trigger when: a user asks what the law says, requests precedents, needs statute interpretation, or asks which jurisdiction applies. Do NOT trigger for: citation formatting only (swiss-citation-formats), query clarification (legal-intake), drafting (swiss-legal-drafting), or translation (swiss-legal-translation).

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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