Introduction¶
Contracts and official documents often need to satisfy both “clearly defined terms” and “acceptable layouts.” Creating Word documents from scratch involves juggling legal statutes and aligning with official formatting standards, making constant template adjustments a time-consuming process. Using general-purpose LLMs often results in arbitrary structures, lacks actionable .docx files, and struggles to align with existing template libraries or legal databases.
This article introduces the “Contract Assistant” (@user_97989c77/zhiqi-docx, current version v1.0.3), a community Skill available on SkillHub. Triggered via natural language within Agent conversations, it generates Word documents by retrieving from built-in templates and legal knowledge bases. It is designed for drafting and formatting purposes, not to replace lawyers in legal risk reviews.
What is this?¶
“Contract Assistant” is a Skill designed for content-creation, focusing on drafting Chinese contracts and official documents. It is maintained by the community publisher user_97989c77, and the SkillHub page credits the author as “Naoji Tony” (脑机托尼). Its coordinates are @user_97989c77/zhiqi-docx, tagged with requires_api_key=false, meaning installation and usage do not require additional API keys.
In short: describe your contract or document requirements in the conversation, and the Skill will retrieve legal statutes, match Word templates, and output a .docx file following formatting standards.
Official links:
- Skill Resource URL: https://api.skillhub.cn/user_97989c77/zhiqi-docx
- SkillHub Page: https://www.skillhub.cn/skills/user_97989c77/zhiqi-docx
Core Features¶
The following capabilities are derived from the SkillHub description and page details; usage scenarios can be tailored as needed.
Contract Drafting¶
Supports drafting common contract types that are “compliant with Chinese legal requirements.” The official list includes: Lease, Labor, Procurement, Cooperation, Equity, etc. The generation workflow is described as: Retrieve statutes → Match templates → Generate document according to formatting standards.
Party and Government Official Documents¶
Supports the writing of official document types such as Notices, Reports, Requests for Instructions, and Letters. These also follow templates and formatting standards, outputting .docx files.
Built-in Data and Retrieval¶
| Component | Description |
|---|---|
| Word Template Library | 3662+ files; categories include 98-Business Contracts, 99-Labor Contracts |
| Legal Texts | 31 Chinese laws (e.g., Civil Code, Labor Law, Company Law, etc.) |
| Vector Knowledge Base | ZVec, used for retrieval of legal statutes and knowledge |
Conversational Triggers and Assistance¶
The Skill is triggered when users use colloquial phrases related to drafting, official documents, formatting, or data updates (e.g., “write a contract,” “draft one,” “draft a notice,” “write a request,” “review contract format,” “update dataset,” etc. A full list is available in the SkillHub description).
The description also mentions that data-side operations can be triggered via phrases like “Update data / Update dataset / Refresh data / Sync data.” Specific execution steps depend on the SKILL.md within the Skill package and the behavior after installation.
Capabilities Not Provided¶
The official description emphasizes: This Skill does not provide automated contract legal risk review. Generated content must still be reviewed by qualified personnel and cannot be considered legal advice.
Installation and Activation¶
The installation guide provided on the SkillHub page instructs the Agent to install coordinates @user_97989c77/zhiqi-docx following the SkillHub Installation Documentation.
If the SkillHub CLI is already available locally, follow Section 3 of that documentation to install it to the current Agent’s skills directory (must use --dir, otherwise it defaults to ./skills/ and may not be recognized):
command -v skillhub && skillhub --version
If the CLI is not installed, the documentation provides a one-click installation (full package or CLI only):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
Example of installing this Skill (replace <skills directory> with the path for your current environment):
skillhub install user_97989c77/zhiqi-docx --dir <skills directory>
Skills directories for common Agents (excerpted from SkillHub installation documentation):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
Alternatively, you can state directly in the conversation: “Please install @user_97989c77/zhiqi-docx based on https://skillhub.cn/install/skillhub.md,” and the Agent will complete the installation according to the documentation. After installation or update, if the client requires a restart or reloading of skills, follow the instructions for your specific client.
Typical Usage¶
Usage is primarily natural language-based; there is no need to memorize fixed CLI commands. The examples below correspond to officially published trigger phrases and can be used to reproduce conversational intent in Agents like Cursor where this Skill is enabled (specific fields for generation, such as parties, amounts, and deadlines, must be supplemented by you in the conversation).
Draft a Lease Contract
Help me create a lease contract: Lessor is Zhang San, Lessee is Li Si. I will supplement the address, lease term, and rent in my next message.
Labor Service or Labor Contract Type
Write a labor service contract. The parties are a company and an individual. I will specify the position and compensation later.
Procurement or Cooperation Business Contract
Draft a procurement contract. The buyer is our company. The seller and the list of subject matter will be sent separately.
Party and Government Official Documents
Draft a notice regarding the conduct of annual safety inspections, addressed to all units.
Write a request for instructions regarding funding application for purchasing office equipment. Please output a docx following official document formatting standards.
Format Check (Non-legal Review)
Review contract format: I will paste the key points of an existing docx below. Please check the layout and the structure of mandatory clauses according to standards.
Data Update (Maintaining Templates or Legal Databases)
Update dataset
Following the steps above, the Agent should invoke the retrieval and generation workflow defined within the Skill to ultimately deliver a .docx file or explain the file’s save location. If information is insufficient, it should be completed via conversation before generation.
Use Cases and Cautions¶
Who is it for?
- Individuals, administrative, and business personnel who need to quickly obtain Word drafts of contracts or official documents with complete structure and standardized formatting.
- Users already using Skills in environments like Cursor, Claude Code, or Codex who want to consolidate “search template + search statute + output docx” into a single conversational workflow.
Things to Note
- Not a legal risk control product: It does not provide automated legal risk review; important contracts should be reviewed by legal counsel or lawyers before finalization.
- Facts are provided by you: Rent, entity names, rights and obligations, etc., must be stated accurately. The model and Skill will not verify their authenticity for you.
- Community Source: Categorized as community, version v1.0.3. For upgrades, use
skillhubto update according to SkillHub documentation and pay attention to page change logs. - Statistical Information: The SkillHub scraping page shows a rating of 100000 and 3456 downloads (page data is subject to change; refer to SkillHub’s real-time display).
Conclusion¶
“Contract Assistant” connects 3662+ Word templates, 31 legal texts, and ZVec retrieval with Agent conversations. By using “Retrieve statutes + Match templates + Format standards” to generate .docx files, it covers common business contracts and Party/Government official document scenarios. It also clearly defines the boundary between “drafting and formatting” and “legal review.” If you want to generate contract or official document drafts directly using Chinese colloquialisms within an Agent, you can install @user_97989c77/zhiqi-docx from SkillHub: https://www.skillhub.cn/skills/user_97989c77/zhiqi-docx.