Official Document Drafting skill for Codex

CommunitySkillCreativity

A Codex skill for drafting, standardizing, and exporting Chinese official documents and formal reports to Markdown and Word (.docx).

How to install Official Document Drafting in Codex

In Codex, ask the built-in skill installer for it:

$skill-installer install the <skill> skill from https://github.com/zhaohui-yang/official-document-drafting

Type this in Codex and replace <skill> with a folder name from 'What it contains'. $skill-installer is the skill installer built into Codex, and it downloads the skill from GitHub. Restart Codex if the skill doesn't show up. Check the repo README for any setup it needs. Source: Codex skills docs.

Or copy the skill folder (the one with SKILL.md) into ~/.agents/skills to use it in every project, or into .agents/skills in a repo to share it with that repo. Codex picks up new skills automatically. (where Codex loads skills)

New Codex plugins every Tuesday, install line ready to copy.

Stacks Weekly is one short email from GrokStacks and CodexStacks. Subscribe and get the free starter list: 20 Codex plugins worth installing first.

Confirmation email first. Unsubscribe anytime.

What it contains

Skills (9)

  • official-document-drafting — 起草、改写、润色、扩写、压缩、规范并导出中文公文与行政正式文本。Use when the user asks to write, revise, summarize, standardize, or convert…
  • skill — 起草、改写、润色、扩写、压缩、规范并导出中文公文与行政正式文本。Use when the user asks to write, revise, summarize, standardize, or convert…
  • doc-type-routing — 在起草前判定「该用哪个文种、什么行文方向」。Use when 不确定该写通知/报告/请示/函/通报/意见/决定…,或需要判断上行/下行/平行/公开、要不要对方回复。按「行文方向+目的+是否需回应」三维收敛到正确文种,再交给「公文写作」起草。是流程第一步的判定脚手架,不生成正文。
  • document-qa — 对已成稿的中文公文做结构与质量校验。Use when the user wants to check/review/lint a 公文 draft——校验章节是否齐全、标题层级是否跳级或混编、篇幅与标题深度是否匹配、一是/二是 是否被误用为正式标题、文种是否用对、结尾用语是否匹配、有无未经提供的事实。是「检查」而非「起草」。
  • docx-export — 把中文公文 Markdown 成稿导出为符合机关版式的 .docx。Use when the user wants to export/convert a 公文 Markdown draft to Word/.docx, adjust 字体、字号、页边距、行距、页码、标题断行, embed local images as 附件/附图, or inspect the resolved 字体与版式方案. 不负责起草内容,只负责渲染版式。
  • ministry-news-daily — 浏览中央国家部委官网的最新动态,汇总成一份每日《报告》,用于快速了解国家大事与各部委政策要求。Use when the user wants 部委/政府每日动态、政务新闻日报、了解国家大事、各部委最新政策与要求的汇总报告。采集→核实→按「报告」文种成稿,可导出 Word。文体固定为报告。
  • offline-prompt-packager — 把基于 prompts/ 主源的 skill 打包成断网单机可用的离线提示词包。Use when the user wants to export/package offline prompts for disconnected hosts (WebUI、Qwen、AnythingLLM、Claude.ai), generate self-contained system_prompt / user_prompt bundles, or build a per-文种 prompt.
  • policy-keyword-tracker — 围绕一个关键词/主题(如「创新药」「低空经济」「数据要素」)检索各中央国家部委的相关政策、措施与动态,汇总成一份《情况专报》。Use when 用户想跟踪某一主题在各部委的政策口径、做专题政策梳理与研判。采集→核实→按「情况专报」文种成稿,可导出 Word。文体固定为情况专报。
  • skill-build — 从 prompts/ 单一主源生成并校验本项目的 skill 产物。Use when working on 构建/重新生成 SKILL.md、agent 接口、dist 副本、assets/templates/ 模板或离线提示词,校验产物是否与 prompts/ 主源同步(--check / 防漂移),或维护 prompts/ → 产物 的单一信息源构建范式。

About this listing

Official Document Drafting is a community collection of agent skills on GitHub by zhaohui-yang: folders with a SKILL.md file, the format Codex loads skills from. Its README mentions Codex. It passed the CodexStacks quality filter for skills (at least 100 stars, pushed in the last 90 days, not a fork or a list, and at least one SKILL.md with a name and description). OpenAI hasn't reviewed it, but it passed our Codex install check on Oct 25, 2026 (an install and load check, not a code review). From its files we found 9 skills. It's one of 137 listings in the Creativity category (category assigned by CodexStacks from the repo's topics and description).

Official Document Drafting FAQ

How do I install Official Document Drafting in Codex?

In Codex, type $skill-installer install the <skill> skill from https://github.com/zhaohui-yang/official-document-drafting. $skill-installer is the skill installer built into Codex (Codex skills docs). Or copy the skill folder (the one with SKILL.md) into ~/.agents/skills to use it in every project, or into .agents/skills in a repo to share it with that repo. Codex picks up new skills automatically.

Is Official Document Drafting an official Codex skill?

No. Official Document Drafting is a community repo on GitHub by zhaohui-yang. It passed the CodexStacks quality filter, but OpenAI hasn't reviewed it, but it passed our Codex install check on Oct 25, 2026 (an install and load check, not a code review), so read the code before you install it.

What does Official Document Drafting include?

From its manifest and repo files, Official Document Drafting includes 9 skills: official-document-drafting, skill, doc-type-routing, document-qa, docx-export, ministry-news-daily….

Details

Type
Skill
Category
Creativity (assigned by us)
Source
Community
Author
zhaohui-yang
GitHub stars
147 (at last sync)
Last push
2026-08-19
GitHub topics
agents, chinese-writing, document-template, docx-generator, formal-writing, government-documents, markdown-to-docx, official-document, openai-codex
Source
https://github.com/zhaohui-yang/official-document-drafting
Listed via
GitHub search: Codex skills (SKILL.md)
Install check by CodexStacks
Passed on Oct 25, 2026 with Codex CLI 0.163.0: Codex loaded its skills. proof · how we check

Something wrong or missing? Submit or improve this listing. Listings also refresh automatically every night.

For maintainers: badge and embeds

Maintain Official Document Drafting? Add the badge; it links to this page.

Listed on CodexStacks

Markdown

[![Listed on CodexStacks](https://codexstacks.com/badge.svg)](https://codexstacks.com/p/official-document-drafting/)

HTML

<a href="https://codexstacks.com/p/official-document-drafting/"><img src="https://codexstacks.com/badge.svg" alt="Listed on CodexStacks" width="172" height="28"></a>

Embed card (static HTML and inline CSS, no JavaScript). Preview:

<a href="https://codexstacks.com/p/official-document-drafting/" style="display:block;max-width:380px;box-sizing:border-box;padding:14px 16px;border:1px solid #3a2c26;border-radius:12px;background:#0d0b0a;color:#f3ece6;font:14px/1.45 -apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;text-decoration:none"><span style="display:block;font-size:16px;font-weight:700;color:#f3ece6">Official Document Drafting</span><span style="display:block;margin:2px 0 8px;font-size:12px;color:#b5a9a1">Community Codex skill · 9 skills</span><span style="display:block;margin:0 0 10px;color:#ddd3cc">A Codex skill for drafting, standardizing, and exporting Chinese official documents and formal reports to Markdown and…</span><span style="font-size:12px;font-weight:600;color:#ffb347">View on CodexStacks →</span></a>

Markdown summary

**[Official Document Drafting on CodexStacks](https://codexstacks.com/p/official-document-drafting/)**: Community Codex skill with 9 skills.

More on badges, embeds and keeping your listing up to date: CodexStacks for plugin authors.

Also in Creativity

All 137 creativity listings →