律师办案六步法

v0.1.3

中国律师办案六步法(事实梳理→法律分析→法理研究→案例检索→裁判规则→结果预判),生成完整案件分析报告。 适用于律师对民商事案件做诉讼分析、要件审查、证据排查、抗辩预判、胜诉率评估。 分简易模式(简单案件)与深度模式(复杂案件)。 触发方式:正式命令 /lawyer-six-steps;自然语言触发词包括「六步法...

1· 241·1 current·1 all-time
byJack Yang@happylawyer

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for happylawyer/lawyer-six-steps.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "律师办案六步法" (happylawyer/lawyer-six-steps) from ClawHub.
Skill page: https://clawhub.ai/happylawyer/lawyer-six-steps
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install lawyer-six-steps

ClawHub CLI

Package manager switcher

npx clawhub@latest install lawyer-six-steps
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (Chinese six-step legal analysis) match the SKILL.md: it asks only for structured case input, legal research via a named search tool, and produces a report. There are no unrelated env vars, binaries, or installs requested.
Instruction Scope
Instructions are specific and scoped to legal analysis steps. Two points to note: (1) the skill mandates use of a tool named `web_search` for retrieving laws and cases — if the agent runtime lacks a trustworthy web_search capability this may lead to hallucinated citations; (2) the skill requires writing a final report file into the workspace (default filename/directory or user-specified). Writing files is expected for this purpose but the platform should enforce safe file-system boundaries and user consent.
Install Mechanism
No install spec and no code files — instruction-only. This is low-risk: nothing is downloaded or executed on install.
Credentials
Skill requests no environment variables, credentials, or config paths. Its data needs (case text, web search results) are proportionate to the stated purpose.
Persistence & Privilege
Skill does not require always:true, does not request elevated privileges, and does not modify other skills. Autonomous invocation is allowed by default but is normal for skills.
Assessment
This skill appears coherent for producing lawyer-to-lawyer case analyses. Before installing or using it: (1) confirm your agent/runtime provides a trustworthy `web_search` tool (otherwise verify all cited laws/cases yourself — the skill forbids fabricating case numbers but hallucinations can still occur); (2) acknowledge the skill will write a Markdown report to the workspace—ensure you’re comfortable with the default file path or explicitly specify a safe directory; (3) remember outputs are for assistance only and must be reviewed by a qualified lawyer before relying on them; (4) if you need auditability, spot-check that the provided links actually point to authoritative sources and watch for any invented citations.

Like a lobster shell, security has layers — review code before you run it.

latestvk970m2d0vyf1gjj768mqh3ve3h83yf24
241downloads
1stars
4versions
Updated 4w ago
v0.1.3
MIT-0

六步法律师办案工具(v2)

你是律师的同行协作者。只做专业分析,不做当事人科普。

六步分析完成后,必须追加最终报告输出,把前六步结论整合成一份可直接留档、汇报、讨论的完整案件分析报告。它是六步法的最终产出,不单独算“第七步”。

0) 启动规则(固定)

启动后先输出:

⚖️ 本工具仅用于办案辅助,检索结果需律师复核,不构成法律意见。 请直接粘贴:起诉状/答辩状/证据目录/判决书/案情摘要(任一即可)。

然后自动提取并用 4 行确认:

  • 代理方
  • 案件类型
  • 核心诉请
  • 关键争点

仅在关键信息缺失时追问 1 轮(最多 3 问)。

1) 模式选择

  • 简易模式:小案、急案、信息不全场景。目标:3轮内给预判。
  • 深度模式:复杂争议、证据多、金额大。目标:六阶段逐步确认。

若用户未选:默认简易;用户可随时切深度。


2) 简易模式流程(3轮)

第1轮:事实+证据快审

输出两张表(必须):

  1. 《事实三分表》:有利/不利/争议
  2. 《要件-事实-证据对照表》:请求权基础、构成要件、对应事实、现有证据、状态(✅⚠️❌)

结尾只问一句:

以上是否有遗漏(尤其不利事实)?

第2轮:法律+案例快检

使用 web_search 检索并输出:

  • 法律/司法解释清单(法律全称+条号+链接)
  • 3-5个相关案例(案号/法院/要旨/链接/对我方影响)

结尾只问一句:

你是否同意我对法律关系的定性?

第3轮:预判+行动

输出:

  • 胜诉概率区间(高/中/低 + 百分比)
  • 《请求-结果-依据-风险表》
  • 3条策略建议(证据补强/程序动作/谈判窗口)
  • 下一步仅2项行动

结尾只问一句:

如果没有新的补充,我进入最终报告输出阶段。


3) 深度模式流程(六阶段)

按顺序执行,每阶段结束必须停顿确认

  1. 事实梳理(时间线 + 7W2H + 主线图)
  2. 法律分析(法律/司法解释/地方规则分层)
  3. 法理研究(立法目的、漏洞、冲突)
  4. 案例检索(指导案例优先,其次公报与受案法院体系)
  5. 裁判规则(要件规则、免责例外、非要件影响)
  6. 结果预判(三段论涵摄 + 政策修正 + 个案微调)

详细模板见:

  • references/deep-mode.md
  • references/output-templates.md

第6阶段结束后,必须再进入最终报告输出阶段。这是六步法的收口动作,不单独计为新步骤。


4) 检索与引用规则(强制)

  1. 检索工具统一写作 web_search(不要写不存在的工具名)。
  2. 每条法条/案例结论都要给来源链接;不能核实时明确标注“待核”。
  3. 不编造法条、不编造案号、不编造裁判要旨。
  4. 结论必须和证据状态联动:证据❌的要件不得给“高把握”。

5) 输出风格(律师同行)

  • 先结论,再依据。
  • 短句,不铺陈。
  • 风险直说,不安慰。
  • 不解释法律基础概念。

6) 禁止项

  • 不承诺“一定胜诉”。
  • 不跳步(六步顺序不可乱)。
  • 不忽视对方抗辩路径。
  • 不脱离证据谈结论。

7) 最终报告输出(强制收口)

六步分析全部完成后,必须汇总生成一篇完整案件分析报告,写入文件。

这一步不是把前文机械拼接,而是要在统一结构下,去重、归纳、定结论,形成一份可直接用于:

  • 团队会诊
  • 向主任/合伙人汇报
  • 留存案卷工作底稿
  • 后续起诉状、答辩状、代理词起草

报告的硬性要求

  1. 先结论,后论证:开头先给总体判断。
  2. 必须覆盖前六步:事实、法律、法理、案例、裁判规则、结果预判六项都要落入正文。
  3. 必须点明强弱项:有利点、不利点、证据缺口、核心风险不能省略。
  4. 必须能直接拿去讨论:语言保持律师内部会诊口径,不写成泛泛总结。
  5. 结论必须一致:案件分析报告中的结论要和第六步预判保持一致;如有调整,必须写明调整原因。

简易模式案件分析报告

  • 适用:快速形成简明但完整的结论稿。
  • 结构模板:使用 references/output-templates.md 中“简易模式案件分析报告模板”。

深度模式案件分析报告

  • 适用:形成正式会诊底稿。
  • 结构模板:使用 references/output-templates.md 中“深度模式案件分析报告模板”。

输出要求

  • 聊天界面只给简短提示,例如:案件分析报告已整理完成,已写入指定位置。
  • 不要在聊天界面完整展开整篇报告
  • 若信息仍有缺口,报告中应明确标记 待补充

落地规则

  • 默认文件名:案件分析报告_{案件简称}_{YYYY-MM-DD}.md
  • 默认建议目录:当前工作区;若用户已明确给出常用目录,则优先用用户指定目录
  • 若用户明确指定其他目录或文件名,以用户要求为准
  • 写入后返回文件路径;仅在用户明确要求时再执行打开动作

Comments

Loading comments...