Foreword¶
In daily life, we often encounter several types of tasks: wanting to quickly spot obvious risks when signing a contract, hoping to revise terms into more balanced phrasing when the wording is lopsided, needing to roughly calculate compensation, litigation costs, and decide “whether it is worth suing” in labor or civil disputes, or requiring a structured, editable draft of a complaint, defense, or evidence outline first. Without a framework before consulting a lawyer, relying purely on general conversation often leads to missing structures and boundaries. The following introduces the community Skill ai-legal-assistant-pro on SkillHub, which integrates contract screening, clause rewriting, cost and decision assistance, and document framework generation into a reusable Agent capability; it only provides preliminary structured assistance and does not replace the opinions of practicing lawyers.
What is this¶
ai-legal-assistant-pro is a legal assistance Skill designed for Chinese users, based on the general SKILL.md format. It is maintained by the community publisher user_15292d5a and categorized as professional on SkillHub, with a source of community, and current version 1.0.0. The page indicates requires_api_key=false, meaning it does not rely on additional API Key configuration.
Public data on SkillHub (as shown on the page): Rating 100000, Downloads 2991.
Official Access:
- SkillHub Page: https://www.skillhub.cn/skills/user_15292d5a/yjkj-ai-legal-assistant-pro
- Skill Coordinate:
@user_15292d5a/yjkj-ai-legal-assistant-pro
Core Functions¶
The following capabilities are derived from the SkillHub description; details not present in the materials are not expanded upon:
- Initial Contract Risk Screening: Performs preliminary risk identification on contract text to facilitate self-checking for “obvious traps” before signing.
- Clause Rewriting: Generates more balanced rewriting directions or phrasing skeletons for high-risk or unbalanced clauses.
- Labor Dispute & Litigation Cost Estimation: In labor-related dispute scenarios, assists in roughly calculating cost elements such as compensation and litigation fees (this remains an assisted estimate, not a formal legal conclusion).
- Pre-litigation Decision Support: Assists in judging whether it is worth proceeding with litigation based on case elements.
- Structured Document Frameworks: Generates frameworks for Civil Complaints, Defenses, Evidence Outlines, etc., which can be modified, rather than replacing finalized documents.
The Skill explicitly states: It only provides preliminary structured assistance and does not replace formal legal advice from practicing lawyers.
Installation & Activation¶
The SkillHub skill page states: Please install @user_15292d5a/yjkj-ai-legal-assistant-pro according to the SkillHub Installation & Priority Source Configuration.
1. Install SkillHub CLI (if not already installed)¶
First, check if the CLI exists on your machine:
command -v skillhub && skillhub --version
If not installed, the official installation provides a full install (CLI + Default Skill) or CLI-only option:
# Full installation (CLI + Default Skill, recommended)
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
# Install CLI only
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
2. Install this Skill to the current Agent’s skills directory¶
The official documentation requires: During installation, you must use --dir to point to the actual skills directory used by the current Agent; otherwise, it will default to ./skills/, which the Agent may not be able to recognize.
skillhub install @user_15292d5a/yjkj-ai-legal-assistant-pro --dir <skills directory>
Common client skills paths (excerpted from SkillHub installation docs):
| Environment | skills Directory |
|---|---|
| Cursor | ~/.cursor/skills/ |
| Claude Code | ~/.claude/skills/ |
| Codex | ~/.codex/skills/ or .agents/skills/ under the project |
| Windsurf | ~/.codeium/windsurf/skills/ or .windsurf/skills/ under the project |
In Cursor, you can replace <skills directory> with ~/.cursor/skills/. If the Agent does not load the new Skill immediately after installation, restart or reopen the session according to the conventions of your client.
The SkillHub page also provides a guide to “Send prompts to your AI to install this skill”; you can choose either the CLI installation or this method, or use both. Prioritize the method that stably recognizes the skills directory in your current environment.
Typical Usage¶
The public materials do not include fixed prompt templates or end-to-end example commands. Based on the applicable descriptions in the introduction, you can enable this Skill in your conversation and specify your intent according to the task type, for example:
- Contracts: Paste the contract or key clauses to be reviewed, request an initial risk screening, and ask for rewriting of flagged high-risk clauses into more balanced expressions.
- Labor & Cost: Describe the type of dispute and known facts (years of service, wages, termination method, etc.), and request an assisted estimation of labor dispute compensation and litigation costs.
- Whether to Sue: Briefly describe the other party’s behavior, existing evidence, and demands, and request a structured analysis regarding the decision to sue (you must still consult a lawyer yourself).
- Document Frameworks: Explain the cause of action and key points of party information, and request the generation of a modifiable framework for a Civil Complaint, Defense, or Evidence Outline.
The output should be viewed as a draft and checklist; important matters must be reviewed by a licensed lawyer.
Applicable Scenarios & Notes¶
Who is it for
- Individuals and small teams who need to do a first round of contract mine-sweeping before signing, or hope to make clauses less one-sided.
- In labor or general civil disputes, those who want to clarify costs, procedures, and document structure before deciding whether to hire a lawyer.
- Those already working on Agents that support Skills (like Cursor, Claude Code, Codex) and want to converge legal-related sub-tasks into a single Skill.
Limitations & Notes
- Sourced from the community; quality and update frequency depend on the publisher’s maintenance. Major contracts or lawsuits should be based on legal advice.
- Does not provide formal legal advice; estimates and “whether to sue” conclusions are for internal reference only.
- Generated documents are only skeletons and cannot be directly submitted to the court as final text.
- Incorrect installation path is a common pitfall: Ensure
--dirpoints to the current Agent’s skills directory.
Conclusion¶
ai-legal-assistant-pro consolidates initial contract screening, clause balancing, rough calculation of labor and litigation costs, pre-litigation decision support, and the generation of several types of civil document frameworks into a single Skill. It is suitable for the workflow of “structure first, then find someone to review” within the context of Chinese law. For installation and coordinates, please refer to SkillHub:
https://www.skillhub.cn/skills/user_15292d5a/yjkj-ai-legal-assistant-pro