legal-qa-extractor SKILL.md skillA
legal-qa-extractor from cat-xierluo/legal-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add cat-xierluo/legal-skills/legal-qa-extractor@v1.0.0Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- cat-xierluo/legal-skills
- Path
skills/legal-qa-extractor/SKILL.md- Versions recorded
- 5
- Latest version
- v1.0.0, committed Aug 5, 2026
- First version recorded
- Mar 21, 2026
- Size
- 7,837 bytes
- Repository stars
- 775
- License
- none declared
从律师与客户沟通记录中提取有价值的法律问答对,生成结构化知识库内容。本技能应在用户需要整理客户咨询记录、从对话中提取可复用法律知识、创建问答知识库、或准备内容营销素材时使用。支持严格客户信息脱敏处理。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 法律问答提取技能
## 概述
从律师与客户的沟通记录中提取有价值的**法律问答对**(客户问题 + 律师解答),生成结构化知识库内容。适用于将客户咨询转化为可复用的法律知识,供后续整理成文章、案例或学习材料。
**核心价值**:提取那些可以被其他客户复用的问答内容,而不是单一客户的具体案情。
## 核心原则
### 客户信息保护
**绝对禁止**在问答内容中包含:
- ❌ 客户真实姓名
- ❌ 企业/机构名称
- ❌ 具体地址、联系方式
- ❌ 任何可识别个人或企业的信息
**脱敏处理标准**:
- ✅ 客户姓名 → 使用"当事人"、"客户"、"甲/乙"等代称
- ✅ 企业名称 → 使用"某公司"、"某企业"、"该企业"等代称
- ✅ 具体信息 → 模糊化为"某地"、"某时间"、"相关人员"等
- ✅ 客户原话 → 脱敏后引用:"客户询问..."而非"张总说..."
### 问答对的价值判断
提取的问答应该满足以下条件之一:
- **普遍性**:其他客户也可能遇到同类问题
- **典型性**:代表了某类法律场景的常见关切
- **教育性**:律师的解答有普法价值或指导意义
- **复用性**:可以独立成文或作为知识库条目
## 工作流程
### 步骤 1:分析输入内容
获取沟通记录文档和用户的具体要求,理解:
- 文档中的沟通内容和情境
- 用户希望重点关注哪些方面
- 哪些问答具有复用价值
### 步骤 2:识别有价值的问答对
**完整梳理文档中的问答内容**,按以下维度识别价值:
#### 问答识别维度
1. **直接问答** - 客户明确提出问题,律师给出解答
2. **追问回应** - 客户追问,律师进一步解释
3. **风险提醒** - 律师主动提醒的风险点及应对建议
4. **操作指引** - 涉及流程、步骤、注意事项的问答
5. **普遍关切** - 其他客户也可能遇到的同类问题
#### 问答提取方法
- **语义分析**:理解客户真实问题和律师核心观点
- **逻辑归纳**:将分散的对话整理为独立问答对
- **价值评估**:判断问答是否具有普遍适用性
- **标准化表述**:将口语化表达转化为规范的问答格式
### 步骤 3:生成结构化报告
输出文件保存至**原文档的同一目录**,文件命名:`{原文档名}_法律问答提取_{YYYYMMDD}.md`
**输出格式**详见 [output-template.md](references/output-template.md)。
每个问答对包含以下部分:
- **问题**:客户提出的问题(标准化表述)
- **律师解答**:律师的核心观点和建议(300-500字)
- **问题背景**(可选):该问题出现的情境(200-300字)
…Read the whole file at its exact version.
How to install
mdr add cat-xierluo/legal-skills/legal-qa-extractor@sha256:bd51ce83b2a3cc49The line at the top of this page pins the label v1.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_wccjsjikfyo7wd2s)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Mar 21, 2026 and Aug 5, 2026, about one every 34 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.0.0 latest | 2026-08-05 | b61faec | 7,837 B | A | view · diff |
| v1.0.0 | 2026-05-10 | 93b5e87 | 7,919 B | A | view · diff |
| v1.0.0 | 2026-04-15 | 3a71ace | 4,454 B | A | view · diff |
| v1.0.0 | 2026-04-05 | 61824f4 | 4,461 B | A | view · diff |
| v1.0.0 | 2026-03-21 | 70b84d1 | 4,461 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (7837 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
cat-xierluo/legal-skills · 775 stars · license none declared · pushed 2026-11-01 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_wccjsjikfyo7wd2s GET https://markdownregistry.com/api/v1/resolve?ref=cat-xierluo/legal-skills/legal-qa-extractor GET https://markdownregistry.com/api/v1/blob/bd51ce83b2a3cc49bef86110d6948aa24134c748b83be03cedee410f8a08577f
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.