Logo: Legal Intake

Legal Intake

Communautéit
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.

Iwwersiicht

Editeurfedec65
Repositorybettercallclaude
Skill-Nummlegal-intake
Stären
46
Forks
10
Matgeliwwert Dateien
1
LizenzAGPL-3.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    fedec65 huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Legal Intake an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/fedec65/bettercallclaude/tree/main/bettercallclaude/skills/legal-intake
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

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
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Legal Intake an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Legal Intake automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Legal Intake net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill 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.

Firwat Legal Intake op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Legal Intake besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Legal Intake an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/fedec65/bettercallclaude/tree/main/bettercallclaude/skills/legal-intake an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Legal Intake benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Legal Intake benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Legal Intake domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Legal Intake gratis?

Jo. fedec65 huet de Skill ënner der Lizenz AGPL-3.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇