Legal Intake logo

Legal Intake

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

Overview

Publisherfedec65
Repositorybettercallclaude
Skill namelegal-intake
Stars
46
Forks
10
Bundled files
1
LicenseAGPL-3.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by fedec65 on GitHub. Read the source before you install it.

Installation

Install the Legal Intake AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/fedec65/bettercallclaude/tree/main/bettercallclaude/skills/legal-intake
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Legal Intake in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Legal Intake on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Legal Intake is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Legal Intake AI skill do?

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.

Why use Legal Intake on TypingMind?

Because you install it once and use it with any model. Legal Intake is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Legal Intake in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/fedec65/bettercallclaude/tree/main/bettercallclaude/skills/legal-intake. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Legal Intake?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Legal Intake?

As many as you like. As long as a model supports skills, you can use Legal Intake with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Legal Intake AI skill free?

Yes. It is published on GitHub by fedec65 under the AGPL-3.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇