pkulaw-mcp-legal-research

pkulaw-mcp-legal-research is a skill for Claude Code, Codex from NEU-ZHA/legal-ai-skills. It costs 127 tokens per session (2,078 once invoked), scanned A, original, MIT.

A routing workflow for research involving Chinese laws, legal provisions, court cases, citation checks, article or case-number recognition, and source links.

In plain words
What is it for?
Use it to direct a legal question to regulation search, case search, citation verification, or link-building, with a web-based fallback when the connected legal search tools cannot be used.
Why use it?
It helps choose the narrowest suitable legal-search method and avoids presenting unsupported legal details as facts.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to direct a legal question to regulation search, case search, citation verification, or link-building, with a web-based fallback when the connected legal search tools cannot be used.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/neu-zha/legal-ai-skills/pkulaw-mcp-legal-research
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add NEU-ZHA/legal-ai-skills --skill pkulaw-mcp-legal-research
Clone the repo
git clone --depth 1 https://github.com/NEU-ZHA/legal-ai-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pkulaw-mcp-legal-research

README.md
[![agentmods](https://agentmods.dev/badge/skills/neu-zha/legal-ai-skills/pkulaw-mcp-legal-research/github.svg)](https://agentmods.dev/skills/neu-zha/legal-ai-skills/pkulaw-mcp-legal-research)
Your own site
<a href="https://agentmods.dev/skills/neu-zha/legal-ai-skills/pkulaw-mcp-legal-research"><img src="https://agentmods.dev/badge/skills/neu-zha/legal-ai-skills/pkulaw-mcp-legal-research/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pkulaw-mcp-legal-research

Your own site · 80×15
<a href="https://agentmods.dev/skills/neu-zha/legal-ai-skills/pkulaw-mcp-legal-research"><img src="https://agentmods.dev/badge/skills/neu-zha/legal-ai-skills/pkulaw-mcp-legal-research.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 127 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,078 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00127 $0.02078
Opus 5 $0.00063 $0.01039
Sonnet 5 $0.00025 $0.00416
Haiku 4.5 $0.00013 $0.00208

Measured 12d ago against content hash ac23e111334b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

pkulaw-mcp-legal-research scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/recommend_route.py, scripts/test_recommend_route.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/pkulaw-mcp-legal-research/SKILL.md · 134 lines

How it starts

The opening of the file, as written. The whole thing — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.

北大法宝 MCP:有据法律研究(总路由)

这个 Skill 不负责把所有事情都做完,它主要负责一件事:先把用户问题正确分流到合适的法宝原生 MCP 能力或更窄的 Skill。

它和 pkulaw-legal-search 不重复:本 Skill 管原生 MCP 路由;pkulaw-legal-search 管网页/Computer Use 兜底、详情页核验和登录态操作。

如果用户已经明确是“只查法规”或“只查案例”,不要继续停留在总路由层,直接转到更窄的 Skill:

先看边界

  • 这是总路由 Skill,不是最终交付 Skill。
  • 默认任务是“判断走哪条能力链”,不是“自己把所有能力都跑一遍”。
  • 如果某个窄 Skill 已经足够,就应立即转交,不要在这里继续泛化处理。
  • 如果 MCP 不通、当前会话没加载对应工具、返回 401/403/超时/无结果、结果不足、需要详情页链接或需要网页登录态,不要在这里硬撑,立即转 pkulaw-legal-search 的网页/Computer Use 流程。

必须遵守的规则

  1. 未成功拿到法宝 MCP 返回前,不得写出具体法规名称、条号、案号、法院名称或裁判要点。
  2. 工具名 <toolName> 必须以 pkulaw-mcp tools 或 MCP tools/list 为准,不得在正文中写死。
  3. 出现 401/403、无结果、工具不存在或配置缺失时,只能说明失败原因与建议动作。
  4. 每次先选择完成任务所需的最少服务;禁止为了“全面”而并发或顺序调用全部 10 项。
  5. 这是研究辅助与能力路由,不构成正式法律意见。
  6. MCP 路由失败时,默认后备不是空答,而是转 pkulaw-legal-search 用网页/Computer Use 继续查。
  7. 控制台显示的积分是约数,调用前应以用户当时的控制台为准;本 Skill 的关键约束是相对成本顺序。

10 项服务分层

层级 serverId 任务 约积分/次
经济型 fatiao 已知法规名和条号,精准取法条 25
经济型 law-keyword 按标题词/正文词检索法规 25
经济型 case-keyword 按案由词/争点词检索案例 25
升级型 law-semantic 自然语言法规语义检索 125
升级型 case-semantic 案情相似性案例语义检索 125
专门型 law-recognition 从非结构化文本识别并溯源法条 125
专门型 citation-validator 核验和纠正法条引用 125
专门型 doc-link 给已核验依据补法宝链接 125
专门型 case-number 从文本识别案号并溯源 125
综合型 semantic-nlsql 无法可靠拆分的跨库综合检索 125

成本感知总路由

用户真正要做的事 首次调用 何时升级
只查法规依据 pkulaw-mcp-law-retrieval,先 law-keyword 两轮有理由的关键词仍漏掉相关规范时,用一次 law-semantic
已知法规名 + 条号取全文 fatiao 不自动升级;先核对法规名和条号
只查类案样本 pkulaw-mcp-case-retrieval,先 case-keyword 两轮关键词仍找不到事实相似样本时,用一次 case-semantic
已知完整案号找案例 先将完整案号交给 case-keyword 没有精确匹配或要从长文本批量识别时,用 case-number
核验文稿里的法条引用 引用已结构化时直接 citation-validator 不额外调用其他 125 积分服务,除非需要先从长文本抽取引用
从长文本提取法条 law-recognition 提取后只有用户要求核验时,才继续 citation-validator
给已核验引用补链接 doc-link 不用它做法规发现或引用核验
同时研究法规和案例 分别用 law-keyword + case-keyword,预计 50 积分 任务无法可靠拆分或仍有关键缺口时,才用一次 semantic-nlsql

Read the full file on GitHub · 134 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 134 lines · 127 tokens per session scan A ac23e111334b

Subscribe to this mod's changes

pkulaw-mcp-legal-research is a skill published in the GitHub repository NEU-ZHA/legal-ai-skills (64 stars, last pushed 23d ago), licensed MIT. It adds 127 tokens to every session and 2,078 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

specification-writing

A workflow for writing complete patent specifications from patent claims and an invention disclosure. It adapts the document to a chosen jurisdiction, such as the US, Europe, or China.

wanshuiyin/Auto-claude-code-research-in-sleep · 49 tokens

regulatory-research-fallback

Fallback workflow for regulatory research when web extraction tools fail on government PDFs.

HKUDS/OpenSpace · 20 tokens

x-scorecard

OpenSSF Scorecard for assessing open source project security. Check security best practices and compliance. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

x-cmd/x-cmd · 57 tokens

gesellschaftsrechtliche-satzungen-agb

Für Gesellschaftsrechtliche Satzungen AGB Abgrenzung: ordnet Norm, Beweislast und Gegenargument; Ergebnis: Prüfprodukt mit Risiko und nächstem Schritt. Fachgebiet: AGB-Recht-Prüfer. Route: gesellschaftsrechtliche-satzungen-agb.

Klotzkette/claude-fuer-deutsches-recht · 69 tokens

memstack-business-gdpr

Use this skill when the user says 'GDPR', 'data protection', 'privacy compliance', 'DPA', 'DSAR', 'data subject request', 'cookie consent', 'privacy audit', 'CCPA', or asks 'do I need GDPR for this repo'. Scans the repository to detect what personal data is collected, classifies sensitivity, determines whether GDPR…

cwinvestments/memstack · 121 tokens

nda-review

Use when the user uploads or pastes a non-disclosure agreement and asks for review, redline, risk assessment, or a recommendation on whether to sign. Identifies missing standard protections, one-sided or unusual provisions, and operational issues; produces a structured report with severity ratings and citations to…

LegalQuants/lq-ai · 79 tokens