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 workflow-overviewgit 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/workflow-overview)<a href="https://agentmods.dev/skills/lawyerllsx-dotcom/legal-workflow-chain/workflow-overview"><img src="https://agentmods.dev/badge/skills/lawyerllsx-dotcom/legal-workflow-chain/workflow-overview/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/workflow-overview"><img src="https://agentmods.dev/badge/skills/lawyerllsx-dotcom/legal-workflow-chain/workflow-overview.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.00063 | $0.02151 |
| Opus 5 | $0.00032 | $0.01076 |
| Sonnet 5 | $0.00013 | $0.00430 |
| Haiku 4.5 | $0.00006 | $0.00215 |
Grade A, and why
workflow-overview 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 11d 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 — 129 lines — stays where its author put it; the contents beside it link to each section on GitHub.
工作流总览(WorkBuddy 版)
多步法律分析前先读本技能:了解全流程、各环节做什么、按什么顺序。读完后按需加载对应环节的技能按其步骤执行。
工作流全景
复杂案件统一为六环节(2026-08-22 统一命名),每环节对应技能与方法论工具:
| 环节 | 技能 | 输入 | 输出 |
|---|---|---|---|
| 1 接案评估 | 接案评估 | 案件材料、用户需求 | 《案件评估报告》(风险等级/复杂度/decision_mode) |
| 2 争点识别 | dispute-issue-identification | 案件事实 | 争点清单(事实/法律问题、证据缺口、检索问题、优先级) |
| 3 法律检索与依据核验 | legal-research | 检索问题清单 | 已核验依据(来源标签+核验状态+检索日期) |
| 4 推理与冲突处理 | deductive-reasoning / conflict-resolution | 已核验依据 + 事实(带来源状态) | 条件性结论 + 未决问题 |
| 5 事实核查 | legal-fact-checker | 文书草稿/结论 | 核查清单(来源/核验动作/状态/残余风险) |
| 6 引注与文书输出 | legal-citation-comprehensive / docx-editing | 正文草稿 + 已核验来源 | 规范引注、文书草稿(落盘回读校验) |
每环节结束必须输出五字段接力包或终点报告(schema 见下)。
唯一入口与路由优先级(P1-1)
请求进入
↓
1 安全与法域门控(非中国法域标 [非中国法域—本技能不处理];法域未明标 [法域待确认])
↓
2 案件材料/外发门控(案件材料默认不外发;脱敏与授权见 case-pipeline 门控)
↓
3 用户明确要求的任务类型(只影响功能技能选择,不绕过安全门/接案入口/核验门)
↓
4 复杂案件强制接案评估(复杂度三问命中任一即先评估)
↓
5 复杂度分流:简单任务=单技能或浅链;复杂任务=本技能编排六环节
↓
6 case-pipeline 只负责 P/R/E 调度、模型档位、文件落盘与验收,不重新决定法律路径
↓
7 功能技能执行,输出统一接力包
裁剪规则:深链环节可裁剪,但必须用 [Skill接力] 声明裁剪理由(为何到此层为止、跳过哪些环节、残余风险),未声明理由视为违规。用户显式指名功能技能时,安全门、接案评估入口和既定核验门照常执行,仅功能技能选择权归用户。
执行路径(自主规划)
复杂案件(多被告 / 法条竞合 / 争点 ≥3 / 多法律关系叠加):
1 接案评估 → 2 争点识别 → 3 法律检索与依据核验 → 4 推理与冲突处理 → 5 事实核查 → 6 引注与文书输出
- 先走「接案评估」→ 出《案件评估报告》(含复杂度建议)
- 再识别争点 → 检索法条(元典,返回原文+条文号,未详情核验只标候选)
- 推理分析(三段论;遇竞合先裁决)→ 核查事实 → 输出
简单任务:单个技能直接出活,不拆流程。
与 case-pipeline 合并互补(复杂案件必读)
本技能 = 任务链(做什么);case-pipeline = 模型调度(谁来干,P/R/E 三组)。正交嵌套,不二选一。
复杂案件深链六环节照走、顺序不变,但按组调度模型并落 pipeline/ 四文件(00-案件底稿 / 00b-法律依据包 / 01-策略决策书 / 02-文书草稿):
| 深链环节 | 归组 | 模型 | 产物 |
|---|---|---|---|
| 1 接案评估初筛 / 2 争点识别 | P | 便宜 | 00-案件底稿.md |
| 3 法律检索与依据核验 | 主会话 | 便宜 + 元典 | 00b-法律依据包.md |
| 4 推理与冲突处理 / 定性 / 策略 | R | 好模型(GPT 5.6 Sol) | 01-策略决策书.md |
| 5 事实核查 / 6 引注与文书 / docx | E | 便宜 | 02-文书草稿.md(附终审检查表) |
- 切模型纪律(来自 case-pipeline):进入 P/R/E 每组前提醒「本层用 X 模型,请切换确认」,确认后才动手
- 深链纪律(六环节加载清单、五字段、可裁剪)与流水线纪律(每层验收点、终审辅助、落盘契约)并行执行
- 两技能 SKILL.md 完整路径见
legal-skill-locator技能索引表
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.
- 11d ago First seen · 129 lines · 63 tokens per session scan A b75e77131101
workflow-overview is a skill published in the GitHub repository lawyerllsx-dotcom/Legal-Workflow-Chain (5 stars, last pushed yesterday), licensed MIT. It adds 63 tokens to every session and 2,151 once invoked, about $0.0003 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.