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.

Install it, pinned
mdr add open-octo/octo-agent/legal-drafting@git:20260901.1936886

Pins 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

The exact contents, by fingerprint
mdr add open-octo/octo-agent/legal-drafting@sha256:5853040400b1886b

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ix2davfhvwulefkq.svg)](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.

versioncommittedcommitsizeaudit
git:20260901.1936886 latest2026-09-01 1936886 18,601 BB view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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

CLAUDE.md CLAUDE.md file
open-octo/octo-agent · CLAUDE.md
git:20261014.4ebb825 · audit A · 142 stars
artifact-design SKILL.md skill
open-octo/octo-agent · internal/skills/defaults/artifact-design/SKILL.md · Design guidance for any HTML/Markdown file shown in octo's Artifacts panel — reports, dashboards, architecture/system…
git:20260923.bfb1a61 · audit B · 142 stars
channel-manager SKILL.md skill
open-octo/octo-agent · internal/skills/defaults/channel-manager/SKILL.md · Configure IM platform channels (Feishu, Weixin/WeChat, WeCom, DingTalk, Discord, Telegram) for octo. Guides the user…
git:20260924.b98ea0b · audit B · 142 stars
code-review SKILL.md skill
open-octo/octo-agent · internal/skills/defaults/code-review/SKILL.md · Review local code changes. Uses an isolated sub-agent for unbiased analysis when the main agent wrote the code; reviews…
git:20260920.c947ee9 · audit A · 142 stars
config-setup SKILL.md skill
open-octo/octo-agent · internal/skills/defaults/config-setup/SKILL.md · Configure octo's global settings through guided conversation — set up AI model endpoints (providers, API keys, models)…
git:20260924.b98ea0b · audit B · 142 stars
cron-task-creator SKILL.md skill
open-octo/octo-agent · internal/skills/defaults/cron-task-creator/SKILL.md · Create, inspect, run, edit, enable/disable, and delete octo's scheduled cron tasks — recurring agent prompts stored in…
git:20261012.05c8065 · audit B · 142 stars
deep-research SKILL.md skill
open-octo/octo-agent · internal/skills/defaults/deep-research/SKILL.md
git:20260807.58b8c70 · audit B · 142 stars
expert-agent-manager SKILL.md skill
open-octo/octo-agent · internal/skills/defaults/expert-agent-manager/SKILL.md · Manage octo's agent profiles through conversation — create, modify, delete, list, and bind agents to IM chats by…
git:20260924.b98ea0b · audit A · 142 stars
genui SKILL.md skill
open-octo/octo-agent · internal/skills/defaults/genui/SKILL.md · Render structured, glanceable, interactive UI in the chat instead of plain text — dashboards, stat cards, filterable…
git:20260923.e099c80 · audit A · 142 stars
grill-me SKILL.md skill
open-octo/octo-agent · internal/skills/defaults/grill-me/SKILL.md
git:20260713.070d20e · audit B · 142 stars
image-gen SKILL.md skill
open-octo/octo-agent · internal/skills/defaults/image-gen/SKILL.md · Acquire images as files — generate them with an AI image model (14 providers: OpenAI/gpt-image, Gemini, Qwen, Zhipu…
git:20260907.f18641e · audit A · 142 stars
implement SKILL.md skill
open-octo/octo-agent · internal/skills/defaults/implement/SKILL.md · Implement a technical design by decomposing it into dependency-ordered vertical slices, executing each with TDD…
git:20260711.2cb5a53 · audit A · 142 stars

Every file in open-octo/octo-agent

Other files named legal-drafting

legal-drafting SKILL.md skill
infometa/workbuddyskills · connectors/fazhi-law/skills/legal-drafting/SKILL.md · 本技能用于生成、修改或完善可直接使用的中国法律文书 DOCX 成品,可根据事实、证据、判决书、原文书或案件材料完成文书识别、缺失信息占位、法律依据核验、专业写作和 Word…
git:20261004.0dd7831 · audit A · 426 stars

Browse by kind, by grade B, or by owner.