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.
npx skills add lawyerllsx-dotcom/Legal-Workflow-Chain --skill legal-fact-checkergit clone --depth 1 https://github.com/lawyerllsx-dotcom/Legal-Workflow-ChainWrote 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.
[](https://agentmods.dev/skills/lawyerllsx-dotcom/legal-workflow-chain/legal-fact-checker)<a href="https://agentmods.dev/skills/lawyerllsx-dotcom/legal-workflow-chain/legal-fact-checker"><img src="https://agentmods.dev/badge/skills/lawyerllsx-dotcom/legal-workflow-chain/legal-fact-checker/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.
<a href="https://agentmods.dev/skills/lawyerllsx-dotcom/legal-workflow-chain/legal-fact-checker"><img src="https://agentmods.dev/badge/skills/lawyerllsx-dotcom/legal-workflow-chain/legal-fact-checker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00143 | $0.03943 |
| Opus 5 | $0.00072 | $0.01972 |
| Sonnet 5 | $0.00029 | $0.00789 |
| Haiku 4.5 | $0.00014 | $0.00394 |
Grade A, and why
legal-fact-checker 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.
How it starts
The opening of the file, as written. The whole thing — 293 lines — stays where its author put it; the contents beside it link to each section on GitHub.
接力模式检测(所有 skill 通用规则)
加载后静默检查:若上下文存在 [Skill接力: legal-fact-checker] → 接力模式。
- 跳过用户身份询问、新手引导、输出格式选择
- 从上一 skill 的"接力上下文"+"待办"字段直接获取输入
- 聚焦完成待办任务,不主动扩展分析范围
Legal Fact Checker — 法律产出事实核查技能
不触发情况(强制排除 —— 满足任一即不触发)
| 用户意图 | 应交由 |
|---|---|
| 从零检索法条/案例/法规(未提供已有文书) | legal-research |
| 仅格式化脚注/引注 | legal-citation-comprehensive |
| 仅整理证据材料到模板 | evidence-catalog-generator |
| 仅识别/梳理争议焦点(无已有草稿) | dispute-issue-identification |
| 仅做三段论推理/涵摄分析 | deductive-reasoning |
| 仅编辑 .docx 文件格式 | docx-editing |
| 仅解决法条竞合/规范冲突/证据矛盾 | conflict-resolution |
判定口诀:用户提供了已有文书/草稿且要求"核查/检查/验证"→ 本 skill;用户只是"找/写/格式化/整理"→ 不触发。
多 Skill 协作接力协议(2026-07-17 更新)
加载后立即执行:检查用户请求是否同时需要本 skill 不覆盖的能力。
前置接力(先检索/推理再核查)
如果用户请求包含"检索/查找法条/找案例"且未提供已有材料 → 本 skill 无法凭空核查,必须先由 legal-research 检索:
[Skill接力: legal-research]
接力上下文: 需要先检索相关法条和案例作为核查基准
待办: 检索后回到 legal-fact-checker 进行事实核查
如果用户请求涉及复杂案件但争议焦点未梳理 → 先识别争议焦点:
[Skill接力: dispute-issue-identification]
接力上下文: 需要先梳理案件争议焦点,确定核查重点
待办: 识别完成后回到 legal-fact-checker 进行核查
核查中发现问题的分流
核查过程中发现的问题需要分流到专门的推理 skill 处理:
| 核查中发现 | 接力到 | 说明 |
|---|---|---|
| 推理链存在逻辑谬误(肯定后件/否定前件等) | deductive-reasoning | 由推理 skill 修正后回到核查 |
| 引用了冲突或已失效的法条 | conflict-resolution | 解决规范冲突后回到核查 |
| 多个法条可适用但未做竞合分析 | conflict-resolution | 确定优先适用规范后回到核查 |
后置接力(核查完成后格式化引注)
| 用户请求还包含 | 接力到 | 关键词 |
|---|---|---|
| 规范脚注/引注格式 | legal-citation-comprehensive | 脚注、引注、引用格式、规范引注 |
接力前自检(输出接力标记前强制执行)
□ 接力目标是否正确?(核查发现问题 → deductive/conflict;核查完成 → citation) □ "待办"字段是否附上了核查发现的具体问题清单,让下一个 skill 知道修什么? □ 本 skill 的核心任务(事实核查)是否确实已完成?
执行自检通过后在接力标记前输出确认行:✅ 接力自检通过: 目标正确([skill-name]) | 待办完整 | 本skill任务已完成
接力标记格式
[Skill接力: next-skill-name]
接力上下文:
- 结论: {一句话核心结论}
- 依据: {关键法条/事实/证据,分条列出}
- 置信度: {高/中/低 + 理由}
- 待核验项: {需下一 skill 或人工核实的点;无则填"无"}
待办: {下一个 skill 需要完成的具体任务}
核心原则
一切法律产出必须有事实依据。禁止编纂案例、法规或事实。
本技能在法律相关任务中强制执行三道防线:
- 用户材料锚定——优先核对用户放在任务文件夹里的法规、案例、PDF、网页截图、数据库结果和 Word 文档
- 可用时回源——有北大法宝 MCP 或网页权限时再做回源核验;没有权限时标
[待补: 来源],不得声称已验证 - 无据声明——提交前自检,单独输出无据内容清单
What ships with it
1 file 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.
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.
- 12d ago First seen · 293 lines · 143 tokens per session scan A a17970280616
legal-fact-checker is a skill published in the GitHub repository lawyerllsx-dotcom/Legal-Workflow-Chain (5 stars, last pushed 2d ago), licensed MIT. It adds 143 tokens to every session and 3,943 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-31.
Other skills, from other repositories
tw-legal-rag
A tool for finding real Taiwan court judgments and legal interpretations with verifiable citations before answering questions about Taiwan law.
legal-research
A legal research skill for finding and analysing laws and court cases, including similar cases. It requires access to a reliable legal research database before producing a formal report.
document-fill
A document-filling assistant that uses a supplied template and case files to fill in forms, contracts, or legal documents. It also reports where each filled value came from and which details are missing.
contract-review
A contract-review workflow for agreements governed by Chinese law, United States law, or both. It examines clauses one by one and produces a list of legal-risk questions, with an optional marked-up Word document.
legal-kb-builder
A tool for turning legal documents and other source material into a searchable local knowledge base. It supports sources such as PDF, DOCX, images, Markdown, and question-and-answer sets.
kr-patent-consistency-check
A Korean patent-document checker for comparing a patent specification, drawings, and claims—the sections that describe an invention and define its legal protection.