← Back to Skills Marketplace
harrylabsj

defense draft

by haidong · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
207
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install defense-draft
Description
Generate civil answer/defense document frameworks in response to complaints. Use when the user asks about 答辩状、答辩书、被告怎么答辩、怎么应诉、收到起诉书、我要答辩, or wants to draft a...
README (SKILL.md)

Defense Draft

Overview

This skill helps users generate civil answer and defense document frameworks in response to complaints. It structures the response according to standard legal document formats, organizing admissions, denials, defenses, and counterclaims.

⚠️ Important Disclaimer: This tool provides document framework assistance only. It does not constitute legal advice, nor does it guarantee any particular legal outcome. Always consult a qualified attorney immediately upon being served with a lawsuit.

When to Use This Skill

  • You have been served with a lawsuit
  • Need to draft an answer to a complaint
  • Want to understand response options
  • Organizing defenses to discuss with an attorney

Critical Timing Warning

⚠️ DEADLINES ARE CRITICAL

  • Failure to respond timely can result in default judgment
  • Default judgment means you lose automatically
  • Typical response deadlines: 20-30 days from service
  • Some courts require shorter responses
  • Consult an attorney immediately to determine your deadline

Limitations

  • Provides framework/template only, not final legal documents
  • Cannot assess defense merits or likelihood of success
  • Does not determine proper jurisdiction or venue challenges
  • Not a substitute for professional legal representation
  • May not comply with specific court formatting requirements

Workflow

  1. Review the complaint — Understand what is being alleged
  2. Note the deadline — Calculate response deadline from service date
  3. Gather information — Collect facts, documents, evidence
  4. Identify defenses — Determine available legal defenses
  5. Draft framework — Generate answer structure
  6. File with court — Submit before deadline (with attorney review)

Response Options

1. Answer (Most Common)

  • Admit or deny each allegation
  • Raise affirmative defenses
  • May include counterclaims

2. Motion to Dismiss

  • Challenge legal sufficiency
  • Raise jurisdictional issues
  • Must be filed before answer

3. Motion for Extension

  • Request more time to respond
  • Should be filed before deadline
  • Not guaranteed to be granted

Standard Defenses

General Denials

  • Deny knowledge or information sufficient to form a belief
  • Put plaintiff to proof of all allegations
  • Preserve right to contest facts

Affirmative Defenses

Defense When Applicable
Statute of Limitations Claim filed too late
Lack of Jurisdiction Wrong court
Failure to State a Claim Legal theory is flawed
Payment Already paid what is owed
Accord and Satisfaction Settled the dispute
Statute of Frauds Contract not in writing as required
Unclean Hands Plaintiff acted improperly
Laches Plaintiff unreasonably delayed

Document Structure

Standard Answer Sections

  1. Caption — Same as complaint
  2. Parties — Identify defendant(s)
  3. Responses to Allegations — Admit/Deny each paragraph
  4. Affirmative Defenses — State legal defenses
  5. Counterclaims (if any) — Claims against plaintiff
  6. Prayer for Relief — What you want the court to order
  7. Signature Block — Date and signature

Usage

Basic Request

"帮我写答辩状"
"收到起诉书怎么答辩"
"怎么写应诉书"

With Context

"对方告我合同违约,怎么答辩"
"起诉书里的金额不对,怎么回应"
"我要反诉对方"

Output Format

The skill provides:

  • Structured framework with all standard sections
  • Response format for addressing each allegation
  • Defense options with explanations
  • Counterclaim guidance if applicable
  • Filing checklist for court submission

Before Responding Checklist

  • Consulted with an attorney immediately
  • Calculated response deadline accurately
  • Reviewed complaint thoroughly
  • Gathered relevant documents
  • Identified potential defenses
  • Verified correct court
  • Prepared filing fee
  • Arranged for service on plaintiff

References

For defense templates and guidance:

Privacy Note

Case information is processed for document drafting only. No data is stored or transmitted to third parties.

Important Reminders

  • DO NOT IGNORE a lawsuit - default judgment is serious
  • Deadline calculation varies by jurisdiction and service method
  • Counterclaims must usually be filed with the answer
  • Cross-claims against co-defendants may be available
  • Third-party claims against others responsible may be possible
Usage Guidance
This skill is internally consistent for drafting answer/defense templates and the included JS is readable and local-only (no network calls or secret access). Before installing: (1) Confirm the skill's source/repository since the registry metadata shows 'unknown' but clawhub.json includes a GitHub URL—use the official repository if you can. (2) Note the missing references/affirmative-defenses.md file referenced in SKILL.md (harmless but may indicate incomplete docs). (3) Do not treat outputs as legal advice—follow the skill's disclaimer and consult a qualified attorney before filing anything. (4) If you intend to provide real case facts, avoid entering highly sensitive information unless you verify the runtime environment won't log or transmit data outside your device. If you want extra assurance, review the full scripts/defense-drafter.js file yourself or have someone you trust audit it for hidden behavior.
Capability Analysis
Type: OpenClaw Skill Name: defense-draft Version: 1.0.0 The 'defense-draft' skill is a legitimate tool designed to help users generate structured legal defense frameworks for civil lawsuits. The logic in 'scripts/defense-drafter.js' is a straightforward template generator with no external dependencies, network calls, or file system access, and the 'SKILL.md' instructions are well-aligned with the stated purpose, including appropriate legal disclaimers.
Capability Assessment
Purpose & Capability
Name/description match the included code and templates: the package provides frameworks for answers, defenses, motions, and counterclaims. There are no unrelated credentials, binaries, or config paths declared that would be inconsistent with a drafting tool.
Instruction Scope
SKILL.md stays on-topic: it instructs how to draft frameworks, warns about deadlines, and disclaims legal advice. It does not instruct reading unrelated system files or exfiltrating data. One minor issue: SKILL.md references references/affirmative-defenses.md but that file is not present in the bundle (only references/defense-templates.md exists).
Install Mechanism
No install spec is provided (instruction-only install), which is lowest-risk. The bundle includes straightforward JS source and tests; there are no download URLs, installers, or extraction steps that would introduce additional execution risk.
Credentials
The skill declares no required environment variables, credentials, or config paths and the code does not access network services or environment secrets. Requested data (case facts, names) is appropriate for the stated purpose.
Persistence & Privilege
The skill does not request permanent presence (always:false) and contains no code that modifies other skills or global agent settings. It does not persist or transmit data according to the code and SKILL.md.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install defense-draft
  3. After installation, invoke the skill by name or use /defense-draft
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release
Metadata
Slug defense-draft
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is defense draft?

Generate civil answer/defense document frameworks in response to complaints. Use when the user asks about 答辩状、答辩书、被告怎么答辩、怎么应诉、收到起诉书、我要答辩, or wants to draft a... It is an AI Agent Skill for Claude Code / OpenClaw, with 207 downloads so far.

How do I install defense draft?

Run "/install defense-draft" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is defense draft free?

Yes, defense draft is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does defense draft support?

defense draft is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created defense draft?

It is built and maintained by haidong (@harrylabsj); the current version is v1.0.0.

💬 Comments