Logo Swiss Legal Research

Swiss Legal Research

Cộng đồng
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

Tổng quan

Nhà phát hànhfedec65
Kho mãbettercallclaude
Tên kỹ năngswiss-legal-research
Sao
46
Bản fork
10
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépAGPL-3.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được fedec65 công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Swiss Legal Research trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/fedec65/bettercallclaude/tree/main/bettercallclaude/skills/swiss-legal-research
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân 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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Swiss Legal Research trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Swiss Legal Research ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Swiss Legal Research với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Câu hỏi thường gặp

Kỹ năng AI Swiss Legal Research làm được gì?

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

Vì sao nên dùng Swiss Legal Research trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Swiss Legal Research là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Swiss Legal Research trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/fedec65/bettercallclaude/tree/main/bettercallclaude/skills/swiss-legal-research. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Swiss Legal Research?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Swiss Legal Research với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Swiss Legal Research với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Swiss Legal Research có miễn phí không?

Có. Kỹ năng này được fedec65 phát hành trên GitHub theo giấy phép AGPL-3.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇