← Back to Skills Marketplace
harrylabsj

complaint draft

by haidong · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
189
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install complaint-draft
Description
Generate civil complaint document frameworks based on case facts. Use when the user asks about 起诉状、起诉书、怎么起诉、民事起诉、我要起诉、写诉状, or wants to draft a civil complain...
README (SKILL.md)

Complaint Draft

Overview

This skill helps users generate civil complaint document frameworks based on case facts. It structures the complaint according to standard legal document formats, organizing facts, claims, and relief sought.

⚠️ 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 before filing any legal action.

When to Use This Skill

  • Preparing to file a civil lawsuit
  • Organizing case facts into legal format
  • Understanding what information is needed for a complaint
  • Getting a framework to discuss with an attorney

Limitations

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

Workflow

  1. Gather case information — Collect facts about the dispute
  2. Identify parties — Determine plaintiff(s) and defendant(s)
  3. Identify claims — Determine legal basis for lawsuit
  4. Draft framework — Generate complaint structure
  5. Review with counsel — Have an attorney review before filing

Required Information

Parties

  • Plaintiff(s): Your full name, address, contact information
  • Defendant(s): Full name/company name, address (if known)

Case Facts

  • What happened: Chronological description of events
  • When: Dates of key events
  • Where: Location where events occurred
  • Who: People/companies involved

Claims

  • Legal basis: Type of claim (breach of contract, negligence, etc.)
  • Damages: What harm was suffered
  • Relief sought: What you want the court to order

Common Claim Types

Claim Type Description Key Elements
Breach of Contract Failure to fulfill contract terms Contract existed, defendant breached, damages resulted
Negligence Careless conduct causing harm Duty, breach, causation, damages
Unjust Enrichment Unfair benefit at another's expense Benefit conferred, unfair retention
Fraud Intentional deception Misrepresentation, intent, reliance, damages
Property Damage Damage to personal property Ownership, damage, causation, value

Document Structure

Standard Complaint Sections

  1. Caption — Court name, case number (if assigned), party names
  2. Parties — Identification of plaintiff and defendant
  3. Jurisdiction — Why this court can hear the case
  4. Venue — Why this is the proper location
  5. Factual Allegations — Chronological statement of facts
  6. Causes of Action — Legal claims with elements
  7. Prayer for Relief — What you want the court to order
  8. Signature Block — Date and signature

Usage

Basic Request

"帮我写起诉状"
"怎么写民事起诉书"
"起草起诉状框架"

With Context

"合同纠纷起诉状"
"对方欠钱不还怎么起诉"
"房屋买卖纠纷起诉"

Output Format

The skill provides:

  • Structured framework with all standard sections
  • Placeholder text for you to fill in specific details
  • Guidance notes explaining what information goes where
  • Formatting suggestions for court submission

Before Filing Checklist

  • Consulted with an attorney
  • Verified correct court and venue
  • Gathered all supporting evidence
  • Calculated damages accurately
  • Checked statute of limitations
  • Prepared filing fee
  • Made required copies

References

For complaint templates and guidance:

Privacy Note

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

Important Reminders

  • Statute of Limitations: Legal claims have time limits. Consult an attorney promptly.
  • Court Rules: Each court has specific formatting and filing requirements.
  • Service Requirements: Defendants must be properly served with the complaint.
  • Counterclaims: Defendants may file claims against you in response.
Usage Guidance
This skill appears to do what it says: generate complaint templates and guidance. It does not request credentials or install remote code. Before using it: (1) remember the outputs are templates only and not legal advice — consult an attorney before filing; (2) verify any jurisdiction- or court-specific formatting yourself, since templates may not match local rules; (3) note the minor documentation mismatch (a referenced file is missing) — expect small documentation or completeness issues but not malicious behavior; (4) if you plan to run the included Node.js scripts, run them in a safe environment and inspect the full source as you already did (there are no network calls or shell execs visible in the provided code).
Capability Analysis
Type: OpenClaw Skill Name: complaint-draft Version: 1.0.0 The 'complaint-draft' skill is a legitimate tool designed to help users generate structured frameworks for civil legal complaints. The Node.js script (scripts/complaint-drafter.js) and associated templates (references/complaint-templates.md) contain no network activity, file system access, or obfuscated code, and the instructions in SKILL.md are strictly aligned with the stated purpose of document drafting with appropriate legal disclaimers.
Capability Assessment
Purpose & Capability
The name/description match the provided SKILL.md, templates, and a local Node.js script that generates complaint frameworks. No unrelated environment variables, binaries, or cloud credentials are requested.
Instruction Scope
The SKILL.md stays within the stated purpose (gather case facts, produce a template, and disclaim legal advice). Minor inconsistency: SKILL.md references references/civil-procedure-basics.md, but the file manifest only includes references/complaint-templates.md — this appears to be a documentation mismatch (missing reference file) rather than malicious behavior.
Install Mechanism
No install spec is provided (instruction-only skill). There are local JS files, but no download/install from remote locations, package installs, or archive extraction specified.
Credentials
The skill declares no required environment variables, credentials, or config paths. The included scripts likewise show no access to environment secrets or external endpoints in the inspected code.
Persistence & Privilege
always is false and the skill does not request elevated or persistent platform privileges. It does not modify other skills or system configuration.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install complaint-draft
  3. After installation, invoke the skill by name or use /complaint-draft
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release
Metadata
Slug complaint-draft
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is complaint draft?

Generate civil complaint document frameworks based on case facts. Use when the user asks about 起诉状、起诉书、怎么起诉、民事起诉、我要起诉、写诉状, or wants to draft a civil complain... It is an AI Agent Skill for Claude Code / OpenClaw, with 189 downloads so far.

How do I install complaint draft?

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

Is complaint draft free?

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

Which platforms does complaint draft support?

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

Who created complaint draft?

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

💬 Comments