# Pkulaw Mcp Doc Link

> >

- **Type:** Skill
- **Install:** `agentstack add skill-neu-zha-legal-ai-skills-pkulaw-mcp-doc-link`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [NEU-ZHA](https://agentstack.voostack.com/s/neu-zha)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [NEU-ZHA](https://github.com/NEU-ZHA)
- **Source:** https://github.com/NEU-ZHA/legal-ai-skills/tree/main/skills/pkulaw-mcp-doc-link

## Install

```sh
agentstack add skill-neu-zha-legal-ai-skills-pkulaw-mcp-doc-link
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 北大法宝 MCP：法宝超链（doc-link）

这个 Skill 只负责一件事：**把现有内容中的法律引用链接化。**

它提升的是可追溯性和阅读体验，不等于自动完成真实性判断。
如果引用本身是否准确还没核验，应先考虑 `citation-validator` 或人工复核。

## 先看边界

- 生成了链接，不表示引用语义上一定准确。
- 未命中链接时，不得手工拼接近似链接冒充结果。
- 如果用户还没有现成文本，而只是想“先找法规/案例”，应先走检索 Skill。

## 默认路由

- 用户要“给内容加法宝链接”：
  - 走 `doc-link`
- 用户要“先找法规/案例再输出”：
  - 先用检索 Skill，再按需接入本 Skill

## 推荐工作流

1. 确认输入是已有正文，而不是检索需求。
2. 用 `tools` 确认真实 `` 与参数名。
3. 提交待处理文本。
4. 输出增强后的链接化内容。
5. 单列链接命中摘要与未命中项。

## 失败与降级

### 允许的失败输出

```markdown
当前未拿到法宝超链增强结果。

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

建议动作：
- 检查 `pkulaw-mcp` 配置
- 检查文本中的法规或案例引用是否足够标准
- 如需先找依据，请先走检索路径
```

### 允许的保守输出

- 只交付原始纯文本并声明“链接待补”
- 对未命中引用给出“可改写建议”，但不手工伪造链接

## 输出结构

1. 增强后正文
2. 链接命中摘要
3. 未命中项
4. 改写建议（如有）

## 终端复现与排障

如需在终端复现，请先安装 `@pkulaw/mcp-cli`；安装后命令为 `pkulaw-mcp`。

```bash
pkulaw-mcp tools doc-link
pkulaw-mcp doc-link  ... --json
```

## 补充材料

- 示例见 [examples.md](examples.md)

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [NEU-ZHA](https://github.com/NEU-ZHA)
- **Source:** [NEU-ZHA/legal-ai-skills](https://github.com/NEU-ZHA/legal-ai-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-neu-zha-legal-ai-skills-pkulaw-mcp-doc-link
- Seller: https://agentstack.voostack.com/s/neu-zha
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
