← 返回 Skills 市场
tujinsama

法律维权草拟虾

作者 Ricky · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
140
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install legal-rights-drafter-claw
功能描述
法律维权草拟虾。识别违约行为并自动起草维权通知函。当用户提到违约、维权、发函、催告、索赔、侵权、律师函、催款函、警告函、追责等场景时使用。输入可以是自然语言描述或结构化数据(Excel/CSV),输出标准化法律函件(Markdown/PDF/Word)。
使用说明 (SKILL.md)

法律维权草拟虾

识别违约行为,自动起草专业维权函件。目标:违约发生后 5 分钟内产出正式法律函件。

工作流程

1. 提取违约要素

从用户输入中提取:

  • 违约方:公司名称、联系方式、合同编号
  • 违约行为:具体行为、发生时间、金额/损失
  • 合同依据:相关条款编号、约定内容
  • 我方诉求:要求对方采取的行动、赔偿金额

如信息不完整,主动询问缺失的关键字段。

2. 判断违约类型

类型 特征 优先模板
迟延履行 到期未履行,仍可履行 催告函
拒绝履行 明确表示不履行 解除合同通知 + 索赔函
拖欠款项 应付款项逾期未付 催款函
质量瑕疵 履行有缺陷 质量异议函
知识产权侵权 未经授权使用 IP 侵权警告函
保密协议违约 泄露商业秘密 保密协议违约函

3. 匹配法律依据

读取 references/legal-clauses.md,匹配适用条款。常用:

  • 迟延履行/拒绝履行 → 《民法典》第577、578、563条
  • 拖欠款项 → 《民法典》第579条
  • 知识产权 → 《商标法》第57条 / 《著作权法》第52条

4. 生成函件

读取 references/letter-templates.md,选择对应模板,填充以下变量:

{发函方名称}     {受函方名称}     {合同名称}       {合同编号}
{合同签订日期}   {约定履行日期}   {发函日期}       {宽限天数}
{宽限截止日期}   {履行内容}       {欠款金额}       {损失金额}
{违约金金额}     {逾期天数}       {索赔金额}       {YEAR}  {SEQ}

函件编号格式:{YEAR}-{TYPE}-{SEQ},TYPE 参考:CG(催告)、CK(催款)、JC(解除)、QJ(侵权)、ZL(质量)、BM(保密)

5. 输出与转换

默认输出:Markdown 格式,直接在对话中展示完整函件内容。

生成 PDF/Word(用户要求时):

# 先将函件内容保存为 .md 文件
# 然后执行转换
bash scripts/generate-legal-letter.sh --input /tmp/letter.md --format pdf

6. 归档提示

函件生成后,提醒用户:

  • 正式发出前须经法务部门审核
  • 建议通过快递(保留回执)或公证方式送达
  • 保存发函记录,可中断诉讼时效

重要提示

  • 生成的函件仅供参考,正式发出前必须经法务审核
  • 复杂法律关系、跨境纠纷、涉及诉讼/仲裁的案件,建议咨询专业律师
  • 涉及刑事责任的违约行为,需向公安机关报案

参考资源

  • references/legal-clauses.md — 法律条款库(《民法典》等)
  • references/letter-templates.md — 8种函件模板
  • references/case-references.md — 典型案例与败诉教训
  • scripts/generate-legal-letter.sh — Markdown 转 PDF/Word
安全使用建议
This skill appears coherent and focused on drafting legal letters using the provided templates. Before installing or using it: (1) remember generated letters are for reference only — have your law department or a licensed attorney review them before sending; (2) the optional conversion step requires external binaries (pandoc and optionally wkhtmltopdf/weasyprint); install these from trusted package sources and be aware they will read/write files on disk (default OUTPUT_DIR is /tmp/legal-letters); (3) avoid pasting highly sensitive information (full account credentials, privileged secrets) into the input unless you trust the execution environment; (4) if you need the skill to run autonomously, consider whether you want that (the skill is not always-on by default).
功能分析
Type: OpenClaw Skill Name: legal-rights-drafter-claw Version: 1.0.0 The legal-rights-drafter-claw skill bundle is a legitimate tool designed to help users draft legal notices for contract breaches and intellectual property issues. It includes a shell script (scripts/generate-legal-letter.sh) that uses standard document conversion tools like pandoc and wkhtmltopdf to generate PDF/Word outputs from Markdown. The logic is transparent, well-documented, and lacks any indicators of malicious intent, data exfiltration, or unauthorized system access.
能力评估
Purpose & Capability
Name/description match the included templates, clause references, and the conversion script. All required artifacts (templates, legal-clauses, case references) are present and appropriate for producing standardized legal letters.
Instruction Scope
SKILL.md instructions are narrowly scoped to extracting contract facts, selecting templates/clauses, generating Markdown output, and optionally converting to PDF/DOCX. It only reads the bundled reference files and asks the user for missing fields. It does not instruct reading unrelated system files, secrets, or contacting external endpoints.
Install Mechanism
There is no install spec; this is instruction-only with a small helper shell script. The script uses standard local tools (pandoc, wkhtmltopdf, weasyprint) if available — no downloads or external installers are embedded. This is low-risk.
Credentials
The skill declares no required environment variables or credentials. The conversion script optionally respects OUTPUT_DIR (a benign configurable path). There are no requests for keys, tokens, or unrelated service credentials.
Persistence & Privilege
always is false and the skill does not attempt to modify other skills or system-wide agent settings. It creates files under /tmp (or OUTPUT_DIR) when converting, which is expected behavior for output generation.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install legal-rights-drafter-claw
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /legal-rights-drafter-claw 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: 识别违约行为并自动起草维权通知函,支持催告函、催款函、侵权警告函等6种模板
元数据
Slug legal-rights-drafter-claw
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

法律维权草拟虾 是什么?

法律维权草拟虾。识别违约行为并自动起草维权通知函。当用户提到违约、维权、发函、催告、索赔、侵权、律师函、催款函、警告函、追责等场景时使用。输入可以是自然语言描述或结构化数据(Excel/CSV),输出标准化法律函件(Markdown/PDF/Word)。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 140 次。

如何安装 法律维权草拟虾?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install legal-rights-drafter-claw」即可一键安装,无需额外配置。

法律维权草拟虾 是免费的吗?

是的,法律维权草拟虾 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

法律维权草拟虾 支持哪些平台?

法律维权草拟虾 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 法律维权草拟虾?

由 Ricky(@tujinsama)开发并维护,当前版本 v1.0.0。

💬 留言讨论