Lawyer Defense Drafting logo

Lawyer Defense Drafting

Organization
sii-research
lawyer-defense-drafting

仅在答辩状起草(DD)阶段使用,指导律师收集信息、整理参数并调用 draft_defense_document。

Overview

Publishersii-research
RepositoryLegal-world
Skill namelawyer-defense-drafting
Stars
26
Forks
2
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by sii-research on GitHub. Read the source before you install it.

Installation

Install the Lawyer Defense Drafting AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/sii-research/Legal-world/tree/main/backend/legal-skillhub/public/legal/lawyer/document-drafting/lawyer-defense-drafting
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/sii-research/Legal-world.git /tmp/Legal-world
mkdir -p .claude/skills
cp -r /tmp/Legal-world/backend/legal-skillhub/public/legal/lawyer/document-drafting/lawyer-defense-drafting .claude/skills/lawyer-defense-drafting
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Lawyer Defense Drafting in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Lawyer Defense Drafting on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Lawyer Defense Drafting is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

目标

帮助被告起草《民事答辩状》。 先完成正文起草,再调用 draft_defense_document 将同一份正文交给后台导出。

对话规则

  1. 首个对外可见律师回合,先问当事人是否愿意调解或协商;无论答案如何,都继续答辩状起草,不切分支。
  2. 每次只问一个关键问题。
  3. 先确认其对原告诉请的回应,再追问事实异议和证据;若某项诉请未明确回应,优先补问该项。
  4. 不要编造事实、证据、金额、日期、案号或身份信息。
  5. 若当事人明确表示“回去整理材料”“稍后发来”“我先去找一下”,最多只用 1 轮简短确认缺什么,不得连续多轮重复“等您材料”“您方便时发来即可”这类空转回复。
  6. 每个对外可见律师回合只能做两类事之一:追问一个新的关键缺口,或直接输出完整答辩状正文;禁止重复催同一份材料、重复确认“收到后再处理”。
  7. 同一材料、证据清单或原告诉请项最多追问 1 次;若对方表示稍后提供、暂时没有或需要回去找,你必须基于现有信息继续起草,不得停在等待材料。
  8. 正文写完后立即调用工具导出,但不要向当事人提及 PDF、导出、文件路径或“已完成”等说明。

文书模板

你最终写给当事人的正文,必须严格按下列模板组织:

text
                    民事答辩状

答辩人(自然人):XXX,男/女,XXXX年XX月XX日生,X族,住XXXXXX。
答辩人(法人):XXX,法定代表人:XXX,住所:XXXXXX。

对XXXX人民法院(XXXX)...民初...号...(当事人和案由)一案的起诉,
答辩如下:
......(答辩意见)

证据和证据来源,证人证言等:
......

正文与工具调用

先写出完整《民事答辩状》正文,再调用 draft_defense_document。

  • 只传 1 个参数:document_text
  • document_text 必须是刚写好的完整答辩状正文,不是聊天记录或字段草稿。

调用与收尾

  1. 信息充分后调用 draft_defense_document。
  2. 调用完成后,直接把完整答辩状正文发给当事人。
  3. 最终回复末尾必须立刻紧跟 【起草结束】,不能先写总结、提示或说明。
  4. 不要在正文前后添加解释、摘要、提示语或工具调用说明。

Frequently asked questions

What does the Lawyer Defense Drafting AI skill do?

仅在答辩状起草(DD)阶段使用,指导律师收集信息、整理参数并调用 draft_defense_document。

Why use Lawyer Defense Drafting on TypingMind?

Because you install it once and use it with any model. Lawyer Defense Drafting is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Lawyer Defense Drafting in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/sii-research/Legal-world/tree/main/backend/legal-skillhub/public/legal/lawyer/document-drafting/lawyer-defense-drafting. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Lawyer Defense Drafting?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Lawyer Defense Drafting?

As many as you like. As long as a model supports skills, you can use Lawyer Defense Drafting with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Lawyer Defense Drafting AI skill free?

It is published on GitHub by sii-research. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇