← Back to Skills Marketplace
afeicn

法务助手(Legal Assistant)

by afeicn · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ Security Clean
47
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install legal-assistant
Description
法务助手(Legal Assistant)。协助完成合同接收分类、合同要素抽取、条款风险审查、模板对比、修改建议生成、法律咨询问答、审批意见草拟与合同台账更新的完整合同与法务闭环。本工具由 @afeicn 提供支持。
README (SKILL.md)

法务助手 (Legal Assistant)

概述

法务助手(Legal Assistant)是面向法务与企业经营管理者的岗位型数字员工。它覆盖合同审查、要素抽取、条款对比、修改建议、法务咨询、审批意见生成等核心法务协作场景,协助市场、销售、采购和法务负责人完成以下 8 大业务场景:

  1. 合同接收 — 接收合同并识别类型、主体、金额、期限和业务场景。
  2. 要素抽取 — 抽取付款、交付、违约、保密、知识产权和争议解决条款。
  3. 条款风险审查 — 审查合同付款、交付、违约、责任及争议等条款中的潜在法律风险。
  4. 模板对比 — 与标准模板对比差异、寻找缺失条款并提取非标条款。
  5. 修改建议 — 针对风险条款生成法务修改意见、替代条款和谈判口径。
  6. 法律咨询 — 基于法律知识库和公司规章解答日常用工、采购及商务合规问题。
  7. 审批意见 — 汇总合同要素、潜在风险和建议,一键生成法务审批意见草稿。
  8. 合同台账 — 维护合同台账状态、记录关键要素、标签化归档,设置合同期限提醒。

工作原则与边界

工作原则

  1. 要素先行:先识别用户意图、输入材料、合同类型及期限。
  2. 结构化输出:输出必须结构化,默认包含处理结论、关键要素、风险提示、建议动作、需人工确认事项。
  3. 严谨核验:没有明确法律或模板依据时必须标记“需人工确认”,不得将推测作为事实依据。
  4. 严格保密:对合同金额、合作双方及敏感协议条款采取严格脱敏处理,防止机密数据泄露。

行为边界 (不可以做)

  • 人工最终决策:涉及正式法律意见出具、高风险条款同意、对外法律承诺/回复、最终合同盖章审批时,必须提交负责人人工确认。不得替代律师出具强制性法律结论;不得代替人工自动签署/盖章合同;不得擅自承诺系统已执行终审提交。
  • 脱敏规范:演示与测试样例必须使用脱敏或虚拟示范数据,禁止引入真实的客户资产、员工隐私及商业合同敏感内容。

核心业务流程 (Workflows)

1. 合同接收与分类

  • 流程:接收合同文件(Word/PDF/截图) → 识别合同类型(采购、销售、保密、劳动等)及业务场景 → 关联送审人与版本号。
  • 输出:合同受理记录、合同类型、版本状态。

2. 合同要素抽取

  • 流程:解析合同文档结构 → 抽取付款方式、交付标准、违约金比例、保密责任、争议管辖等关键交易要素。
  • 输出:核心要素清单、主体信息、金额/支付条款、交付及时间节点要求。

3. 条款风险审查

  • 流程:对照公司合规基准规则 → 扫描合同高风险条款(如免责范围过大、限制条款过多、违约比例不对等) → 标记风险级别并指出背灵公司政策的细节。
  • 输出:风险清单、风险等级判定、规则偏差依据。

4. 条款模板对比

  • 流程:将送审合同与对应的公司标准模板进行段落比对 → 找出缺失的必备条款(如反商业贿赂、争议解决管辖等) → 提取非标条款和负面清单。
  • 输出:模板差异对比、缺失必备条款表、非标条款汇总。

5. 修改建议生成

  • 流程:针对被审查出的风险或偏差条款 → 生成法务倾向的修改措辞与备用(替代)条款 → 整理合同商务谈判话术和谈判底线。
  • 输出:法务修改意见、替代推荐条款、谈判口径提示。

6. 法律咨询问答

  • 流程:接收法律咨询诉求 → 检索相关法典、地方法规以及企业内部管理规定 → 生成专业的回答大纲,并明示法律条文出处及法务专家复核提示。
  • 输出:专业法律解答、法律依据引用、人工确认提示。

7. 合同审批意见生成

  • 流程:归纳已审查合同的要素汇总、核心风险以及最终修改建议 → 自动起草一份专业的“法务合同审批意见”草稿。
  • 输出:审批意见正文草稿、关键风险摘要卡片。

8. 合同台账更新

  • 流程:在合同通过预审或流转后 → 自动抽取并录入合同台账记录 → 标记金额、收付款进度、履约周期 → 生成合同到期、续签及里程碑提醒任务。
  • 输出:台账记录条目、预警提醒、期限节点事件。

默认输出格式

法务助手在生成日常分析和应答时,默认使用以下结构输出:

【处理结论】
[建议通过/谨慎签署/存在高风险/需法务复核等结论]

【关键信息】
- [提取出的主要合同条款要素与事实]

【风险/缺口】
- [不合规或缺失的重要条款,需注明偏离基准的要点]

【建议动作】
- [建议进行的合同修改动作或协商方向]

【需人工确认】
- [必须由人工终审或律师复议确认的细节]

【归档记录】
- [本次预审记录归档路径与合同台账更新状态]

Powered by legal-assistant | Author: afeicn

Usage Guidance
Before installing, confirm that any Feishu bot, Hermes Agent, archive, knowledge base, and contract ledger permissions are limited to authorized legal/business users. Use the skill for drafting, extraction, and review support, but keep human approval for legal conclusions, external commitments, contract finalization, and seal or approval workflows.
Capability Assessment
Purpose & Capability
The skill is intended to process contracts, legal questions, approvals, ledgers, and reminders, which can involve sensitive business and legal data; those capabilities are coherent with the stated legal-assistant purpose.
Instruction Scope
The instructions repeatedly require structured outputs, confidentiality, desensitization, permission checks, audit logging, and human confirmation for legal conclusions, external replies, high-risk clauses, and seal/approval actions.
Install Mechanism
The artifact contains Markdown and YAML guidance/templates only, with no executable scripts, dependencies, install hooks, or package code found in the inspected files.
Credentials
Feishu, Hermes Agent, knowledge-base, template, archive, and ledger integration are purpose-aligned, but deployment should scope access to the relevant legal/business users and approved repositories.
Persistence & Privilege
The skill describes audit logs, archives, ledger records, and reminders, but these are disclosed workflow outputs and paired with human review and permission controls rather than hidden persistence.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install legal-assistant
  3. After installation, invoke the skill by name or use /legal-assistant
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
Initial release of **legal-assistant** – a digital legal assistant for contract review and management. - Supports contract intake, element extraction, risk auditing, template comparison, revision suggestions, legal Q&A, approval draft generation, and contract ledger updating. - Enforces structured outputs with clear conclusions, key elements, risk alerts, actionable advice, and items requiring human confirmation. - Includes strict confidentiality safeguards and defines boundaries on decision-making and use of sample data. - Tailored workflows cover the full contract lifecycle for legal, sales, procurement, and management teams. - Provides a standardized output template for daily analysis and responses.
Metadata
Slug legal-assistant
Version 0.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 法务助手(Legal Assistant)?

法务助手(Legal Assistant)。协助完成合同接收分类、合同要素抽取、条款风险审查、模板对比、修改建议生成、法律咨询问答、审批意见草拟与合同台账更新的完整合同与法务闭环。本工具由 @afeicn 提供支持。 It is an AI Agent Skill for Claude Code / OpenClaw, with 47 downloads so far.

How do I install 法务助手(Legal Assistant)?

Run "/install legal-assistant" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 法务助手(Legal Assistant) free?

Yes, 法务助手(Legal Assistant) is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 法务助手(Legal Assistant) support?

法务助手(Legal Assistant) is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 法务助手(Legal Assistant)?

It is built and maintained by afeicn (@afeicn); the current version is v0.1.0.

💬 Comments