Introduction¶
Following the courts’ promotion of model texts such as element-based complaints and answers, a common workflow for lawyers and legal counsel is: starting with traditional complaints, judgments, or scattered text descriptions, they must manually transcribe information item-by-item into element-based templates. With numerous causes of action and detailed fields, manual transcription is slow and prone to omissions or misplacement.
The community Skill on SkillHub, “Element-based Legal Document One-Click Generation,” offers a solution. The concept is to pass your raw materials to an Agent. The Skill guides the identification of the cause of action, matches the template, and fills in the items automatically, finally outputting an editable Word (.docx) file. This reduces the time spent moving information between tables and main text.
What is this¶
“Element-based Legal Document One-Click Generation” is a SkillHub community Skill located at @user_b8af0005/element-complaint-filler. The current version is 1.4.4, categorized as professional, with a tag indicating requires_api_key=false (no separate API Key configuration required). It is published by user_b8af0005 (the author is listed as Lu Lingyan UMU on the SkillHub page).
One-sentence positioning: Upload traditional complaints, judgments, or text materials to automatically identify the cause of action, match element-based templates, fill in items, and generate element-based civil complaints, private prosecution complaints, applications for compulsory enforcement, and applications for state compensation (.docx) with one click.
Core Features¶
The following capabilities are derived from the official SkillHub introduction and page descriptions, corresponding to the v1.4.4 description.
- Material Input: Supports traditional format civil complaints, judgments, and text materials organized by the user.
- Identification & Matching: Automatically identifies the cause of action and matches the corresponding element-based template based on it.
- Output Format: Generates
.docxfiles, covering types such as element-based complaints (civil complaints), private prosecution complaints, applications for compulsory enforcement, and applications for state compensation. - Built-in Templates (from v1.4): Includes the full set of 67 types of element-based model texts from the Supreme People’s Court (based on Fa [2025] No. 82, promoted nationwide on 2025-07-14), automatically matched by cause of action. Official descriptions state that for the vast majority of causes of action, users do not need to upload templates.
- Custom Templates: If the cause of action is not within the built-in scope, users must prepare and upload the element-based template (
.docx) themselves. - Recommended Model: Officially recommended to use DeepSeek V4 Pro.
SkillHub Statistics (based on crawled data): Rating 100000, Downloads 8451.
Installation and Activation¶
The Skill is based on the universal SKILL.md format. Two methods are provided officially; choose either one.
Method 1: Let the Agent install via SkillHub documentation¶
Send the following prompt to your current AI client (Cursor, Claude Code, etc.), and let the Agent read the installation instructions and complete the installation:
Please install `@user_b8af0005/element-complaint-filler` according to https://skillhub.cn/install/skillhub.md.
Method 2: Use the skillhub CLI¶
If the CLI is not installed on your machine, you can check the version first:
command -v skillhub && skillhub --version
If not installed, follow the SkillHub installation documentation to perform a full installation (including CLI and default Skills):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
When installing this Skill, you must use --dir to point to the current Agent’s skills directory; otherwise, it will default to ./skills/ and may not be loaded by the client. Common path examples:
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
Example installation command (replace <skills directory> with the actual path):
skillhub install @user_b8af0005/element-complaint-filler --dir <skills directory>
After installation, restart or refresh the Agent according to the conventions of your client to enable the Skill.
Typical Usage¶
The official documentation does not provide fixed CLI subcommands; actual usage relies on the Agent triggering the Skill during conversation. The following scenarios and expressions come from the official “Trigger Scenarios” description and can be directly reproduced.
Scenario A: Converting an existing traditional complaint to element-based
- Attach the traditional format civil complaint (or judgment, text summary) to the conversation.
- Clearly state the requirement, for example: “Convert this complaint to an element-based complaint” or “Fill in the element-based table”.
- The Skill identifies the cause of action, matches the built-in or uploaded
.docxtemplate, generates the element-based document, and outputs the.docx.
Scenario B: Filling out an element-based document from scratch
- Provide materials related to the case (contracts, transfer record explanations, judgment key points, etc., as text or documents).
- State the document type, for example: “Generate an element-based application for compulsory enforcement” or “How to fill out an element-based complaint, please generate it based on the materials”.
- Verify that the fields extracted by the Agent (parties, claims, facts and reasons) are consistent with the materials, then save the generated
.docx.
Scenario C: Special cause of action requiring a self-supplied template
- Prepare the element-based template file (
.docx) required by the court or unit. - Upload the template and case materials, stating the cause of action and the type of document to be generated.
- The Skill fills in the content according to the template structure, rather than relying solely on one of the 67 built-in categories.
Through the above steps, the typical deliverable is a Word document filled with element fields, facilitating printing, submission, or secondary modification.
Applicable Scenarios and Notes¶
Who is it for
- Lawyers, legal counsel, and grassroots legal service workers who frequently handle civil cases and need to submit documents according to court element-based tables.
- Teams that need to batch or single-handedly convert traditional complaints in old client archives into element-based formats.
Usage Notes
- Facts and legal judgments must still be reviewed by humans: The Skill performs information extraction and table filling; it does not constitute legal advice. You should verify every item against evidence after generation.
- Template Coverage: v1.4.4 includes 67 types of model texts built-in, allowing automatic matching for most causes of action; for uncovered causes of action, a
.docxtemplate must be prepared. - Model Selection: DeepSeek V4 Pro is officially recommended. Whether other models perform consistently needs to be verified by yourself.
- Privacy and Compliance: Uploading complaints and judgments involves personal information of parties. Please use this in an environment that complies with your law firm’s or unit’s data specifications.
Conclusion¶
“Element-based Legal Document One-Click Generation” consolidates “Identify Cause of Action → Select Template → Fill Table” into the Agent conversation and aligns with the element-based model text system promoted by the Supreme People’s Court (67 templates built-in from v1.4). If your workflow still involves migrating a large volume of traditional documents to element-based formats, you can install this Skill on SkillHub to try it out.
- SkillHub Page: https://www.skillhub.cn/skills/user_b8af0005/element-complaint-filler
- API / Resource Address: https://api.skillhub.cn/user_b8af0005/element-complaint-filler