Litigation Hub logo

Litigation Hub

Community
Youchu-lawhub
litigation-hub

中国民商事诉讼工具箱入口——识别用户意图并路由到合适的技能,提供技能导览与简单工作流编排。当用户请求不明确属于哪个技能时自动激活。触发词:有什么功能、帮助、技能列表、导览。

Overview

PublisherYouchu-lawhub
Repositorycn-litigation-toolkit
Skill namelitigation-hub
Stars
31
Forks
4
Bundled files
Instructions only
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.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by Youchu-lawhub on GitHub. Read the source before you install it.

Installation

Install the Litigation Hub 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/Youchu-lawhub/cn-litigation-toolkit/tree/main/skills/litigation-hub
  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/Youchu-lawhub/cn-litigation-toolkit.git /tmp/cn-litigation-toolkit
mkdir -p .claude/skills
cp -r /tmp/cn-litigation-toolkit/skills/litigation-hub .claude/skills/litigation-hub
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Litigation Hub 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 Litigation Hub 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 Litigation Hub 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.

诉讼套件中枢(litigation-hub)

描述你的需求,我识别意图并路由到对应技能。说"有什么功能"查看全景。


前置

  1. 读取 profile.md。不存在 → 提示运行 /onboarding-interview。
  2. 有激活案件(matters/{slug}/matter.md)→ 用案件配置覆盖全局参数。
  3. MCP 健康检查(见下)

MCP 健康检查

读取 profile.md「外部能力后端」配置,与 MCP.list_tools 实际探测结果比对:

  1. 调用 MCP.list_tools 获取当前已连接的 MCP 工具列表
  2. 对照 profile.md 中配置的首选后端,检查对应 MCP 是否在线
  3. 配置与实际一致 → 静默继续
  4. 配置了但实际未连接 → 提醒用户:"profile.md 配置了{后端名}作为{能力类}首选,但当前未检测到该 MCP 连接。请确认是否已在 宿主平台的连接器/MCP 设置 中启用,或运行 /customize 更新配置。"
  5. 未配置任何后端 → 提示用户:"当前未配置任何外部能力后端,所有技能将以降级模式运行。建议运行 /onboarding-interview 完成配置,或前往宿主平台的连接器/MCP 设置(Agent 运行时 / Claude Code / Cursor / Gemini CLI / OpenCode 等) 按需接入。"

技能全景

板块技能一句话
基础设施/document-parse上传文件解析为结构化 Markdown
/legal-verification输出前法律引用核验闸门
/document-formattingWord 排版格式合规闸门
/litigation-knowledge-base三板块知识沉淀与检索
文书生成/plaintiff-complaint起诉状/上诉状/再审申请书/仲裁申请书
/defense-statement答辩状(一审/二审/再审/仲裁)
/evidence-index证据排序分组撰写
/evidence-binder证据装册编排与目录生成
/cross-examination逐项三性质证
/trial-outline庭前全套提纲+询问清单
/agency-opinion庭前代理意见+庭后补充(一/二/再审)
/procedural-documents八大家族四十余种程序文书
辅助工作/litigation-visualization法律关系/时间线 HTML 交互图
/case-facts事实主文档+关系图+时间轴
/element-analysis请求权基础攻防审查
/asset-discovery"四通保全详图"架构+保全优先级矩阵+操作路线图
/legal-research法律研究报告(md)
/new-law-explained新旧对比律所级解读(md)
案件管理/case-manager建档/跟进/期限/全景/结案/归档
/case-review庭审/判决/结案三级复盘
配置/onboarding-interview首次实践画像配置
/customize单项快速修改 profile.md 配置

路由逻辑

  1. 用户明确提及技能名 → 直接路由
  2. 关键词匹配(起诉/答辩/质证/保全/期限/复盘/研究等)→ 路由到对应技能
  3. 多步骤任务 → 编排工作流(见下)
  4. 无法判断 → 1个澄清问题
  5. 降级路由提示:路由到下游技能时,若已知该技能依赖的后端不可用(根据 MCP 健康检查结果),在路由说明中附注降级提示,例如:"正在路由到 /legal-research。注意:法律检索后端当前未连接,报告中的法条引用将标注为 [L4-法条待验证],建议人工复核。"

典型工作流

场景技能序列
收到起诉状准备答辩事实梳理 → 攻防分析 → 答辩状 → 质证意见 → 法律核验 → 文书排版
准备起诉事实梳理 → 攻防分析 → 主诉诉状 → 证据目录 → 法律核验 → 文书排版
新案件建档案件管家(建档) → 计算首批期限
收到判决case-review → 案件管家(结案) → 知识库(沉淀)
庭前准备庭审提纲 → 可视化(辅助图) → 法律核验 → 文书排版
庭后收尾代理词(补充意见) → 法律核验 → 文书排版
程序性文书起草procedural-documents → 法律核验 → 文书排版
法律研究/新法解读法律研究报告 或 新法解读 → 法律核验(Markdown 交付,不过排版闸门)

闸门强制:凡工作流末端产出正式文书(诉状、答辩状、代理词、程序性文书、庭审提纲等)的场景,法律核验 → 文书排版两道闸门为强制项,不可省略、不可静默跳过。仅法律研究报告 / 新法解读因默认交付 Markdown 不过排版闸门,但仍需过法律核验。

编排规则:产出文书流不超过 6 步(含末端两道闸门);每步完成后确认继续;产出自动同步案件管家。


执行规则

  1. 只路由不生成——绝不自行产出文书
  2. 快速路由——1轮内完成判断
  3. 编排节制——简单请求直接路由,复杂任务才编排

Frequently asked questions

What does the Litigation Hub AI skill do?

中国民商事诉讼工具箱入口——识别用户意图并路由到合适的技能,提供技能导览与简单工作流编排。当用户请求不明确属于哪个技能时自动激活。触发词:有什么功能、帮助、技能列表、导览。

Why use Litigation Hub on TypingMind?

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

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Youchu-lawhub/cn-litigation-toolkit/tree/main/skills/litigation-hub. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Litigation Hub?

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 Litigation Hub?

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

Is the Litigation Hub AI skill free?

It is published on GitHub by Youchu-lawhub. Check the repository for licensing terms. 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 👇