legal-research

legal-research is a skill for Claude Code, Codex from lawyerllsx-dotcom/Legal-Workflow-Chain. It costs 87 tokens per session (4,149 once invoked), scanned A, original, MIT.

A Chinese-language legal research workflow for finding laws, regulations, court cases, compensation standards, and legal grounds.

In plain words
What is it for?
Use it to research labor, contract, personal-injury, family, administrative, criminal, company, and financial legal questions with traceable sources.
Why use it?
It reduces the need to rely on memory when checking whether conduct is lawful or what rules apply to a dispute.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md.

Good fit Use it to research labor, contract, personal-injury, family, administrative, criminal, company, and financial legal questions with traceable sources.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lawyerllsx-dotcom/legal-workflow-chain/legal-research
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 lawyerllsx-dotcom/Legal-Workflow-Chain --skill legal-research
Clone the repo
git clone --depth 1 https://github.com/lawyerllsx-dotcom/Legal-Workflow-Chain

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 legal-research

README.md
[![agentmods](https://agentmods.dev/badge/skills/lawyerllsx-dotcom/legal-workflow-chain/legal-research/github.svg)](https://agentmods.dev/skills/lawyerllsx-dotcom/legal-workflow-chain/legal-research)
Your own site
<a href="https://agentmods.dev/skills/lawyerllsx-dotcom/legal-workflow-chain/legal-research"><img src="https://agentmods.dev/badge/skills/lawyerllsx-dotcom/legal-workflow-chain/legal-research/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 legal-research

Your own site · 80×15
<a href="https://agentmods.dev/skills/lawyerllsx-dotcom/legal-workflow-chain/legal-research"><img src="https://agentmods.dev/badge/skills/lawyerllsx-dotcom/legal-workflow-chain/legal-research.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,149 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.
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.00087 $0.04149
Opus 5 $0.00044 $0.02074
Sonnet 5 $0.00017 $0.00830
Haiku 4.5 $0.00009 $0.00415

Measured 12d ago against content hash 926befc89564, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

legal-research 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.

The scan reads SKILL.md. This mod also ships 3 executable files (use_database_by_api/wolters_auto.py, use_database_by_api/wolters_wrapper.py, use_database_by_api/wolterskluwer_searcher.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/legal-research/SKILL.md · 300 lines

How it starts

The opening of the file, as written. The whole thing — 300 lines — stays where its author put it; the contents beside it link to each section on GitHub.

法律检索助手

核心特色

  • 支持用户身份识别(普通人/法学生/律师/法官检察官)
  • 根据不同身份提供差异化服务
  • 完整法源检索(法律/行政法规/司法解释/指导性案例/典型案例)
  • 法条原文引用与条文互引梳理

核心触发条件(满足任一即触发)

高优先级(必须触发)

  • 明确要求查找法条/法规/司法解释/规范性文件
  • 要求判断合法性/违法性("违法吗""合法吗""有没有责任")
  • 要求查找赔偿标准/补偿金额/责任认定/程序要求
  • 询问"根据什么法律""法律怎么规定""法律依据是什么"

中优先级(结合上下文触发)

  • "怎么办""怎么维权""能不能告"
  • "需要什么手续""要具备什么条件"
  • "还能主张什么""可以去哪里投诉"

适用场景

  • 劳动争议:违法解除、经济补偿、工伤、社保、调岗等
  • 合同纠纷:定金、违约金、违约责任、买卖合同等
  • 侵权责任:交通事故、人身损害、医疗事故、环境污染等
  • 婚姻家庭:离婚财产、子女抚养、房产继承等
  • 行政/刑事/公司金融等

不触发情况(强制排除 —— 满足任一即不触发)

概念解释类(即使涉及法律术语也排除):

  • "什么是X""X是什么意思""X的概念""怎么理解X"——纯概念/名词解释
  • "X和Y有什么区别"——概念辨析
  • 示例:"什么是善意取得?"→ 不触发;"善意取得的法条依据是什么?"→ 触发

其他排除

  • 仅要求推荐律师/法律服务
  • 仅讨论法律新闻/案例故事(不涉及具体法规)
  • 仅询问法律考试/学习问题(不涉及法条检索)
  • 仅询问法律学习方法/法学理论(不要求检索具体法条)

判定原则:用户只想知道"XX是什么意思"而不要求查法条/案例/赔偿标准 → 不触发

与其他 skill 共存时的路由规则(2026-07-17 更新)

本 skill 设计时假设独立运行。当与以下 skill 共存时,触发条件自动收窄:

用户意图 本 skill 应交由
核查已有草稿有没有编造法规/案例/事实 ❌ 不触发 legal-fact-checker
诊断/补全/格式化脚注或引注 ❌ 不触发 legal-citation-comprehensive
整理证据材料并填入证据目录模板 ❌ 不触发 evidence-catalog-generator
保留格式编辑 .docx 文书 ❌ 不触发 docx-editing
提取/识别案件争议焦点 ❌ 不触发 dispute-issue-identification
三段论推理/涵摄分析(已有事实+法条) ❌ 不触发 deductive-reasoning
法条竞合/规范冲突/证据矛盾的解决 ❌ 不触发 conflict-resolution

判断口诀(agent 用):

  • 用户说"检索/查找/找法条/帮我查" → 本 skill
  • 用户说"争议焦点是什么/分析争议" → dispute-issue-identification
  • 用户说"三段论/推理/适用法条到事实" → deductive-reasoning
  • 用户说"哪个法条优先/竞合/冲突/矛盾" → conflict-resolution
  • 用户说"核查/检查/有没有编造/fact check" → legal-fact-checker
  • 用户说"脚注/引注/引用格式/citation" → legal-citation-comprehensive
  • 用户说"证据/证据目录/证据材料" → evidence-catalog-generator
  • 用户说"编辑docx/修改文书格式/保留格式" → docx-editing

注意:本 skill 聚焦"从零检索"。检索完成后若用户还需要推理分析,应接力到 deductive-reasoning。若检索结果存在规范冲突,应接力到 conflict-resolution。

多 Skill 协作接力协议(2026-07-17 更新)

本 skill 完成检索后,必须检查用户请求是否还包含以下任务。若包含,在输出末尾追加接力标记,agent 会据此自动 invoke 下一个 skill。

接力前自检(输出接力标记前强制执行)

□ 接力目标是否在预期链中?(对照 CLAUDE.md 典型工作流链) □ "待办"字段是否包含了已检索到的法条索引,让下一个 skill 无需重复检索? □ 本 skill 的核心任务(检索法条原文)是否确实已完成?

Read the full file on GitHub · 300 lines

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 · 300 lines · 87 tokens per session scan A 926befc89564

Subscribe to this mod's changes

legal-research is a skill published in the GitHub repository lawyerllsx-dotcom/Legal-Workflow-Chain (5 stars, last pushed 2d ago), licensed MIT. It adds 87 tokens to every session and 4,149 once invoked, about $0.0004 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.

Related

Other skills, from other repositories