legal-drafting SKILL.md skillB
legal-drafting from open-octo/octo-agent is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add open-octo/octo-agent/legal-drafting@git:20260901.1936886Pins git:20260901.1936886 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 16 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- open-octo/octo-agent
- Path
internal/skills/experts/legal-drafting/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260901.1936886, committed Sep 1, 2026
- Size
- 18,601 bytes
- Repository stars
- 142
- License
- MIT
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Skill: legal-drafting 撰写一份能直接使用(或稍加核实即可使用)的中国大陆法律文书。产出是草稿,不是 最终定稿——涉及具体金额、管辖法院、法律依据的地方,标注清楚"待核实/待补充", 不要替用户编造具体数字或杜撰不确定的事实。 ## 第一步:确定文书类型 ### 案由匹配(民商事案件) 先确定案由,案由决定了法律关系的定性,进而影响文书怎么写: 1. **识别法律关系**:双方是否签了合同?→合同关系;有人身/财产损害?→侵权 关系;涉及婚姻家庭?→婚姻家庭关系。 2. **匹配大类**:常见大类包括人格权纠纷、婚姻家庭纠纷、合同纠纷(买卖/借款/ 租赁/承揽/建设工程/运输/保管/委托/技术服务等)、侵权责任纠纷(交通事故/ 医疗损害/产品责任/网络侵权等)、物权纠纷、劳动争议、知识产权纠纷、公司相关 纠纷、票据纠纷、保险纠纷等,参照《民事案件案由规定》确认具体归类。 3. **确定具体案由**:优先选最具体的案由,不用笼统案由(例如"借贷纠纷"应写 "民间借贷纠纷"而不是"欠款纠纷"——欠款可能是多种法律关系导致的,不等于 借贷)。 4. **交叉验证**:该案由的适用条件是否满足?对方主体是否符合要求?是否有 专属管辖规定? 合同纠纷/侵权责任竞合时,向用户说明可以择一起诉,并给出各自的利弊而不是替 用户悄悄做决定。 ### 诉讼阶段 + 当事人地位 → 文书类型 先确定案件处于哪个阶段,再结合用户的诉讼地位确定文书类型: | 阶段 | 当事人地位 | 文书类型 | |---|---|---| | 仲裁 | 申请人 | 商事仲裁申请书 | | 仲裁 | 被申请人 | 仲裁答辩书 | | 一审 | 原告 | 起诉状 | | 一审 | 被告 | 答辩状 | | 一审 | 反诉原告 | 反诉状 | | 一审 | 反诉被告 | 反诉答辩状 | | 二审 | 上诉人 | 上诉状 | | 二审 | 被上诉人 | 上诉答辩状 | | 再审 | 再审申请人 | 再审申请书 | | 再审 | 被申请人 | 再审答辩状 | | 执行 | 申请执行人 | 强制执行申请书 | | 执行 | 被执行人 | 执行异议申请书 | | 保全 | 申请人 | 财产保全申请书 | | 保全 | 被申请人 | 保全异议申请书 | 不确定阶段或地位时先问用户,不要凭猜测直接开始起草。 ## 通用排版规范 中国大陆法院诉讼文书的通行排版惯例: - 标题:宋体加粗二号,居中 - 正文:仿宋小三号 - 行距:28磅,段前段后0 - 首行缩进:2字符 用 `write_file` 产出 Markdown/文本草稿时,在文末注明这套排版规范,方便用户 …
Read the whole file at its exact version.
How to install
mdr add open-octo/octo-agent/legal-drafting@sha256:5853040400b1886bThe line at the top of this page pins the label git:20260901.1936886, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_ix2davfhvwulefkq)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Sep 1, 2026.
Audit of the latest version
- fail: Frontmatter declares a description
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Size between 200 bytes and 200 KB (18601 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
open-octo/octo-agent · 142 stars · license MIT · pushed 2026-11-04 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ix2davfhvwulefkq GET https://markdownregistry.com/api/v1/resolve?ref=open-octo/octo-agent/legal-drafting GET https://markdownregistry.com/api/v1/blob/5853040400b1886bc5effc773daaad90d9d446f0592d75aba8ccc257c0ca1516
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from open-octo/octo-agent
Every file in open-octo/octo-agent