pkulaw-mcp-citation-validator

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

A legal-citation checking tool that reviews references to laws already present in a draft, answer, memorandum, or contract-review record. It checks the law's name, article or section number, and citation wording.

In plain words
What is it for?
It is for checking existing statute citations, suggesting corrections, and marking references as matched, unmatched, or requiring manual review.
Why use it?
It helps catch inaccurate or inconsistent legal references before they are relied on, while clearly separating confirmed results from items needing review.

Skill for Claude CodeCodex

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

Good fit It is for checking existing statute citations, suggesting corrections, and marking references as matched, unmatched, or requiring manual review.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/neu-zha/legal-ai-skills/pkulaw-mcp-citation-validator"><img src="https://agentmods.dev/badge/skills/neu-zha/legal-ai-skills/pkulaw-mcp-citation-validator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 141 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 833 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.00141 $0.00833
Opus 5 $0.00071 $0.00417
Sonnet 5 $0.00028 $0.00167
Haiku 4.5 $0.00014 $0.00083

Measured 12d ago against content hash 074d42a812f0, 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-citation-validator 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-citation-validator/SKILL.md · 87 lines

What it actually says

北大法宝 MCP:法条引用核验(citation-validator)

这个 Skill 只负责一件事:检查已经写出来的法条引用是否需要修正。

它不负责替代法规检索,也不负责直接判断实体结论一定成立。 如果用户还没有引用文本,只是想“先找相关法规”,应转到法规检索或精准法条 Skill。

先看边界

  • “核验通过”只表示与当次工具返回一致,不等于已经完成正式法律审查。
  • 命中不明确、存在歧义、或文本本身表述过于含混时,只能标记“需人工复核”。
  • 不得把核验工具的返回扩大解释成“结论当然正确”。

默认路由

  • 用户给你一段已有草稿、问答、摘要、审查意见,想核对法条引用:
    • citation-validator
  • 用户想先找法规依据:
    • pkulaw-mcp-law-retrievalpkulaw-mcp-fatiao-precise

推荐工作流

  1. 先确认用户提供的是待核验文本,而不是单纯检索需求。
  2. tools 确认真实 <toolName> 与参数名。
  3. 提交待核验文本。
  4. 按“原引用 -> 核对状态 -> 修正建议”整理输出。
  5. 把“命中”“不命中”“需复核”明确分开。

失败与降级

允许的失败输出

当前未拿到法条引用核验结果。

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

建议动作:
- 检查 `pkulaw-mcp` 配置
- 检查引用文本是否过短或过于含混
- 如需先找法规,请转到法规检索或精准法条路径

允许的保守输出

  • 结果不明确 -> 标记“需人工复核”
  • 不得强行写“核验通过”

输出结构

  1. 原引用
  2. 核对状态
  3. 修正建议
  4. 备注(如需人工复核)

终端复现与排障

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

pkulaw-mcp tools citation-validator
pkulaw-mcp citation-validator <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 · 87 lines · 141 tokens per session scan A 074d42a812f0

Subscribe to this mod's changes

pkulaw-mcp-citation-validator is a skill published in the GitHub repository NEU-ZHA/legal-ai-skills (64 stars, last pushed 23d ago), licensed MIT. It adds 141 tokens to every session and 833 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