Cn Judicial Rules logo

Cn Judicial Rules

Community
vivy-yi
cn-judicial-rules

中文司法裁判规则库——2117 条结构化裁判规则, 覆盖 414 个案由、6 种性质(裁判规则/实务口径/法条解释/学说争议/程序性规则/实体性规则)。 每条规则包含完整推理链(争议焦点+裁判规则+类案提示+判断标准+审理方法论+律师实操要点+法条依据)。 GCL 推理原子能力(deductive-reasoning/argument-strength-evaluation/case-retrieval)的 ground truth 数据集。

Overview

Publishervivy-yi
RepositoryGreater-China-Legal
Skill namecn-judicial-rules
Stars
49
Forks
9
Bundled files
1
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 vivy-yi on GitHub. Read the source before you install it.

Installation

Install the Cn Judicial Rules 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/vivy-yi/Greater-China-Legal/tree/main/plugins/legal-atomic/cn-judicial-rules
  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/vivy-yi/Greater-China-Legal.git /tmp/Greater-China-Legal
mkdir -p .claude/skills
cp -r /tmp/Greater-China-Legal/plugins/legal-atomic/cn-judicial-rules .claude/skills/cn-judicial-rules
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Cn Judicial Rules 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 Cn Judicial Rules 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 Cn Judicial Rules 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.

/cn-judicial-rules — 中文司法裁判规则库

数据来源

仓库:https://github.com/laubeing-droid/unified-legal-ai-cn 路径:data/裁判规则数据库/rules_all.json 本地副本:plugins/legal-atomic/cn-judicial-rules/data/rules_v2026.06.json

数据规模

  • 总规则数:2117 条
  • 覆盖案由:414 个
  • 性质分类:
性质数量含义
裁判规则1870法院判决中提炼的规则
实务口径115律师/法官实务处理意见
法条解释100对具体法条含义的官方解读
学说争议12学术争议性问题
程序性规则12诉讼程序规定
实体性规则8实体权利义务规定

规则结构

每条规则是一个 JSON 对象,字段:

json
{
  "rule_id": "PC-001",                      // 规则编号
  "性质": "裁判规则",                       // 规则类型
  "关键词": ["国家赔偿", "责任主体", ...],   // 触发关键词
  "案由": "国家赔偿纠纷",                    // 适用案由
  "争议焦点": "...",                         // 该规则针对的核心问题
  "裁判规则": "...",                         // 一句话总结
  "类案提示": "...",                         // 法院通常如何认定
  "争议空间": ["..."],                      // 少数派观点
  "适用条件": "...",                         // 何时适用
  "判断标准": {
    "核心公式": "...",
    "数值区间": "...",
    "考量因素": ["..."],
    "排除情形": ["..."]
  },
  "审理方法论": {
    "审查顺序": ["..."],                    // AI 可直接当工作流
    "关键判断点": ["..."],
    "常见错误": ["..."]
  },
  "推理链": ["..."],                         // 三段论推理过程
  "律师实操要点": {
    "举证方向": ["..."],
    "证据准备": ["..."],
    "常见抗辩": ["..."],
    "风险提示": [
      { "风险": "...", "等级": "致命" }
    ],
    "策略建议": ["..."]
  },
  "赔偿/法律后果": {
    "项目": "...",
    "计算方式": "...",
    "区间范围": "...",
    "典型案例参考": "..."
  },
  "法条依据": [
    { "法规": "...", "条款": "...", "要点": "..." }
  ]
}

使用方式

1. 命令行(gcl CLI)

bash
# 查询相关规则
gcl rules <关键词>

# 按案由查询
gcl rules-by-case <案由名>

# 按规则 ID 查询
gcl rule <rule_id>

2. 在 SKILL.md 中调用

yaml
---
data_source: cn-judicial-rules
# 引用方式见具体场景 skill
---

3. AI 推理时使用

输入:用户问题
  → 调用 legal-element-extraction 提取关键事实
  → 在裁判规则库中关键词匹配
  → 找到相关规则后输出
    - 审查顺序(来自"审理方法论")
    - 风险等级(来自"律师实操要点.风险提示")
    - 法条依据(来自"法条依据")
  → 标注 [data: cn-judicial-rules]

案例分布

按案由的 Top 15:

案由规则数
刑事207
立案70
行政67
行政纠纷62
刑事案件62
民事58
综合48
合同纠纷43
涉外民商事纠纷35
股东出资纠纷30
民商事27
知产27
环境资源26
国家赔偿24
民事执行23

重要边界

本数据集是离线 ground truth,不是实时权威:

  • ❌ 不替代付费法律数据库(北大法宝/元典)
  • ❌ 不能保证所有规则与最新司法解释完全一致
  • ❌ 实际案件中需结合具体事实由律师判断

使用场景:

  • ✅ AI 推理时的离线 ground truth
  • ✅ 审查顺序和判断标准的参考
  • ✅ 风险等级(致命/重要/一般)的量化依据
  • ✅ 客户紧急问题、不便连外网时的备选

更新机制

  • 当前版本:v2026.06(2026-06-12 生成)
  • 更新方式:监控上游仓库变更,差异导入
  • 检查频率:每月一次(可由 cron task 触发)

标注约定

使用本数据源时,所有输出必须标注:

[data: cn-judicial-rules, rule_id=PC-XXX, version=v2026.06]

让客户知道结论的可信度。


Greater China Legal — legal-atomic: cn-judicial-rules v1.0.0

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 Cn Judicial Rules AI skill do?

中文司法裁判规则库——2117 条结构化裁判规则, 覆盖 414 个案由、6 种性质(裁判规则/实务口径/法条解释/学说争议/程序性规则/实体性规则)。 每条规则包含完整推理链(争议焦点+裁判规则+类案提示+判断标准+审理方法论+律师实操要点+法条依据)。 GCL 推理原子能力(deductive-reasoning/argument-strength-evaluation/case-retrieval)的 ground truth 数据集。

Why use Cn Judicial Rules on TypingMind?

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

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/vivy-yi/Greater-China-Legal/tree/main/plugins/legal-atomic/cn-judicial-rules. 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 Cn Judicial Rules?

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 Cn Judicial Rules?

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

Is the Cn Judicial Rules AI skill free?

It is published on GitHub by vivy-yi. 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 👇