docx-export

docx-export is a skill for Claude Code, Codex from zhaohui-yang/official-document-drafting. It costs 98 tokens per session (1,115 once invoked), scanned A, original, no licence file.

A Word-document exporter for finished Chinese government-document drafts written in Markdown. It applies official page-layout settings and can place local images into attachments or illustrations.

In plain words
What is it for?
Use it to turn a Markdown draft into a formatted .docx file, adjust its layout, or inspect the fonts and formatting plan being used.
Why use it?
It removes the manual work of setting fonts, spacing, margins, page numbers, title breaks, and other Word formatting.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/zhaohui-yang/official-document-drafting/docx-export
Any agent
npx skills add zhaohui-yang/official-document-drafting --skill docx-export
Clone the repo
git clone --depth 1 https://github.com/zhaohui-yang/official-document-drafting

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for docx-export

README.md
[![agentmods](https://agentmods.dev/badge/skills/zhaohui-yang/official-document-drafting/docx-export.svg)](https://agentmods.dev/skills/zhaohui-yang/official-document-drafting/docx-export)
Your own site
<a href="https://agentmods.dev/skills/zhaohui-yang/official-document-drafting/docx-export"><img src="https://agentmods.dev/badge/skills/zhaohui-yang/official-document-drafting/docx-export.svg" alt="Measured on agentmods" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,115 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00098 $0.01115
Opus 5 $0.00049 $0.00558
Sonnet 5 $0.00020 $0.00223
Haiku 4.5 $0.00010 $0.00112

Measured 4d ago against content hash 58a54c3c774b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

docx-export scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/docx-export/SKILL.md · 58 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 58 lines · 98 tokens per session scan A 58a54c3c774b

Subscribe to this mod's changes

docx-export is a skill published in the GitHub repository zhaohui-yang/official-document-drafting (114 stars, last pushed 16d ago), with no licence file. It adds 98 tokens to every session and 1,115 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

ppt-design-skill

Design, generate, review, and revise editable PowerPoint presentations through a rigorous brief-to-PNG workflow using the public pptx-designer Python library.

sunchaokun/PPT-Design-Skill · 35 tokens

html-doc

Generates a polished, static HTML reading view from an existing Markdown PRD or technical design. Use when a user asks to render, present, visualize, or make a PRD or design document easier for humans to read in a browser.

owainlewis/blueprint · 51 tokens

xiaobei-skill-academic-paper-to-ppt

Use for 小北在读研 / XiaoBei academic paper-to-PPT workflows: generate thesis-defense or project-report decks from uploaded papers, literature, reports, technical documents, and optional PPTX visual templates. Produces a source-grounded outline, an imagegen visual scheme, one complete bitmap per slide, an imagegen…

xiao24bei/xiaobei-skill · 101 tokens

xiaobei-skill-rebuild-image-in-powerpoint

Use when a user wants Codex to directly operate PowerPoint and reconstruct an entire reference image as editable PowerPoint objects while preserving its full layout, labels, connectors, and visual relationships. Do not use for paper-to-deck generation or VBA-only output.

xiao24bei/xiaobei-skill · 62 tokens

indian-health-insurance-claim-help

Audit, organize, and create PDF packets for hospitalization-linked Indian health-insurance indemnity reimbursement claims, including day-care and pre/post-hospitalization evidence. Use for claim-document preparation or QA; not for standalone OPD, fixed-benefit claims, eligibility decisions, or promising approval.

DhananjayBhosale/Indian-Health-Insurance-Claim-Help · 66 tokens

bili-note

Extract Bilibili videos and opus/article posts into readable Markdown knowledge notes. Use when the user asks to 提取/提炼/总结/整理 B站 or bilibili video/图文/动态/opus content, save a B站 note to a local knowledge base, include useful comments, handle multi-part videos, fetch B站 AI subtitles, download opus images, or fall back to…

Rimagination/bili-note · 86 tokens