Agent skill

Legal Drafting

by open-octo in open-octo/octo-agent

撰写中国大陆常见法律文书——起诉状、答辩状、反诉状、上诉状、再审申请书、强制 执行申请书、代理词、财产保全申请书、商事仲裁申请书、律师函、法律意见书,以及 合同起草的标准结构。Use when 用户说"帮我写一份起诉状""起草一份律师函""写个 委托书""这份合同帮我起草"等需要产出正式法律文书的场景。审查已有合同用 contract-review;查找法律依据用…

MITAuto-check passedLegal & Compliance

Install Legal Drafting

skills CLI
$ npx skills add open-octo/octo-agent --skill legal-drafting -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install open-octo/octo-agent legal-drafting --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/open-octo/octo-agent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/internal/skills/experts/legal-drafting .claude/skills/legal-drafting && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
legal-drafting
GitHub stars
125
Token cost
~1.9k tokens
SKILL.md length
212 words
Files
3
Skills in repo
40
Repo updated
First seen
Licence
MIT

At a glance

撰写中国大陆常见法律文书——起诉状、答辩状、反诉状、上诉状、再审申请书、强制 执行申请书、代理词、财产保全申请书、商事仲裁申请书、律师函、法律意见书,以及 合同起草的标准结构。Use when 用户说"帮我写一份起诉状""起草一份律师函""写个 委托书""这份合同帮我起草"等需要产出正式法律文书的场景。审查已有合同用 contract-review;查找法律依据用…

  • Works in 4 steps: 识别法律关系:双方是否签了合同?→合同关系;有人身/财产损害?→侵权 → 匹配大类:常见大类包括人格权纠纷、婚姻家庭纠纷、合同纠纷(买卖/借款/ → 确定具体案由:优先选最具体的案由,不用笼统案由(例如"借贷纠纷"应写 → …
  • 用户说帮我写一份起诉状起草一份律师函写个 委托书这份合同帮我起草等需要产出正式法律文书的场景。审查已有合同用 contract-review;查找法律依据用 legal-search;构建论证逻辑用 legal-reasoning
  • SKILL.md covers 第一步:确定文书类型, 通用排版规范, 诉讼文书 and 非诉文书, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Legal Drafting is an agent skill from open-octo/octo-agent. 撰写中国大陆常见法律文书——起诉状、答辩状、反诉状、上诉状、再审申请书、强制 执行申请书、代理词、财产保全申请书、商事仲裁申请书、律师函、法律意见书,以及 合同起草的标准结构。Use when 用户说"帮我写一份起诉状""起草一份律师函""写个 委托书""这份合同帮我起草"等需要产出正式法律文书的场景。审查已有合同用 contract-review;查找法律依据用 legal-search;构建论证逻辑用 legal-reasoning。

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `PROVENANCE.md`).

It sits in Legal & Compliance, covering Contract review. The repository describes itself as: Open-source, single-binary, self-hosted AI agent — your models and data stay on your machine. A coding agent on par with Claude Code and a personal assistant lighter than… The licence is MIT.

When your agent uses it

  • 用户说帮我写一份起诉状起草一份律师函写个 委托书这份合同帮我起草等需要产出正式法律文书的场景。审查已有合同用 contract-review;查找法律依据用 legal-search;构建论证逻辑用 legal-reasoning
  • Tasks that involve Contract review

Example prompts

  • “帮我写一份起诉状”
  • “起草一份律师函”
  • “写个 委托书”
  • “/legal-drafting”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. 识别法律关系:双方是否签了合同?→合同关系;有人身/财产损害?→侵权
  2. 匹配大类:常见大类包括人格权纠纷、婚姻家庭纠纷、合同纠纷(买卖/借款/
  3. 确定具体案由:优先选最具体的案由,不用笼统案由(例如"借贷纠纷"应写
  4. 交叉验证:该案由的适用条件是否满足?对方主体是否符合要求?是否有

What it can do on your machine

Read from SKILL.md and the folder at commit bbae80e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Legal Drafting loads about 1.9k tokens when it runs. Until then it costs about 61 tokens; SKILL.md has 212 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~61
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from open-octo/octo-agent at commit bbae80e, republished under its MIT licence (© open-octo). 212 words, ~1,915 tokens.

Download SKILL.mdSave it as .claude/skills/legal-drafting/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
legal-drafting
description
撰写中国大陆常见法律文书——起诉状、答辩状、反诉状、上诉状、再审申请书、强制 执行申请书、代理词、财产保全申请书、商事仲裁申请书、律师函、法律意见书,以及 合同起草的标准结构。Use when 用户说"帮我写一份起诉状""起草一份律师函""写个 委托书""这份合同帮我起草"等需要产出正式法律文书的场景。审查已有合同用 `contract-review`;查找法律依据用 `legal-search`;构建论证逻辑用 `legal-reasoning`。
license
MIT (adapted from lawyerwangbo/legal-assistant-pro; complete terms in LICENSE.txt)
metadata.origin
案由匹配方法论(33类速查)、诉讼阶段与当事人地位对应的文书类型表、 各类文书的结构模板与写作规范、通用排版规范、合同起草16项标准结构, 改编自 lawyerwangbo/legal-assistant-pro(MIT),该项目由中国大陆执业律师 维护,模板贴合中国大陆诉讼与合同实务惯例

撰写一份能直接使用(或稍加核实即可使用)的中国大陆法律文书。产出是草稿,不是 最终定稿——涉及具体金额、管辖法院、法律依据的地方,标注清楚"待核实/待补充", 不要替用户编造具体数字或杜撰不确定的事实。

第一步:确定文书类型

案由匹配(民商事案件)

先确定案由,案由决定了法律关系的定性,进而影响文书怎么写:

  1. 识别法律关系:双方是否签了合同?→合同关系;有人身/财产损害?→侵权 关系;涉及婚姻家庭?→婚姻家庭关系。
  2. 匹配大类:常见大类包括人格权纠纷、婚姻家庭纠纷、合同纠纷(买卖/借款/ 租赁/承揽/建设工程/运输/保管/委托/技术服务等)、侵权责任纠纷(交通事故/ 医疗损害/产品责任/网络侵权等)、物权纠纷、劳动争议、知识产权纠纷、公司相关 纠纷、票据纠纷、保险纠纷等,参照《民事案件案由规定》确认具体归类。
  3. 确定具体案由:优先选最具体的案由,不用笼统案由(例如"借贷纠纷"应写 "民间借贷纠纷"而不是"欠款纠纷"——欠款可能是多种法律关系导致的,不等于 借贷)。
  4. 交叉验证:该案由的适用条件是否满足?对方主体是否符合要求?是否有 专属管辖规定?

合同纠纷/侵权责任竞合时,向用户说明可以择一起诉,并给出各自的利弊而不是替 用户悄悄做决定。

诉讼阶段 + 当事人地位 → 文书类型

先确定案件处于哪个阶段,再结合用户的诉讼地位确定文书类型:

阶段当事人地位文书类型
仲裁申请人商事仲裁申请书
仲裁被申请人仲裁答辩书
一审原告起诉状
一审被告答辩状
一审反诉原告反诉状
一审反诉被告反诉答辩状
二审上诉人上诉状
二审被上诉人上诉答辩状
再审再审申请人再审申请书
再审被申请人再审答辩状
执行申请执行人强制执行申请书
执行被执行人执行异议申请书
保全申请人财产保全申请书
保全被申请人保全异议申请书

不确定阶段或地位时先问用户,不要凭猜测直接开始起草。

通用排版规范

中国大陆法院诉讼文书的通行排版惯例:

  • 标题:宋体加粗二号,居中
  • 正文:仿宋小三号
  • 行距:28磅,段前段后0
  • 首行缩进:2字符

用 write_file 产出 Markdown/文本草稿时,在文末注明这套排版规范,方便用户 拿去 Word 里排版;本技能不直接生成排版好的 .docx 文件。

诉讼文书

起诉状
民事起诉状

原告:[姓名/名称],[性别],[出生日期],[民族],
住所地:[地址]
统一社会信用代码/身份证号:[代码/号码]
法定代表人:[姓名],[职务]
委托诉讼代理人:[姓名],[律所名称]律师

被告:[姓名/名称],[性别],[出生日期],[民族],
住所地:[地址]
统一社会信用代码/身份证号:[代码/号码]

诉讼请求:

一、判令被告[具体请求];
二、判令被告承担本案全部诉讼费用。

(暂计标的额:人民币[金额]元)

事实与理由:

[签约情况] [合同核心条款] [履行情况] [违约事实/争议事实] [催告/协商情况]

综上所述,原告依据《中华人民共和国民法典》第XXX条等相关规定,诉至贵院,望判如所请!

此致
[法院名称]

具状人:[原告名称]
[日期:年 月 日]

诉讼请求写法:

  • 暂计标的额在请求后用括号标注
  • 违约金按"基数→利率→起算→截止→暂计"的顺序表述,例如:"以XX元为基数, 自XXXX年XX月XX日起按全国银行间同业拆借中心公布的一年期贷款市场报价利率 (LPR)的X倍计算至实际清偿之日止,暂计至XXXX年XX月XX日为XX元"(LPR统一 小写)
  • 诉讼费作为独立一项列在最后
  • 给付之诉 > 确认之诉 > 形成之诉,按此优先顺序排列多项请求

事实与理由三段式: ①签约(时间+合同名称+核心条款摘要)②履行("上述合同 签订后,……"+具体履约细节)③违约+催告(违约事实→催告经过→"故诉至贵院, 望判如所请")

注意: 法条引用宜少不宜多;案由提交前需再次确认;管辖法院要同时确认 级别管辖和地域管辖;提醒用户保留证据原件备查。

答辩状
民事答辩状

答辩人(被告):[名称/姓名]
住所地:[地址]
被答辩人(原告):[名称/姓名]
住所地:[地址]

因答辩人与被答辩人[案由]纠纷一案(案号:[案号]),答辩人现提出答辩如下:

答辩意见

不同意被答辩人的全部诉讼请求,望贵院依法驳回。

一、[具体答辩意见1——事实层面]
二、[具体答辩意见2——法律层面]
三、[具体答辩意见3——金额/计算层面]

综上所述,答辩人认为被答辩人的诉讼请求缺乏事实和法律依据,请求贵院依法驳回。

此致
[法院名称]

答辩人:[答辩人名称]
[日期:年 月 日]

答辩意见前置:开篇即表态"不同意全部诉请,望贵院依法驳回",结论先行再 分点论证。

论证策略分三层:事实层面(对原告诉称事实逐一回应:认可/部分认可/否认) →法律层面(法律适用、责任构成、举证责任分配)→金额/计算层面(逐项核对 质疑对方主张的金额)。

不要做的事:❌不附证据清单(证据单独提交)❌不单独列诉讼费(由法院决定) ❌不替对方计算费用 ❌不用"答辩人认为被答辩人之诉请毫无事实与法律依据"这类 空洞套话开头。答辩意见要精准到法条的款、项,不能只笼统说"违反相关法律规定"。

如涉及交通事故案件,额外关注:责任比例力争降低己方比例、依据道路交通事故 司法解释相关规定审查对方保险情况、交强险→商业三者险→侵权人的赔付层级分析、 己方如有损失注意保留另案追偿权利的表述。

反诉状
民事反诉状

反诉原告(本诉被告):[名称/姓名]
反诉被告(本诉原告):[名称/姓名]

反诉请求:
一、判令反诉被告[具体请求];
二、判令反诉被告承担本案反诉部分全部诉讼费用。
(反诉标的额:人民币[金额]元)

事实与理由:
...

此致
[法院名称]

反诉人:[反诉人名称]
[日期:年 月 日]

关键点:当事人标注要写清"反诉原告(本诉被告)"和"反诉被告(本诉原告)"; 标的额在请求后合计标注;损失明细用表格呈现;法条引用少而精。

上诉状
民事上诉状

上诉人(原审×告):[名称/姓名]
被上诉人(原审×告):[名称/姓名]

上诉人因与被上诉人[案由]纠纷一案,不服[法院名称](XXXX)XX民初XX号民事
判决/裁定,现提起上诉。

上诉请求:
一、撤销[法院名称](XXXX)XX民初XX号民事判决第X项;
二、依法改判[具体请求];
三、本案一、二审诉讼费用由被上诉人承担。

上诉理由:
一、一审判决认定事实错误:[具体指出]
二、一审判决适用法律错误:[具体指出]
三、[其他上诉理由]

此致
[二审法院名称]

上诉人:[上诉人名称]
[日期:年 月 日]

公文格式,不用三段式;上诉请求要精确到撤销/改判的具体项;上诉理由按 事实错误→法律错误→程序错误分层论述;提醒用户附一审判决书复印件。

再审申请书
再审申请书

再审申请人(原审×告):[名称/姓名]
被申请人(原审×告):[名称/姓名]

再审申请人因与被申请人[案由]纠纷一案,不服[法院名称](XXXX)XX民初XX号/
[中院](XXXX)XX民终XX号民事判决/裁定,现依法申请再审。

再审请求:
一、撤销[原判决/裁定];
二、依法改判[具体请求]或发回重审。

法定事由:
依据《中华人民共和国民事诉讼法》关于再审事由的规定,[具体说明符合的事由]:
一、有新的证据,足以推翻原判决、裁定的
二、原判决、裁定认定的基本事实缺乏证据证明的
三、原判决、裁定认定事实的主要证据是伪造的
四、原判决、裁定适用法律确有错误的

此致
[法院名称]

再审申请人:[申请人名称]
[日期:年 月 日]

五步法:事由→当事人→请求→论证结构→层次。引用具体再审事由条款前, 用 legal-search 核实现行有效的条文号,法律修订会调整条号。

强制执行申请书
强制执行申请书

申请执行人:[名称/姓名]
被执行人:[名称/姓名]

申请执行人依据已经发生法律效力的[法院名称](XXXX)XX民初XX号民事判决/调解
书,申请强制执行。

执行依据:[法院名称](XXXX)XX民初XX号民事判决/调解书

执行请求:
一、强制被执行人向申请执行人支付人民币[金额]元;
二、强制被执行人加倍支付迟延履行期间的债务利息;
三、强制被执行人承担本案执行费用。

事实与理由:
[法院名称](XXXX)XX民初XX号民事判决/调解书已于XXXX年XX月XX日发生法律
效力,被执行人至今未履行/未完全履行生效法律文书确定的义务,故申请强制执行。

此致
[有管辖权的法院]

申请执行人:[名称]
[日期:年 月 日]
代理词
代理词

审判长、审判员:

[律师事务所名称]接受[当事人名称]的委托,指派[律师姓名]律师担任其诉讼代理人,
现就本案发表如下代理意见:

一、[论点——论据]
依据《中华人民共和国民法典》第XXX条第X款的规定,[论证内容]

二、[论点——论据]
...

综上所述,[总结观点],请求贵院依法予以支持。

此致
[法院名称]

代理人:[律师事务所]
[律师姓名] 律师
[日期:年 月 日]

论证内容可以先用 legal-reasoning 技能把 IRAC 论证搭好,再套进代理词的 格式里,不用重新组织论证逻辑。

财产保全申请书
财产保全申请书

申请人:[名称/姓名]
被申请人:[名称/姓名]

申请事项:
一、请求查封、冻结被申请人名下价值人民币[金额]元的财产;
二、保全费用由被申请人承担。

事实与理由:
[简述案件事实和申请保全的理由]

风险提示:申请人不承担因保全错误给被申请人造成的损失赔偿责任。
担保方式:[现金/保函/房产抵押等]

此致
[法院名称]

申请人:[名称]
[日期:年 月 日]
商事仲裁申请书
商事仲裁申请书

申请人:[名称/姓名]
被申请人:[名称/姓名]

依据申请人与被申请人于XXXX年XX月XX日签订的《[合同名称]》第X条中约定的
仲裁条款/双方于XXXX年XX月XX日达成的仲裁协议,申请人现向[仲裁委员会名称]
申请仲裁。

仲裁申请事项:
一、裁决被申请人[具体请求];
二、裁决被申请人承担本案全部仲裁费用。
(暂计标的额:人民币[金额]元)

事实与理由:
[三段式:签约→履行→违约+申请仲裁]

此致
[仲裁委员会名称]

申请人:[名称]
[日期:年 月 日]

从起诉状改写为仲裁申请书的术语替换表:

诉讼术语仲裁术语
起诉状仲裁申请书
原告/被告申请人/被申请人
诉讼请求仲裁申请事项
此致[法院]此致[仲裁委]
具状人申请人

三段式沿用签约→履行→违约,结尾改为"故申请仲裁,望裁如所请";如有仲裁 条款,在事实段注明。

非诉文书

律师函
律师函

[编号]:[律所简称]函字(XXXX)第XX号

致:[收件人全称]

[律师事务所名称](以下简称"本所")依法接受[委托人全称](以下简称"委托人")
的委托,指派[律师姓名]律师(执业证号:[号码])就[事由]相关事宜,特致函如下:

一、委托声明
本所受委托人委托,就[简述委托事项]之相关法律问题,郑重致函贵方。

二、基本事实
[按时间顺序客观陈述事实经过]

三、法律依据
依据《中华人民共和国民法典》第XXX条[及其他相关法律条文]的规定,[法律分析]

四、要求
基于上述事实和法律,委托人要求贵方:
1. [具体第1项要求,包括金额、期限]
2. [具体第2项要求]

五、后果告知
如贵方在上述期限内未能满足委托人的合理要求,委托人将依法采取[诉讼/仲裁/
其他法律手段]等措施追究贵方的法律责任。

专此函告,望贵方慎重考虑!

[律师事务所名称]
承办律师:[律师姓名]
[日期:年 月 日]

关键点:编号统一用"律所简称+年度+序号"格式;事实按客观时间顺序陈述,不加 主观评论;要求要明确金额和期限;后果告知要具体且合理,不要空泛威胁。

法律意见书
法律意见书

编号:[编号]
致:[委托人名称]

本所受[委托人名称]委托,就[事项名称]出具本法律意见书。

一、出具依据
[列明依据的文件材料清单和法律规范]

二、基本事实
[按时间顺序陈述已确认的基本事实]

三、法律分析
(一)关于[第1个法律问题]
[引用法条] [法律分析]
(二)关于[第2个法律问题]
[引用法条] [法律分析]

四、结论与风险提示
(一)结论
(二)风险提示

五、声明
[标准免责声明]

[律师事务所名称]
承办律师:[律师姓名]
[日期:年 月 日]

适用场景:投融资交易、并购重组、股权激励、合规专项意见等需要正式法律意见 书形式的场合。第三部分"法律分析"的论证结构可以直接套用 legal-reasoning 技能产出的 IRAC 分析。

合同起草

标准结构(16项)
合同名称
(合同编号:[编号])

甲方:[名称] / 统一社会信用代码/身份证号 / 法定代表人 / 住所地 / 联系电话
乙方:[同上]

(鉴于条款——背景说明)

第一条 定义(可选,复杂合同才需要)
第二条 标的/服务内容
第三条 价款与支付
第四条 履行期限与方式
第五条 双方权利义务
第六条 验收标准与方法
第七条 保密义务
第八条 知识产权
第九条 违约责任
第十条 不可抗力
第十一条 争议解决
第十二条 通知与送达
第十三条 其他约定

(以下无正文)

甲方(盖章):法定代表人/授权代表(签字):日期:
乙方(盖章):法定代表人/授权代表(签字):日期:
核心条款起草要点

违约责任:违约金比例一般不超过合同总金额的30%;迟延履行违约金参考 日万分之三至万分之五;建议约定责任上限(如"累计不超过合同总价的XX%"); 考虑增加间接损害排除条款。

争议解决:

  • 诉讼约定示例:"因本合同引起的或与本合同有关的任何争议,双方应友好协商 解决;协商不成的,任何一方均有权向[甲方/乙方]住所地有管辖权的人民法院 提起诉讼"
  • 仲裁约定示例:"……任何一方均有权提交[仲裁委员会名称]按照其仲裁规则进行 仲裁。仲裁裁决是终局的,对双方均有约束力"

保密条款:明确定义保密信息范围;保密期限一般为合同终止后2-3年;列明 例外情形(已公开、独立开发、法律规定披露)。

知识产权:背景IP(合同签订前已有的知识产权)各方保留归属;前景IP (履行中新产生的知识产权)明确归属约定;涉及许可使用另一方IP的,明确 许可范围和条件。

通知与送达:明确送达地址、邮箱、联系人;约定送达生效规则(邮寄后X日 视为送达/邮件发送即视为送达);建议注明双方同意上述地址作为司法文书送达 地址,减少诉讼阶段的送达争议。

审查已有合同(而不是起草新合同)用 contract-review 技能。

文书法条引用策略

不同文书对法条引用的密度要求不同,不要一刀切:

  • 起诉状:宜少不宜多,点出核心请求权基础即可,过多引用反而显得诉求 不聚焦
  • 答辩状/代理词:精准到法条的款、项,越具体越有说服力
  • 反诉状:少而精
  • 法律意见书:完整、系统,先列法条原文再逐项分析

任何具体条文引用前,用 legal-search 核实现行有效版本,不要凭训练知识 里的印象写死条号——法律会修订,条号会变化。

边界

  • 产出的是可编辑草稿,涉及具体的当事人信息、金额、日期、案号的地方留空 给用户填写或标注"待补充",不要杜撰事实性内容。
  • 不做管辖法院/仲裁委的最终确定——给出判断依据,最终以用户提供的信息或 专业律师核实为准。
  • 不生成排版好的 .docx 文件——只产出带排版规范说明的文本/Markdown 草稿。

© open-octo, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files in internal/skills/experts/legal-drafting of open-octo/octo-agent.

  • SKILL.md
  • LICENSE.txt
  • PROVENANCE.md

Open the folder on GitHubat commit bbae80e

Compare with similar skills

Legal Drafting next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Legal Drafting compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Legal Drafting this skillopen-octo/octo-agent125—~1.9kAutomated safety check: PassMIT
Contract Reviewevolsb/claude-legal-skill4641 repos~3.6kAutomated safety check: PassMIT
Commercial Legal Plapiotrowski-afk/commercial-legal-pl1761 repos~4.1kAutomated safety check: PassApache-2.0
Hand Drawnthreerocks/hand-drawn-styles2.2k—~398Automated safety check: PassMIT
Tabular Document Reviewanthropics/claude-for-legal9.6k3 repos~4.3kAutomated safety check: PassApache-2.0
Tw Formal WritingImbad0202/tw-formal-writing179—~1kAutomated safety check: PassMIT

Similar skills

  • Contract Review

    evolsb/claude-legal-skill

    Review legal contracts, NDAs, employment agreements, SaaS terms, and M&A documents.

    464 GitHub starsUsed in 1 repo~3.6k tokens
    Legal & ComplianceAuto-check passed
  • Commercial Legal Pl

    apiotrowski-afk/commercial-legal-pl

    Skill do analizy i tworzenia umów według polskiego prawa, ze szczególnym uwzględnieniem umów B2B, IP i IT (body leasing, NDA, wdrożenia, SaaS, przeniesienie praw autorskich, ugody).

    176 GitHub starsUsed in 1 repo~4.1k tokens
    Legal & ComplianceAuto-check passed
  • Hand Drawn

    threerocks/hand-drawn-styles

    A skill your agent uses when users ask for a hand-drawn or illustrated image prompt, name one of the repository's 20 numbered styles or the 3.1 stable variant, or mention triggers such as…

    2.2k GitHub stars~398 tokensUpdated 2 days ago
    Legal & ComplianceAuto-check passed
  • Tabular Document Review

    anthropics/claude-for-legal

    Official

    Builds a review grid with one row per document and one column per data point, each cell cited to a verbatim quote, built for M&A diligence and other batch reviews.

    9.6k GitHub starsUsed in 3 repos~4.3k tokens
    Legal & ComplianceAuto-check passed
  • Tw Formal Writing

    Imbad0202/tw-formal-writing

    台灣正式文件撰寫助手 — 涵蓋政府公文、政府機關其他文件、法律文件、人民對政府文書四類中文正式文件的撰寫(不含學術論文、商業文書、私人書信等,見下方排除清單)。

    179 GitHub stars~1k tokensUpdated 16 days ago
    Legal & ComplianceAuto-check passed
  • Contract Review Pro

    CSlawyer1985/contract-review-pro

    专业合同审核 Skill:7步工作流(含立场声明、框架审阅、类型路由)、5类通用门禁+16个专项门禁、终稿三件套+HTML可视化报告、8维度风险评分、修订5分类路由。完全自包含,零外部依赖。

    277 GitHub stars~2.3k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed

More from open-octo/octo-agent

All 40 skills in this repo
  • Image Gen

    open-octo/octo-agent

    Acquire images as files — generate them with an AI image model (14 providers: OpenAI/gpt-image, Gemini, Qwen, Zhipu, Volcengine, Stability, FLUX, Ideogram, MiniMax, and more), search openly-licensed…

    125 GitHub stars~3.1k tokensUpdated yesterday
    Auto-check: notes
  • Office XLSX

    open-octo/octo-agent

    Create, read, and edit Excel (.xlsx) spreadsheets programmatically with openpyxl — cell values, formulas, styling (fonts/fills/borders/alignment/number formats), merged cells, multiple sheets…

    125 GitHub stars~1.8k tokensUpdated yesterday
    Auto-check: notes
  • Artifact Design

    open-octo/octo-agent

    Design guidance for any HTML/Markdown file shown in octo's Artifacts panel — reports, dashboards, architecture/system diagrams, generated UIs, slide-style pages, 3D scenes.

    125 GitHub stars~2.7k tokensUpdated yesterday
    Auto-check passed
  • Code Review

    open-octo/octo-agent

    Review local code changes. An agent skill from open-octo/octo-agent.

    125 GitHub stars~942 tokensUpdated yesterday
    Auto-check passed
  • Ppt Master

    open-octo/octo-agent

    AI-driven multi-format SVG content generation system. An agent skill from open-octo/octo-agent.

    125 GitHub stars~23k tokensUpdated yesterday
    Auto-check: warnings
  • Config Setup

    open-octo/octo-agent

    Configure octo's global settings through guided conversation — set up AI model endpoints (providers, API keys, models), adjust agent defaults (reasoning effort, permission mode, coauthor, workspace…

    125 GitHub stars~3.3k tokensUpdated yesterday
    Auto-check passed

Questions about Legal Drafting

What does Legal Drafting do?

撰写中国大陆常见法律文书——起诉状、答辩状、反诉状、上诉状、再审申请书、强制 执行申请书、代理词、财产保全申请书、商事仲裁申请书、律师函、法律意见书,以及 合同起草的标准结构。Use when 用户说"帮我写一份起诉状""起草一份律师函""写个 委托书""这份合同帮我起草"等需要产出正式法律文书的场景。审查已有合同用 contract-review;查找法律依据用…. Legal Drafting is an agent skill from open-octo/octo-agent.

When should I use Legal Drafting?

Legal Drafting fits situations like: 用户说帮我写一份起诉状起草一份律师函写个 委托书这份合同帮我起草等需要产出正式法律文书的场景。审查已有合同用 contract-review;查找法律依据用 legal-search;构建论证逻辑用 legal-reasoning; tasks that involve Contract review.

How do I install Legal Drafting in Claude Code?

Run `npx skills add open-octo/octo-agent --skill legal-drafting -a claude-code`. Or copy the skill folder (internal/skills/experts/legal-drafting in open-octo/octo-agent) into .claude/skills/legal-drafting in your project. Claude Code loads it when a task matches its description.

How do I install Legal Drafting in Codex?

Run `npx skills add open-octo/octo-agent --skill legal-drafting -a codex`. Or copy the skill folder (internal/skills/experts/legal-drafting in open-octo/octo-agent) into .agents/skills/legal-drafting in your project. Codex loads it when a task matches its description.

Can I use Legal Drafting in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add open-octo/octo-agent --skill legal-drafting -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/legal-drafting, .gemini/skills/legal-drafting, .github/skills/legal-drafting and .opencode/skills/legal-drafting in your project.

What does Legal Drafting need to run?

SKILL.md names no scripts, command-line tools or credentials: Legal Drafting is instructions for the agent only.

Does Legal Drafting access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Legal Drafting safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Legal Drafting use?

Legal Drafting is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Legal Drafting use?

About 1.9k tokens (SKILL.md is roughly 7.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Legal Drafting?

Skills that share tags, products or a category with Legal Drafting: Contract Review (evolsb/claude-legal-skill, 464 stars), Commercial Legal Pl (apiotrowski-afk/commercial-legal-pl, 176 stars), Hand Drawn (threerocks/hand-drawn-styles, 2.2k stars) and Tabular Document Review (anthropics/claude-for-legal, 9.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Legal Drafting?

open-octo (a GitHub organization) maintains it in open-octo/octo-agent, which has 125 GitHub stars. The repository holds 40 skills in this directory. The repository was last updated on October 10, 2026.

Source: open-octo/octo-agent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.