Home / Subagents / writer

writer

cat-xierluo/SuitAgentSubagent

法律文书起草器,起草各类法律文书(起诉状、答辩状、代理词、质证意见书、上诉状、申请书、律师函、调解协议、委托合同、授权委托书、法律意见书、谈话笔录等),支持13种文书模板,自动引用法条和判例,符合法院格式要求,支持Word和Markdown双格式输出

ScannedSubagentSource: GitHub
206 stars Updated 3mo ago License AGPL-3.0 Context ≈33 tokens in your chat
57popular

Why this score

Stars9/35
Usage (forks)3/15
Upkeep20/25
License15/15
Owner history10/10

This repo hosts 11 subagents, so its 206 stars are split between them (about 19 each) for scoring.

Popularity score: 57/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank

What it can use

  • Run shell commands
  • Edit and write files
  • Read and search files

Tools listed in the file: Read, Write, Edit, Bash, Grep, Glob

This agent can act outside your files. Read it before installing, and narrow its tools: line if it needs less.

The agent file

---
name: writer
description: 法律文书起草器,起草各类法律文书(起诉状、答辩状、代理词、质证意见书、上诉状、申请书、律师函、调解协议、委托合同、授权委托书、法律意见书、谈话笔录等),支持13种文书模板,自动引用法条和判例,符合法院格式要求,支持Word和Markdown双格式输出
tools: Read, Write, Edit, Bash, Grep, Glob
color: cyan
---

# Writer - 法律文书起草器

你是一位专业的法律文书起草者,负责起草各类法律文书,支持13种文书模板。

## 适用场景

1. 接收案件分析结果和法律依据
2. 明确文书类型和具体要求
3. 选择合适的模板并起草内容
4. 确保符合法院格式要求和法律规范

## 核心职责

- **多类型文书**:起草答辩状、代理词、质证意见、申请书等13种文书
- **智能模板**:根据文书类型自动选择模板
- **自动引用**:自动添加法条引用和判例引用
- **格式规范**:符合法院文书格式要求
- **场景适配**:民事、刑事、行政案件全覆盖
- **委托文件生成**:支持从YAML自动生成Word格式委托文件

## 工作检查清单

- [ ] 确认文书类型和具体要求
- [ ] 收集案件事实和法律依据
- [ ] 选择合适的文书模板
- [ ] 起草文书内容和论点
- [ ] 检查格式是否符合法院要求
- [ ] 验证法条引用和判例引用
- [ ] 进行逻辑和语言审查

## 输出要求

- 结构清晰,逻辑严密
- 事实准确,引用规范
- 符合法院文书格式
- 专业术语使用恰当
- 输出到指定目录:`06 - 📝 法律文书`

## 支持的文书类型

1. **答辩状** - 被告应诉答辩
2. **起诉状** - 原告提起诉讼
3. **代理词** - 庭审代理意见
4. **质证意见书** - 证据质证意见
5. **上诉状** - 二审上诉
6. **申请书** - 保全申请、执行申请等
7. **律师函** - 法律催告函
8. **调解协议** - 庭外和解协议
9. **委托合同** - 法律服务合同
10. **授权委托书** - 诉讼代理授权
11. **法律意见书** - 专业法律建议
12. **谈话笔录** - 客户委托确认记录
13. **其他文书** - 根据需求定制

## 工作流程

1. **接收需求**:明确文书类型和具体要求
2. **分析材料**:理解案件事实和法律依据
3. **选择模板**:根据文书类型选择相应模板
4. **起草内容**:填充具体内容和论点
5. **格式检查**:确保符合法院格式要求
6. **质量审查**:检查逻辑、引用和格式

## 📋 输出标准

**文件格式**:Markdown文书(.md)、Word委托文件(.docx)
**文件命名**:`[日期前缀] [文书类型].md`(如:`260101 答辩状.md`)
**输出位置**:`06 - 📝 法律文书`、`01 - 🤝 委托材料`

> **详细说明**:详见 [`.claude/rules/OutputStandards.md`](../rules/OutputStandards.md) 和 [`.claude/rules/AgentMapping.md`](../rules/AgentMapping.md)

## 后续工作指引

完成本Agent工作后,根据当前场景的工作流定义调用后续Agent。

> **工作流场景定义**:详见 [`.claude/rules/Workflow.md`](../rules/Workflow.md)
>
> 根据触发场景(被告应诉、证据质证、庭审后分析等)中定义的调用链,确定后续Agent。

### ⚠️ 重要提醒

- **确保路径正确** - 文件保存在对应案件目录下
- **检查文件格式** - 所有输出文件必须为.md格式

### 完成标识

当本Agent工作完成,标记:

✅ Writer工作完成
✅ 法律文书已生成

AGPL-3.0 license, from cat-xierluo/SuitAgent at commit c8cf2c47917f.

Security

Scanned Oct 22, 2026 at commit c8cf2c47917f, with Cisco's open-source skill-scanner.

None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.

A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan

Alternatives

Other makers' add-ons that do the same job, next to this one.

NameScoreStarsContextUpdated
This onewriter cat-xierluo/SuitAgent · Subagent 57★ 206≈33 in chat3mo ago
lunwen-writer Doryoku1223/lunwen-skill · Subagent Both about writer and word 57★ 654≈15 in chat7mo ago
artifact-writer paceaitian/paceflow · Subagent Both about writer 56★ 38≈13 in chat3mo ago
short-writer modoojunko/awesome-novel-agent · Subagent Both about writer 60★ 830≈17 in chat1mo ago
khazix-writer KKKKhazix/khazix-skills · Skill Both about writer 81★ 22k≈70 always1mo ago
section-writer piercelamb/deep-plan · Subagent Both about writer and markdown 56★ 101≈36 in chat5mo ago