← Back to Skills Marketplace
official-document-drafting
by
YangZhaohui
· GitHub ↗
· v1.0.0
· MIT-0
131
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install official-document-drafting
Description
起草、改写、润色、扩写、压缩、规范并导出中文公文与行政正式文本。Use when the user asks to write, revise, summarize, standardize, or convert 公文、决议、决定、命令、公告、公报、通告、意见、通知、通报、报告、请示、批复、议案、函、纪要,以及...
Usage Guidance
This skill appears coherent with its stated purpose: it contains templates, guardrails, validation and local export scripts. Before running it note: (1) it will create output files by default under ~/official-document-drafting-output/ and may install fonts into ~/.local/share/fonts/official-document-drafting — review and change these paths if you prefer; (2) scripts/download_fonts.sh will fetch font files from GitHub/CTAN if you opt to download — check font licensing (some recommended fonts like 方正 are commercial and not bundled); (3) do not feed sensitive secrets or classified documents into the tool (SKILL.md repeatedly warns about this); (4) because the package contains executable scripts, inspect the repository locally before running and run commands in a controlled environment if you have concerns. If you need greater assurance, request a provenance check of the GitHub repo (commit history, maintainer identity) or run the scripts in a disposable VM/container.
Capability Analysis
Type: OpenClaw Skill
Name: official-document-drafting
Version: 1.0.0
The bundle is a comprehensive toolset for drafting, formatting, and exporting official Chinese administrative documents. It includes structured templates, font management scripts, and a custom Markdown-to-Docx generator (scripts/generate_docx.py) that builds Word files using standard libraries. While the bundle includes scripts that use curl to download assets (scripts/download_fonts.sh), they target reputable sources like GitHub (notofonts) and CTAN to fetch necessary typography files. The AI instructions in SKILL.md are focused on professional document standards and include strong anti-hallucination guardrails, with no evidence of malicious intent, data exfiltration, or unauthorized execution.
Capability Assessment
Purpose & Capability
The name/description (Chinese公文起草与导出) matches the repository contents: many doc-type prompts, templates, layout/font profiles, validators and docx export scripts. Required binaries (bash, python3, curl) are appropriate for the included scripts and export workflow.
Instruction Scope
SKILL.md gives precise instructions to select a doc type, apply guardrails, produce Markdown and optionally call the included export scripts to produce .docx. The instructions read from the repository's prompt/spec files and may write outputs to a default directory (~/official-document-drafting-output/) and install fonts into the user font directory. There is no instruction to read unrelated system secrets or to transmit data to unknown endpoints, but users should be aware the skill will create files and may read user-supplied material files if provided.
Install Mechanism
This is instruction-only (no automated install spec), but repository includes local scripts. The only network actions are optional font downloads using curl from reputable hosts (GitHub raw content and CTAN). There are no obscure download URLs, URL shorteners, or remote binary installs in the repo.
Credentials
The skill declares no environment variables or credentials and the code does not request secrets. Scripts use HOME for default output and to install fonts under ~/.local/share/fonts/official-document-drafting — this filesystem access is proportional to producing files and installing fonts. No evidence of requesting unrelated cloud or service credentials.
Persistence & Privilege
always:false and user-invocable:true. The skill writes files to user directories and can install fonts (user-level), which is expected for a document-export tool. It does not request permanent platform privileges or modify other skills' configs.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install official-document-drafting - After installation, invoke the skill by name or use
/official-document-drafting - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Official release of the "official-document-drafting" skill for standardized Chinese government and administrative document drafting.
- Supports drafting, revising, expanding, summarizing, and exporting various official Chinese documents with strict fact-checking and anti-hallucination rules.
- Automatically determines the document type, applies official templates, writing rules, format profiles, and ensures correct titles, hierarchy, and formal language.
- Exports Markdown by default and supports export to Word (.docx) with precise formatting, fonts, line spacing, and standard layout.
- Uses placeholders such as [主送单位], [事项名称] when user input is incomplete; never fabricates facts, data, dates, or names.
- Covers law-defined document types (e.g., 公告、请示、批复、通知、通报、报告、函、纪要) and common formal administrative texts (简报、方案、讲话稿等).
- Final documents are always checked for typos, grammar, formatting errors, and compliance with formal standards before output.
Metadata
Frequently Asked Questions
What is official-document-drafting?
起草、改写、润色、扩写、压缩、规范并导出中文公文与行政正式文本。Use when the user asks to write, revise, summarize, standardize, or convert 公文、决议、决定、命令、公告、公报、通告、意见、通知、通报、报告、请示、批复、议案、函、纪要,以及... It is an AI Agent Skill for Claude Code / OpenClaw, with 131 downloads so far.
How do I install official-document-drafting?
Run "/install official-document-drafting" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is official-document-drafting free?
Yes, official-document-drafting is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does official-document-drafting support?
official-document-drafting is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created official-document-drafting?
It is built and maintained by YangZhaohui (@zhaohui-yang); the current version is v1.0.0.
More Skills