Logo de Swiss Legal Research

Swiss Legal Research

Comunidade
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

Visão geral

Publicado porfedec65
Repositóriobettercallclaude
Nome da habilidadeswiss-legal-research
Estrelas
46
Forks
10
Arquivos incluídos
Somente instruções
LicençaAGPL-3.0
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por fedec65 no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Swiss Legal Research no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/fedec65/bettercallclaude/tree/main/bettercallclaude/skills/swiss-legal-research
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Swiss Legal Research em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Swiss Legal Research automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Swiss Legal Research não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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.

Perguntas frequentes

O que a habilidade de IA Swiss Legal Research faz?

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

Por que usar Swiss Legal Research no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Swiss Legal Research é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Swiss Legal Research no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/fedec65/bettercallclaude/tree/main/bettercallclaude/skills/swiss-legal-research. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Swiss Legal Research?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Swiss Legal Research?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Swiss Legal Research com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Swiss Legal Research é gratuita?

Sim. A habilidade é publicada no GitHub por fedec65 sob a licença AGPL-3.0. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇