pkulaw-mcp-law-recognition

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

A Chinese-language tool for finding possible legal citations in an existing document, such as a contract, letter, response, or memo. It identifies likely law names, article numbers, and citation clues for later checking.

In plain words
What is it for?
Use it to scan existing text for possible legal citations, collect source leads, and flag uncertain matches for manual review.
Why use it?
Long documents may contain unclear, abbreviated, or incomplete references to laws. This helps locate those references without treating an unverified match as confirmed legal authority.

Skill for Claude CodeCodex

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

Good fit Use it to scan existing text for possible legal citations, collect source leads, and flag uncertain matches for manual review.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/neu-zha/legal-ai-skills/pkulaw-mcp-law-recognition
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-law-recognition
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-law-recognition

README.md
[![agentmods](https://agentmods.dev/badge/skills/neu-zha/legal-ai-skills/pkulaw-mcp-law-recognition/github.svg)](https://agentmods.dev/skills/neu-zha/legal-ai-skills/pkulaw-mcp-law-recognition)
Your own site
<a href="https://agentmods.dev/skills/neu-zha/legal-ai-skills/pkulaw-mcp-law-recognition"><img src="https://agentmods.dev/badge/skills/neu-zha/legal-ai-skills/pkulaw-mcp-law-recognition/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-law-recognition

Your own site · 80×15
<a href="https://agentmods.dev/skills/neu-zha/legal-ai-skills/pkulaw-mcp-law-recognition"><img src="https://agentmods.dev/badge/skills/neu-zha/legal-ai-skills/pkulaw-mcp-law-recognition.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 131 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 855 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.00131 $0.00855
Opus 5 $0.00066 $0.00428
Sonnet 5 $0.00026 $0.00171
Haiku 4.5 $0.00013 $0.00085

Measured 12d ago against content hash 177da724851d, 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-law-recognition 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.

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-law-recognition/SKILL.md · 89 lines

What it actually says

北大法宝 MCP:法条识别与溯源(law-recognition)

这个 Skill 只负责一件事:从现有文本里识别潜在法规引用,并给出可继续核查的线索。

识别结果本身不是最终正式引用。 如果需要条文原文,应继续转到精准法条 Skill;如果只是想找某个主题相关法规,应转到法规检索 Skill。

先看边界

  • 识别出来的法规名、条号、线索,只能视为候选结果或核查起点。
  • 对低置信、歧义命中、简称匹配、旧法名称映射等情况,必须标记人工复核。
  • 不能把“识别到了某条法规”直接写成“该条法规当然适用”。

默认路由

  • 输入是一段已有文本,里面可能包含法规引用:
    • law-recognition
  • 输入是“帮我找某主题法规”:
    • pkulaw-mcp-law-retrieval
  • 输入是“已知法规名 + 条号,要看原文”:
    • pkulaw-mcp-fatiao-precise

推荐工作流

  1. 确认输入是待识别文本,而不是纯检索问题。
  2. tools 确认真实 <toolName> 与参数名。
  3. 提交待识别文本。
  4. 输出识别到的法规名、条款信息与溯源线索。
  5. 对低置信或歧义命中单列“需人工复核”。

失败与降级

允许的失败输出

当前未拿到法条识别结果。

失败原因:
- [未认证 / 无订阅 / 无结果 / 工具不存在 / 命令报错]

建议动作:
- 检查 `pkulaw-mcp` 配置
- 检查输入文本是否包含明确法规表达
- 如需先找法规主题,请转到法规检索路径

允许的保守输出

  • 低置信或歧义命中 -> 标记“需人工复核”
  • 不得把候选线索写成已确认引用

输出结构

  1. 识别结果
  2. 溯源线索
  3. 置信提示
  4. 待人工复核项

终端复现与排障

如需在终端复现,请先安装 @pkulaw/mcp-cli;安装后命令为 pkulaw-mcp

pkulaw-mcp tools law-recognition
pkulaw-mcp law-recognition <toolName> ... --json

补充材料

Files

What ships with it

3 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 · 89 lines · 131 tokens per session scan A 177da724851d

Subscribe to this mod's changes

pkulaw-mcp-law-recognition is a skill published in the GitHub repository NEU-ZHA/legal-ai-skills (64 stars, last pushed 23d ago), licensed MIT. It adds 131 tokens to every session and 855 once invoked, about $0.0007 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