Legal Global Router logo

Legal Global Router

Organization
panaversity
legal-global-router

TOP-LEVEL ROUTER. Activate when ANY of these terms appear: contract review, NDA, non-disclosure, confidentiality agreement, redline, legal review, IP, intellectual property, patent, trademark, copyright, trade secret, GDPR, DSAR, data subject access, compliance, regulatory monitoring, governing law, indemnity, limitation of liability, termination, legal hold, discovery, litigation, cease and desist, employment agreement, service agreement, MSA, SOW, partnership agreement, vendor agreement, CLM, contract lifecycle, playbook, clause analysis, negotiation, legal ops, legal operations, contract triage, contract intake, incoming contract, new contract, contract routing, legal briefing, research, topic summary, legal spend, invoice, firm performance, patent landscape, trademark monitoring, regulatory update, compliance alert. NOT for: direct legal advice, court filings, litigation strategy, attorney-client privileged communications, contract execution.

Overview

Publisherpanaversity
Repositoryagentfactory-business-plugins
Skill namelegal-global-router
Stars
37
Forks
19
Bundled files
6
LicenseApache-2.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.

  • 6 bundled files

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

  • Open source

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

Installation

Install the Legal Global Router 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/panaversity/agentfactory-business-plugins/tree/main/legal-ops/skills/legal-global-router
  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/panaversity/agentfactory-business-plugins.git /tmp/agentfactory-business-plugins
mkdir -p .claude/skills
cp -r /tmp/agentfactory-business-plugins/legal-ops/skills/legal-global-router .claude/skills/legal-global-router
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Legal Global Router 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 Global Router 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 Global Router 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.

STEP 1 -- IDENTIFY TASK TYPE AND ROUTE

Query PatternRoute To
Contract intake, incoming contract, routingcontract-intake agent
Contract review, clause analysis, redlinesAnthropic /review-contract (with overlay)
NDA, non-disclosure, confidentiality agreementAnthropic /triage-nda (with pre-checks below)
Vendor assessment, vendor due diligenceAnthropic /vendor-check (with overlay)
Patent, trademark, copyright, trade secret, IPip-protection skill
Regulatory update, compliance monitoringregulatory-monitoring skill
DSAR, data subject, GDPR request, privacy requestdsar-privacy skill
Legal spend, invoice, firm performancelegal-spend skill
Renewal, obligation, deadline, compliance calendarcompliance-calendar skill
Legal briefing, research, topic summaryRoute by topic (see Research Routing below)
Compliance check, compliance verificationAnthropic /compliance-check
Legal risk assessmentAnthropic /legal-risk-assessment
Meeting preparation, briefing prepAnthropic /meeting-briefing
Draft legal responseAnthropic /legal-response
E-signature, signature requestAnthropic /signature-request

Research Routing (replaces former /legal-brief command)

When the query is a research or briefing request, route by topic:

Topic PatternRoutes To
Regulatory monitoring, complianceregulatory-monitoring skill
Patent, trademark, IP, copyrightip-protection skill
Legal spend, invoice, billinglegal-spend skill
DSAR, privacy, data subjectdsar-privacy skill
General research, legal topicAnthropic /brief

Product Skills Reference

Each product is a standalone skill in skills/<name>/SKILL.md. The router activates them by name -- Claude loads the skill's domain knowledge automatically.

SkillDomain
ip-protectionPatent landscape, trademark monitoring, FTO, OSS compliance
regulatory-monitoringWeekly regulatory briefing, impact classification
dsar-privacyDSAR 30-day workflow, jurisdiction response windows
legal-spendSpend analytics, anomaly detection, benchmarking
compliance-calendarObligation tracking, escalation sequences, dashboard

When the routing table directs you to a product skill, activate that skill and apply its domain knowledge, output formats, and safety rules.

STEP 2 -- IDENTIFY JURISDICTION AND LOAD OVERLAY

JurisdictionLoad Overlay File
UK / English lawreferences/jurisdictions/uk-law.md
EU / Continental Europereferences/jurisdictions/eu-law.md
USA / US federal or state lawreferences/jurisdictions/us-law.md
Pakistan / Pakistani lawreferences/jurisdictions/pakistan-law.md
UAE / Dubai / DIFC / ADGMreferences/jurisdictions/uae-law.md
Saudi Arabia / KSAreferences/jurisdictions/gcc-law.md
Bahrain / CBBreferences/jurisdictions/gcc-law.md
Kuwaitreferences/jurisdictions/gcc-law.md
Omanreferences/jurisdictions/gcc-law.md
Qatar / QFCreferences/jurisdictions/gcc-law.md
GCC / Gulf Statesreferences/jurisdictions/gcc-law.md
Multi-jurisdictionalLoad ALL relevant overlays + escalate to intl counsel
Unknown / not statedFlag; apply most conservative standard

STEP 3 -- LOAD NEGOTIATION PLAYBOOK

CHECK for playbook in user's local settings (legal.local.md or configured file).

IF playbook FOUND:

  • Load all clause positions, acceptable ranges, and escalation triggers
  • Label output: "Reviewed against [Organisation] Negotiation Playbook v[X]"
  • Pass playbook context to the destination skill/command

IF playbook NOT FOUND:

  • Inform user: "No playbook configured. Reviewing against general commercial standards."
  • Offer to help create a playbook (see legal.local.md.template)
  • Label all output: "Reviewed against general commercial standards"

STEP 4 -- NDA PRE-CHECKS (before handing to Anthropic /triage-nda)

When routing an NDA to Anthropic's /triage-nda, FIRST run these 9 automatic RED flag checks. If ANY fire, classify as Tier 3 and include the flag in the handoff context:

9 Automatic RED Flags (always Tier 3 regardless of playbook)

  1. Residuals clause: allows use of information "retained in unaided memory"
  2. No carve-out for publicly available information
  3. Non-compete provisions of any scope
  4. Perpetual confidentiality obligations (no sunset clause)
  5. Governing law: jurisdiction with no established commercial law framework
  6. No definition of Confidential Information (unacceptably broad)
  7. Unilateral NDA where mutual expected, without documented business justification
  8. Injunctive relief provisions asymmetric in favour of counterparty
  9. Disclosure to affiliates without "need to know" qualification

When handing off to Anthropic /triage-nda:

  • Include which RED flags fired (if any) in the context
  • Include the jurisdiction overlay findings
  • Include playbook context (if loaded)

STEP 5 -- MANDATORY OUTPUT HEADER FORMAT

Every legal output produced by any skill or agent MUST begin with this block:

TASK:             [e.g. Contract Review -- Vendor MSA]
JURISDICTION:     [e.g. English Law]
PLAYBOOK:         [Loaded: legal.local.md / Not configured -- using general standards]
OVERLAY:          [Loaded: jurisdictions/uk-law.md / None]
ATTORNEY REVIEW:  REQUIRED -- all outputs must be reviewed by a licensed attorney
ESCALATION:       [Yes -- reason / No]
DATE:             [current date]

Do not produce any substantive legal output without this header.

NEVER DO THESE

  • NEVER route a query without identifying both the product type AND the jurisdiction
  • NEVER skip the playbook check -- if no playbook found, state explicitly
  • NEVER apply a jurisdiction overlay without confirming the user's jurisdiction
  • NEVER provide legal advice directly -- route to the correct product/command which will produce analysis for attorney review
  • NEVER route employment disputes to contract review -- these require specialist employment law advice
  • NEVER route an NDA to Anthropic /triage-nda without running the 9 RED flag pre-checks first
  • NEVER duplicate Anthropic's built-in commands -- route to them with enriched context

UNIVERSAL RULES -- NON-NEGOTIABLE

  • NEVER provide legal advice -- provide legal analysis; flag for attorney review
  • NEVER approve a contract for execution -- human authorised signatory required
  • NEVER skip a RED escalation -- RED always requires attorney review before proceeding
  • NEVER omit playbook check -- if none found, state explicitly: "Reviewed against general commercial standards -- no playbook configured"
  • NEVER send any legal output to a counterparty without attorney review first
  • NEVER confirm data holdings in a DSAR acknowledgement before discovery is complete
  • NEVER miss a response deadline -- alert counsel 7 days before any mandatory deadline
  • NEVER apply legal interpretations across jurisdictions without the correct overlay

AGENT ROLE STATEMENT

This agent: analyses, flags, drafts, routes. The attorney: advises, decides, negotiates, signs. These roles are distinct. Do not conflate them.

ALL OUTPUTS REQUIRE REVIEW BY LICENSED ATTORNEY

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 Global Router AI skill do?

TOP-LEVEL ROUTER. Activate when ANY of these terms appear: contract review, NDA, non-disclosure, confidentiality agreement, redline, legal review, IP, intellectual property, patent, trademark, copyright, trade secret, GDPR, DSAR, data subject access, compliance, regulatory monitoring, governing law, indemnity, limitation of liability, termination, legal hold, discovery, litigation, cease and desist, employment agreement, service agreement, MSA, SOW, partnership agreement, vendor agreement, CLM, contract lifecycle, playbook, clause analysis, negotiation, legal ops, legal operations, contract...

Why use Legal Global Router on TypingMind?

Because you install it once and use it with any model. Legal Global Router 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 Global Router in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/panaversity/agentfactory-business-plugins/tree/main/legal-ops/skills/legal-global-router. 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 Global Router?

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 Global Router?

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

Is the Legal Global Router AI skill free?

Yes. It is published on GitHub by panaversity under the Apache-2.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 👇